CoChat

Semantics and complexity of SPARQL

Open access
Pérez, Jorge, Arenas, Marcelo, Gutierrez, Claudio · 2009 · ACM Transactions on Database Systems
Cited by 1,134

The DOI matches its Crossref record; 22 of the 22 references it cites were found in a registry or an index.

Abstract

SPARQL is the standard language for querying RDF data. In this article, we address systematically the formal study of the database aspects of SPARQL, concentrating in its graph pattern matching facility. We provide a compositional semantics for the core part of SPARQL, and study the complexity of the evaluation of several fragments of the language. Among other complexity results, we show that the evaluation of general SPARQL patterns is PSPACE-complete. We identify a large class of SPARQL patterns, defined by imposing a simple and natural syntactic restriction, where the query evaluation problem can be solved more efficiently. This restriction gives rise to the class of well-designed patterns. We show that the evaluation problem is coNP-complete for well-designed patterns. Moreover, we provide several rewriting rules for well-designed patterns whose application may have a considerable impact in the cost of evaluating SPARQL queries.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/1567274.1567278

Cites

22 of 22 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 10

  1. 10.1007/978-3-540-88564-1_8 · doi:10.1007/978-3-540-88564-1_8
  2. 10.1145/223784.223847 · doi:10.1145/223784.223847
  3. Chen , L. , Gupta , A. , and Kurul , E . 2005. A semantic-aware RDF query algebra . In Proceedings of the International Conference on Management of Data (COMAD). Chen, L., Gupta, A., and Kurul, E. 2005. A semantic-aware RDF query algebra. In Proceedings of the International Conference on Management of Data (COMAD).
  4. de Bruijn , J. , Franconi , E. , and Tessaris , S . 2005. Logical reconstruction of normative RDF . In Proceedings of the OWL—Experiences and Directions Workshop (OWLED). de Bruijn, J., Franconi, E., and Tessaris, S. 2005. Logical reconstruction of normative RDF. In Proceedings of the OWL—Experiences and Directions Workshop (OWLED).
  5. 10.1145/244810.244812 · doi:10.1145/244810.244812
  6. 10.1145/382780.382783 · doi:10.1145/382780.382783
  7. 10.5555/2113364.2113396 · doi:10.5555/2113364.2113396
  8. 10.1145/1242572.1242679 · doi:10.1145/1242572.1242679
  9. 10.1007/978-3-540-31839-2_8 · doi:10.1007/978-3-540-31839-2_8
  10. 10.1007/11574620_44 · doi:10.1007/11574620_44

Cited by

See all 1,134

Metadata

Authors
Pérez, J., Arenas, M., & Gutierrez, C.
Venue
ACM Transactions on Database Systems
Published
2009-08
Volume
34
Issue
3
Pages
1-45
ISSN
  • 0362-5915 (ISSN-L)
  • 1557-4644
OpenAlex
W2131785201
Cited by
1,134
References
22
FWCI
67.95
Type
journal article
Language
en
Open access
green
Funders
Fondo Nacional de Desarrollo Científico y Tecnológico (1.07E+20)

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.