CONSTRUCT queries in SPARQL

SPARQL has become the most popular language for querying RDF datasets, the standard data model for representing information in the Web. This query language has received a good deal of attention in the last few years: two versions of W3C standards have been issued, several SPARQL query engines have b...

Full description

Bibliographic Details
Main Authors: Kostylev, E, Reutter, J, Ugarte, M
Format: Conference item
Published: 2015
_version_ 1826258605069828096
author Kostylev, E
Reutter, J
Ugarte, M
author_facet Kostylev, E
Reutter, J
Ugarte, M
author_sort Kostylev, E
collection OXFORD
description SPARQL has become the most popular language for querying RDF datasets, the standard data model for representing information in the Web. This query language has received a good deal of attention in the last few years: two versions of W3C standards have been issued, several SPARQL query engines have been deployed, and important theoretical foundations have been laid. However, many fundamental aspects of SPARQL queries are not yet fully understood. To this end, it is crucial to understand the correspondence between SPARQL and well-developed frameworks like relational algebra or first order logic. But one of the main obstacles on the way to such understanding is the fact that the well-studied fragments of SPARQL do not produce RDF as output. In this paper we embarrk on the study of SPARQL CONSTRUCT queries, that is, queries which output RDF graphs. This class of queries takes rightful place in the standards and implementations, but contrary to SELECT queries, it has not yet attracted a worth-while theoretical research. Under this framework we are able to establish a strong connection between SPARQL and well-known logical and database formalisms. In particular, the fragment which does not allow for blank nodes in output templates corresponds to first order queries, its well-designed sub-fragment corresponds to positive first order queries, and the general language can be restated as a data exchange setting. These correspondences allow us to conclude that the general language is not composable, but the aforementioned blank-free fragments are. Finally, we enrich SPARQL with a recursion operator and establish fundamental properties of this extension.
first_indexed 2024-03-06T18:36:36Z
format Conference item
id oxford-uuid:0b752de0-362b-4399-8607-6b91a10c8d7f
institution University of Oxford
last_indexed 2024-03-06T18:36:36Z
publishDate 2015
record_format dspace
spelling oxford-uuid:0b752de0-362b-4399-8607-6b91a10c8d7f2022-03-26T09:29:34ZCONSTRUCT queries in SPARQLConference itemhttp://purl.org/coar/resource_type/c_1843uuid:0b752de0-362b-4399-8607-6b91a10c8d7fSymplectic Elements at Oxford2015Kostylev, EReutter, JUgarte, MSPARQL has become the most popular language for querying RDF datasets, the standard data model for representing information in the Web. This query language has received a good deal of attention in the last few years: two versions of W3C standards have been issued, several SPARQL query engines have been deployed, and important theoretical foundations have been laid. However, many fundamental aspects of SPARQL queries are not yet fully understood. To this end, it is crucial to understand the correspondence between SPARQL and well-developed frameworks like relational algebra or first order logic. But one of the main obstacles on the way to such understanding is the fact that the well-studied fragments of SPARQL do not produce RDF as output. In this paper we embarrk on the study of SPARQL CONSTRUCT queries, that is, queries which output RDF graphs. This class of queries takes rightful place in the standards and implementations, but contrary to SELECT queries, it has not yet attracted a worth-while theoretical research. Under this framework we are able to establish a strong connection between SPARQL and well-known logical and database formalisms. In particular, the fragment which does not allow for blank nodes in output templates corresponds to first order queries, its well-designed sub-fragment corresponds to positive first order queries, and the general language can be restated as a data exchange setting. These correspondences allow us to conclude that the general language is not composable, but the aforementioned blank-free fragments are. Finally, we enrich SPARQL with a recursion operator and establish fundamental properties of this extension.
spellingShingle Kostylev, E
Reutter, J
Ugarte, M
CONSTRUCT queries in SPARQL
title CONSTRUCT queries in SPARQL
title_full CONSTRUCT queries in SPARQL
title_fullStr CONSTRUCT queries in SPARQL
title_full_unstemmed CONSTRUCT queries in SPARQL
title_short CONSTRUCT queries in SPARQL
title_sort construct queries in sparql
work_keys_str_mv AT kostyleve constructqueriesinsparql
AT reutterj constructqueriesinsparql
AT ugartem constructqueriesinsparql