DocumentCode
1787469
Title
Computing Recursive SPARQL Queries
Author
Atzori, Manfredo
Author_Institution
Dept. of Math. & Comput. Sci., Univ. of Cagliari, Cagliari, Italy
fYear
2014
fDate
16-18 June 2014
Firstpage
258
Lastpage
259
Abstract
We present a simple approach to handle recursive SPARQL queries, that is, nested queries that may contain references to the query itself. This powerful feature is obtained by implementing a custom SPARQL function that takes a SPARQL query as a parameter and executes it over a specified endpoint. The behaviour is similar to the SPARQL 1.1 SERVICE clause, with a few fundamental differences: (1) the query passed as argument can be arbitrarily complex, (2) being a string, the query can be created at runtime in the calling (outer) query, and (3) it can reference to itself, enabling recursion. These features transform the SPARQL language into a Turing-equivalent one without introducing special constructs or needing another interpreter implemented on the endpoint server engine. The feature is implemented using the standard Estensible Value Testing described in the recommendations since 1.0, therefore, our proposal is standard compliant and also compatible with older endpoints not supporting 1.1 Specifications, where it can be also a replacement for the missing SERVICE clause.
Keywords
SQL; query processing; SPARQL 1.1 SERVICE clause; SPARQL function; SPARQL query parameter; Turing-equivalent language; extensible value testing; recursive SPARQL query handling; Conferences; Engines; Resource description framework; Semantics; Servers; Standards; Language Expressivity; Recursive Functions; SPARQL Query Language; Semantic Web;
fLanguage
English
Publisher
ieee
Conference_Titel
Semantic Computing (ICSC), 2014 IEEE International Conference on
Conference_Location
Newport Beach, CA
Print_ISBN
978-1-4799-4002-8
Type
conf
DOI
10.1109/ICSC.2014.54
Filename
6882036
Link To Document