XML Querying Using Ontological Information

  • Hans Eric Svensson
  • Artur Wilk
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4187)


The paper addresses the problem of using semantic annotations in XML documents for better querying XML data. We assume that the annotations refer to an ontology defined in OWL (Web Ontology Language). The intention is then to combine syntactic querying techniques on XML documents with OWL ontology reasoning to filter out semantically irrelevant answers. The solution presented in this paper is an extension of the declarative rule-based XML query and transformation language Xcerpt. The extension allows to interface an ontology reasoner from Xcerpt rules. This makes it possible to use Xcerpt to filter extracted XML data using ontological information. Additionally it allows to retrieve ontological information by sending semantic queries to a reasoner. The prototype implementation uses DIG (Description Logic interface) for communication with the OWL reasoner RacerPro where the ontology queries are answered.


Description Logic Query Term Data Term Semantic Annotation Ontology Reasoner 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    OWL Web Ontology Language Overview, W3C Recommendation (February 2004),
  2. 2.
    Antoniou, G., van Harmelen, F.: A Semantic Web Primer. The MIT Press, Cambridge (2004)Google Scholar
  3. 3.
    Bechhofer, S.: The DIG Description Logic Interface: DIG/1.1. In: Proceedings of DL2003 Workshop, Rome (2003)Google Scholar
  4. 4.
    W3 Consortium. XQuery 1.0: An XML Query Language,
  5. 5.
    Donini, F., Lenzerini, M., Nardi, D., Schaerf, A.: Al-log: integrating datalog and description logics. J. of Intelligent and Cooperative Information Systems 10, 227–252 (1998)CrossRefGoogle Scholar
  6. 6.
    Eiter, T., Lukasiewicz, T., Schindlauer, R., Tompits, H.: Combining answer set programming with description logics for the semantic web. In: International Conference of Knowledge Representation and Reasoning (2004)Google Scholar
  7. 7.
    Levy, A.Y., Rousset, M.-C.: CARIN: A Representation Language Combining Horn Rules and Description Logics. In: European Conference on Artificial Intelligence, pp. 323–327 (1996)Google Scholar
  8. 8.
    Rosati, R.: Semantic and computational advantages of the safe integration of ontologies and rules. In: Fages, F., Soliman, S. (eds.) PPSWR 2005. LNCS, vol. 3703, pp. 50–64. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  9. 9.
    Schaffert, S.: Xcerpt: A Rule-Based Query and Transformation Language for the Web. PhD thesis, University of Munich, Germany (2004)Google Scholar
  10. 10.
    Schaffert, S., Bry, F.: Querying the Web Reconsidered: A Practical Introduction to Xcerpt. In: Proceedings of Extreme Markup Languages 2004, Montreal, Quebec, Canada, August 2–6 (2004)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Hans Eric Svensson
    • 1
  • Artur Wilk
    • 1
  1. 1.Dept. of Computer and Information ScienceLinköping UniversityLinköpingSweden

Personalised recommendations