XSPARQL: Traveling between the XML and RDF Worlds - and Avoiding the XSLT Pilgrimage

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.

[1]  James Clark,et al.  XSL Transformations (XSLT) Version 1.0 , 1999 .

[2]  Axel Polleres,et al.  From SPARQL to rules (and back) , 2007, WWW '07.

[3]  Axel Polleres,et al.  Semantic Web Pipes , 2007 .

[4]  Marcelo Arenas,et al.  Semantics and complexity of SPARQL , 2006, TODS.

[5]  P ? ? ? ? ? ? ? % ? ? ? ? , 1991 .

[6]  Dean Allemang,et al.  The Semantic Web - ISWC 2006, 5th International Semantic Web Conference, ISWC 2006, Athens, GA, USA, November 5-9, 2006, Proceedings , 2006, SEMWEB.

[7]  Volker Linnemann,et al.  Translating XPath Queries into SPARQL Queries , 2007, OTM Workshops.

[8]  Norman Walsh RDF Twig: accessing RDF graphs in XSLT , 2003, Extreme Markup Languages®.

[9]  Tomas Vitvar,et al.  SAWSDL: Semantic Annotations for WSDL and XML Schema , 2007, IEEE Internet Computing.

[10]  Scott Boag,et al.  XQuery 1.0 : An XML Query Language , 2007 .

[11]  Jeremy J. Carroll,et al.  TriX: RDF Triples in XML , 2004 .

[12]  François Scharffe,et al.  SPARQL++ for Mapping Between RDF Vocabularies , 2007, OTM Conferences.

[13]  Volker Linnemann,et al.  Embedding SPARQL into XQuery/XSLT , 2008, SAC '08.

[14]  Zahir Tari,et al.  On the Move to Meaningful Internet Systems 2007: CoopIS, DOA, ODBASE, GADA, and IS, OTM Confederated International Conferences CoopIS, DOA, ODBASE, GADA, and IS 2007, Vilamoura, Portugal, November 25-30, 2007, Proceedings, Part I , 2007, OTM Conferences.

[15]  Cong Yu,et al.  XQuery 1.0 and XPath 2.0 Full-Text , 2009, Encyclopedia of Database Systems.