RDF with regular expressions - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 2007

RDF with regular expressions


RDF is a knowledge representation language dedicated to the annotation of resources within the framework of the semantic web. Among the query languages for querying an RDF knowledge base, some, such as SPARQL, are based on the formal semantics of RDF and the concept of consequence semantic, others, inspired by the work in data bases, uses regular expressions making it possible to search the paths in the graph associated with the knowledge base. In order to combine the expressivity of these two approaches, we define a mixed language, called PRDF (for "Paths RDF") in which the arcs of a graph can be labeled by regular expressions. We define the syntax and the semantics of these objects, and propose a correct and complete algorithm which, by a kind of homomorphism, calculates the semantic consequence between an RDF graph and a PRDF graph. This algorithm is the heart of the extension of the SPARQL query language which we propose and implemented: a PSPARQL query allows to query an RDF knowledge base using graph patterns whose predicates are regular expressions.
Fichier principal
Vignette du fichier
RR-6191.pdf (392.32 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

inria-00144922 , version 1 (07-05-2007)
inria-00144922 , version 2 (21-05-2007)
inria-00144922 , version 3 (22-05-2007)
inria-00144922 , version 4 (22-05-2007)


  • HAL Id : inria-00144922 , version 4


Faisal Alkhateeb, Jean-François Baget, Jérôme Euzenat. RDF with regular expressions. [Research Report] RR-6191, INRIA. 2007. ⟨inria-00144922v4⟩
538 View
300 Download


Gmail Facebook X LinkedIn More