SPARQL Query Containment with ShEx Constraints - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2017

SPARQL Query Containment with ShEx Constraints

Pierre Genevès
Cécile Roisin
  • Function : Author
  • PersonId : 946792
Nabil Layaïda


ShEx (Shape Expressions) is a language for expressing constraints on RDF graphs. We consider the problem of SPARQL query containment in the presence of ShEx constraints. We first investigate the complexity of the problem according to the fragments considered for SPARQL queries and for ShEx constraints. In particular, we show that the complexity of SPARQL query containment remains the same with or without ShEx constraints. We develop two radically different approaches for solving the problem and we evaluate them. The first approach relies on the joint use of a ShEx validator and a tool for checking query containment without constraints. In a second approach, we show how the problem can be solved by a reduction to a fragment of first-order logic with two variables. This alternative approach allows to take advantage of any of the many existing FOL theorem provers in this context. We evaluate how the two approaches compare experimentally, and report on lessons learned. To the best of our knowledge, this is the first work addressing SPARQL query containment in the presence of ShEx constraints.
Fichier principal
Vignette du fichier
adbis (1).pdf (407.43 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01414509 , version 1 (12-12-2016)
hal-01414509 , version 2 (29-11-2017)


  • HAL Id : hal-01414509 , version 2


Abdullah Abbas, Pierre Genevès, Cécile Roisin, Nabil Layaïda. SPARQL Query Containment with ShEx Constraints. ADBIS 2017 - 21st European Conference on Advances in Databases and Information Systems , Sep 2017, Nicosia, Cyprus. ⟨hal-01414509v2⟩
316 View
383 Download


Gmail Facebook X LinkedIn More