Extending SPARQL with regular expression patterns (for querying RDF)

Faisal Alkhateeb 1 Jean-François Baget 2, 3 Jérôme Euzenat 1
1 EXMO - Computer mediated exchange of structured knowledge
Inria Grenoble - Rhône-Alpes, LIG - Laboratoire d'Informatique de Grenoble
3 GRAPHIK - Graphs for Inferences on Knowledge
LIRMM - Laboratoire d'Informatique de Robotique et de Microélectronique de Montpellier, CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : RDF is a knowledge representation language dedicated to the annotation of resources within the framework of the semantic web. Among the query languages for RDF, SPARQL allows querying RDF through graph patterns, i.e., RDF graphs involving variables. Other languages, inspired by the work in databases, use regular expressions for searching paths in RDF graphs. Each approach can express queries that are out of reach of the other one. Hence, we aim at combining these two approaches. For that purpose, we define a language, called PRDF (for "Path RDF") which extends RDF such that the arcs of a graph can be labeled by regular expression patterns. We provide PRDF with a semantics extending that of RDF, and propose a correct and complete algorithm which, by computing a particular graph homomorphism, decides the consequence between an RDF graph and a PRDF graph. We then define the PSPARQL query language, extending SPARQL with PRDF graph patterns and complying with RDF model theoretic semantics. PRDF thus offers both graph patterns and path expressions. We show that this extension does not increase the computational complexity of SPARQL and, based on the proposed algorithm, we have implemented a correct and complete PSPARQL query engine.
Type de document :
Article dans une revue
Journal of Web Semantics, Elsevier, 2009, 7 (2), pp.57-73. 〈10.1016/j.websem.2009.02.002〉
Liste complète des métadonnées

https://hal-lirmm.ccsd.cnrs.fr/lirmm-00410132
Contributeur : Marie-Laure Mugnier <>
Soumis le : lundi 17 août 2009 - 19:53:45
Dernière modification le : vendredi 12 janvier 2018 - 01:54:40

Identifiants

Citation

Faisal Alkhateeb, Jean-François Baget, Jérôme Euzenat. Extending SPARQL with regular expression patterns (for querying RDF). Journal of Web Semantics, Elsevier, 2009, 7 (2), pp.57-73. 〈10.1016/j.websem.2009.02.002〉. 〈lirmm-00410132〉

Partager

Métriques

Consultations de la notice

303