Skip to main content
QUICK REVIEW

[Paper Review] The SPARQL2XQuery Interoperability Framework

Nikos Bikakis, Chrisa Tsinaraki|arXiv (Cornell University)|Nov 3, 2013
Semantic Web and OntologiesComputer Science4 citations
TL;DR

This paper presents a framework that enables seamless interoperability between SPARQL and XQuery by translating SPARQL queries into XQuery, allowing XML-based systems to efficiently access and process RDF data from SPARQL endpoints. The key contribution is a bidirectional mapping mechanism that preserves semantic integrity while enabling cross-technology data integration in the Web of Data.

ABSTRACT

The Web of Data is an open environment consisting of a great number of large inter-linked RDF datasets from various domains. In this environment, organizations and companies adopt the Linked Data practices utilizing Semantic Web (SW) technologies, in order to publish their data and offer SPARQL endpoints (i.e., SPARQL-based search services). On the other hand, the dominant standard for information exchange in the Web today is XML. Additionally, many international standards

Motivation & Objective

  • To address the growing need for interoperability between RDF-based SPARQL endpoints and XML-centric web services.
  • To enable XML-based applications to query and process RDF data published via SPARQL endpoints without requiring native SPARQL support.
  • To design a translation framework that preserves semantic meaning during SPARQL-to-XQuery transformation.
  • To support the integration of heterogeneous data sources across the Semantic Web and traditional XML-based web applications.
  • To provide a standardized, extensible mechanism for querying linked RDF data using XQuery in enterprise and data integration scenarios.

Proposed method

  • Designing a formal mapping between SPARQL algebra operators and equivalent XQuery expressions using XQuery 3.0 constructs.
  • Defining a schema mapping from RDF data models to XML representations, enabling RDF data to be expressed in XML format.
  • Implementing a query rewriting engine that translates SPARQL queries into semantically equivalent XQuery queries over XML-serialized RDF.
  • Using XQuery FLWOR expressions and path expressions to model SPARQL graph pattern matching and optional patterns.
  • Applying optimization techniques to reduce query execution overhead during translation and execution.
  • Validating the framework using real-world SPARQL endpoints and standard XML data processing tools.

Experimental results

Research questions

  • RQ1How can SPARQL queries be semantically preserved when translated into XQuery for XML-based systems?
  • RQ2What are the key challenges in mapping SPARQL algebra operations to equivalent XQuery expressions?
  • RQ3To what extent can the performance of translated XQuery queries match that of native SPARQL execution?
  • RQ4How well does the framework support complex SPARQL features such as OPTIONAL, UNION, and aggregate functions in XQuery?
  • RQ5Can the framework be extended to support diverse RDF data sources and XML data processing pipelines?

Key findings

  • The framework successfully translates a broad range of SPARQL queries into equivalent XQuery expressions with preserved semantics.
  • The translation process supports core SPARQL features including basic graph patterns, optional matches, and basic aggregates.
  • Performance evaluation shows that translated XQuery queries achieve acceptable execution times, especially when optimized using XQuery-specific indexing and query planning.
  • The framework enables existing XML-based applications to consume RDF data from SPARQL endpoints without requiring changes to their data access layer.
  • The schema mapping mechanism effectively represents RDF data in XML format, enabling seamless integration with XML tools and pipelines.
  • The approach demonstrates feasibility and practicality for enterprise-level data integration across Semantic Web and traditional XML-based systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.