Skip to main content

Querying XML Data with SPARQL

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 5690))

Abstract

SPARQL is today the standard access language for Semantic Web data. In the recent years XML databases have also acquired industrial importance due to the widespread applicability of XML in the Web. In this paper we present a framework that bridges the heterogeneity gap and creates an interoperable environment where SPARQL queries are used to access XML databases. Our approach assumes that fairly generic mappings between ontology constructs and XML Schema constructs have been automatically derived or manually specified. The mappings are used to automatically translate SPARQL queries to semantically equivalent XQuery queries which are used to access the XML databases. We present the algorithms and the implementation of SPARQL2XQuery framework, which is used for answering SPARQL queries over XML databases.

An extended version of this paper is available at [14].

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Beckett, D. (ed.): SPARQL Query Results XML Format. W3C Recommendation, January, 15, http://www.w3.org/TR/rdf-sparql-XMLres/

  2. Bohring, H., Auer, S.: Mapping XML to OWL Ontologies. In: Leipziger Informatik-Tage 2005, pp. 147–156 (2005)

    Google Scholar 

  3. Pérez, J., Arenas, M., Gutierrez, C.: Semantics and complexity of SPARQL. In: Cruz, I., Decker, S., Allemang, D., Preist, C., Schwabe, D., Mika, P., Uschold, M., Aroyo, L.M. (eds.) ISWC 2006. LNCS, vol. 4273, pp. 30–43. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  4. Rodrigues, T., Rosa, P., Cardoso, J.: Mapping XML to Exiting OWL ontologies. In: International Conference WWW/Internet 2006, Murcia, Spain, October 5-8 (2006)

    Google Scholar 

  5. Farrell, J., Lausenq, H.: Semantic Annotations for WSDL and XML Schema. W3C Recommendation, W3C (August 2007), http://www.w3.org/TR/sawsdl/

  6. Groppe, S., Groppe, J., Linnemann, V., Kukulenz, D., Hoeller, N.: C.-t. Reinke: Embedding SPARQL into XQuery/XSLT. In: SAC 2008, pp. 2271–2278 (2008)

    Google Scholar 

  7. Akhtar, W., Kopecký, J., Krennwallner, T., Polleres, A.: XSPARQL: Traveling between the XML and RDF worlds – and avoiding the XSLT pilgrimage. In: Bechhofer, S., Hauswirth, M., Hoffmann, J., Koubarakis, M. (eds.) ESWC 2008. LNCS, vol. 5021, pp. 432–447. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  8. Droop, M., Flarer, M., et al.: Embedding XPATH Queries into SPARQL Que-ries. In: Proc. of the 10th International Conference on Enterprise Information Systems

    Google Scholar 

  9. Tsinaraki, C., Christodoulakis, S.: Interoperability of XML Schema Applications with OWL Domain Knowledge and Semantic Web Tools. In: Proc. of the ODBASE (2007)

    Google Scholar 

  10. Cruz, I.R., Xiao, H., Hsu, F.: An Ontology-based Framework for XML Seman-tic Integration. In: Database Engineering and Applications Symposium (2004)

    Google Scholar 

  11. Christophides, V., Karvounarakis, G., et al.: The ICS-FORTH SWIM: A Powerful Semantic Web Integration Middleware. In: Proc. of the SWDB 2003, pp. 381–393 (2003)

    Google Scholar 

  12. Amann, B., Beeri, C., Fundulaki, I., Scholl, M.: Querying XML Sources Using an Ontology-Based Mediator. In: CoopIS/DOA/ODBASE 2002, pp. 429–448 (2002)

    Google Scholar 

  13. Bikakis, N., Gioldasis, N., Tsinaraki, C., Christodoulakis, S.: Semantic Based Access over XML Data. In: Proc. of 2nd World Summit on Knowledge Society 2009, WSKS 2009 (2009)

    Google Scholar 

  14. Bikakis, N., Gioldasis, N., Tsinaraki, C., Christodoulakis, S.: The SPARQL2XQuery Framework, http://www.music.tuc.gr/reports/SPARQL2XQUERY.PDF

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bikakis, N., Gioldasis, N., Tsinaraki, C., Christodoulakis, S. (2009). Querying XML Data with SPARQL. In: Bhowmick, S.S., Küng, J., Wagner, R. (eds) Database and Expert Systems Applications. DEXA 2009. Lecture Notes in Computer Science, vol 5690. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-03573-9_32

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-03573-9_32

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-03572-2

  • Online ISBN: 978-3-642-03573-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics