Semantics and complexity of SPARQL

By Jorge Pérez, Marcelo Arenas, Claudio Gutiérrez. TODS, 2006

1,662 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Networks and Communications, Signal Processing

View Paper: https://www.semanticscholar.org/paper/971bca8117088cd31b8353896559d33fb70c2220

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Olaf Hartig
  2. Michael Schmidt
  3. Georg Lausen
  4. Ulf Leser
  5. Bastian Quilitz
  6. Domagoj Vrgoc
  7. Juan L. Reutter
  8. Naser Ahmadi

In Computer Networks and Communications

  1. Olaf Hartig
  2. Michael Schmidt
  3. Domagoj Vrgoc
  4. Juan L. Reutter
  5. Georg Lausen
  6. Ulf Leser
  7. Bastian Quilitz
  8. Adrián Soto

In Signal Processing

  1. Michael Schmidt
  2. Domagoj Vrgoc
  3. Juan L. Reutter
  4. Ulf Leser
  5. Bastian Quilitz
  6. Adrián Soto
  7. Minh Dao-Tran
  8. Aidan Hogan

Citations in the corpus