Abstract
With currently available tools and languages, translating between an existing XML format and RDF is a tedious and error-prone task. The importance of this problem is acknowledged by the W3C GRDDL working group who faces the issue of extracting RDF data out of existing HTML or XML files, as well as by the Web service community around SAWSDL, who need to perform lowering and lifting between RDF data from a semantic client and XML messages for a Web service. However, at the moment, both these groups rely solely on XSLT transformations between RDF/XML and the respective other XML format at hand. In this paper, we propose a more natural approach for such transformations based on merging XQuery and SPARQL into the novel language XSPARQL.We demonstrate that XSPARQL provides concise and intuitive solutions for mapping between XML and RDF in either direction, addressing both the use cases of GRDDL and SAWSDL. We also provide and describe an initial implementation of an XSPARQL engine, available for user evaluation.
This material is based upon works supported by the European FP6 projects inContext (IST-034718) and TripCom (IST-4-027324-STP), and by Science Foundation Ireland under Grant No. SFI/02/CE1/I131.
Chapter PDF
Similar content being viewed by others
Keywords
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.
References
Akthar, W., Kopecký, J., Krennwallner, T., Polleres, A.: XSPARQL: Traveling between the XML and RDF worlds – and avoiding the XSLT pilgrimage. Technical Report DERI-TR-2007-12-14, DERI Galway (December 2007)
Beckett, D., McBride, B. (eds.): RDF/XML syntax specification (revised). W3C Rec. (February 2004)
Beckett, D.: Turtle - Terse RDF Triple Language (November 2007)
Carroll, J., Stickler, P.: TriX: RDF Triples in XML. Tech. Report HPL-2004-56, HP (May 2004)
Chamberlin, D., Robie, J., Boag, S., Fernández, M.F., Siméon, J., Florescu, D. (eds.): XQuery 1.0: An XML Query Language, W3C Rec. (January 2007)
Clark, K., Feigenbaum, L., Torres, E.: SPARQL Protocol for RDF, W3C Prop. Rec. (November 2007)
Draper, D., Fankhauser, P., Fernández, M., Malhotra, A., Rose, K., Rys, M., Siméon, J., Wadler, P. (eds.): XQuery 1.0 and XPath 2.0 Formal Semantics, W3C Rec. (January 2007)
Droop, M., Flarer, M., Groppe, J., Groppe, S., Linnemann, V., Pinggera, J., Santner, F., Schier, M., Schöpf, F., Staffler, H., Zugal, S.: TranslatingXPath Queries into SPARQLQueries. In: ODBASE 2007 (2007)
Connolly, D. (ed.): Gleaning Resource Descriptions from Dialects of Languages (GRDDL), W3C Rec. (September 2007)
Kay, M. (ed.): XSL Transformations (XSLT) Version 2.0, W3C Recommendation (January 2007)
Euzenat, J., Shvaiko, P.: Ontology matching. Springer, Heidelberg (2007)
Farrell, J., Lausen, H. (eds.): Semantic Annotations for WSDL and XML Schema. W3C Rec. (August 2007)
Groppe, S., Groppe, J., Linneman, V., Kukulenz, D., Hoeller, N., Reinke, C.: Embedding SPARQL into XQuery/XSLT. In: SAC 2008 (March 2008) (to appear)
Kopecký, J., Vitvar, T., Bournez, C., Farrell, J.: SAWSDL: Semantic Annotations for WSDL and XML Schema. IEEE Internet Computing 11(6), 60–67 (2007)
Malhotra, A., Melton, J., Walsh, N. (eds.): XQuery 1.0 and XPath 2.0 Functions and Operators, W3C Rec. (January 2007)
Morbidoni, C., Polleres, A., Tummarello, G., Phuoc, D.L.: Semantic Web Pipes. Technical Report DERI-TR-2007-11-07, DERI Galway (December 2007)
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, Springer, Heidelberg (2006)
Polleres, A.: From SPARQL to Rules (and back). In: Proc. WWW 2007 (May 2007)
Polleres, A., Scharffe, F., Schindlauer, R.: SPARQL++ for mapping between RDF vocabularies. In: ODBASE 2007 (November 2007)
Prud’hommeaux, E., Seaborne, A. (eds.): SPARQL Query Language for RDF, W3C Rec. (January 2008)
Walsh, N.: RDF Twig: Accessing RDF Graphs in XSLT. In: Extreme Markup Languages (2003)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Akhtar, W., Kopecký, J., Krennwallner, T., Polleres, A. (2008). XSPARQL: Traveling between the XML and RDF Worlds – and Avoiding the XSLT Pilgrimage . In: Bechhofer, S., Hauswirth, M., Hoffmann, J., Koubarakis, M. (eds) The Semantic Web: Research and Applications. ESWC 2008. Lecture Notes in Computer Science, vol 5021. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-68234-9_33
Download citation
DOI: https://doi.org/10.1007/978-3-540-68234-9_33
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-68233-2
Online ISBN: 978-3-540-68234-9
eBook Packages: Computer ScienceComputer Science (R0)