SPARQL Query Containment with ShEx Constraints

Abdullah Abbas 1 Pierre Genevès 1 Cécile Roisin 1 Nabil Layaïda 1
1 TYREX - Types and Reasoning for the Web
Inria Grenoble - Rhône-Alpes, LIG - Laboratoire d'Informatique de Grenoble
Abstract : 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.
Type de document :
Pré-publication, Document de travail
Submitted. 2016
Domaine :
Liste complète des métadonnées
Contributeur : Tyrex Equipe <>
Soumis le : lundi 12 décembre 2016 - 13:47:45
Dernière modification le : mercredi 14 décembre 2016 - 01:04:17
Document(s) archivé(s) le : lundi 27 mars 2017 - 16:47:47


Fichiers produits par l'(les) auteur(s)


  • HAL Id : hal-01414509, version 1



Abdullah Abbas, Pierre Genevès, Cécile Roisin, Nabil Layaïda. SPARQL Query Containment with ShEx Constraints. Submitted. 2016. 〈hal-01414509〉



Consultations de la notice


Téléchargements de fichiers