Pontificia Universidad Católica de Chile Pontificia Universidad Católica de Chile
Jorge Perez, Marcelo Arenas and Claudio Gutierrez. nSPARQL: A Navigational Language for RDF. In Proceedings of the 7th International Semantic Web Conference (ISWC’08), Karlsruhe, Germany, volume 5318 of Lecture Notes Computer Science, pages 66-81, 2008. (2008)

nSPARQL: A Navigational Language for RDF

Tipo de publicación : Conferencia No A*

Abstract

Navigational features have been largely recognized as fundamental for graph database query languages. This fact has motivated several authors to propose RDF query languages with navigational capabilities. In particular, we have argued in a previous paper that nested regular expressions are appropriate
to navigate RDF data, and we have proposed the nSPARQL query language for RDF, that uses nested regular expressions as building blocks. In this paper, we study some of the fundamental properties of nSPARQL concerning expressiveness and complexity of evaluation. Regarding expressiveness, we show that nSPARQL is expressive enough to answer queries considering the semantics of the RDFS vocabulary by directly traversing the input graph. We also show that nesting is necessary to obtain this last result, and we study the expressiveness of the combination of nested regular expressions and SPARQL operators. Regarding
complexity of evaluation, we prove that the evaluation of a nested regular expression E over an RDF graph G can be computed in time O(|G|*|E|).