Towards a Semantics-based Framework for KD- and IR-style Resource Querying on XML-based P2P Information Systems