header

nSPARQL: A Navigational Language for RDF

42 Pages Posted: 9 Jul 2018 Publication Status: Accepted

See all articles by Jorge Perez

Jorge Perez

Pontificia Universidad Católica de Chile - Department of Computer Science; Harvard University - Khipu: South Andean Center for Database Research

Marcelo Arenas

Pontificia Universidad Católica de Chile - Department of Computer Science

Claudio Gutiérrez

University of Chile - Department of Computer Science

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 this paper, we propose the query language nSPARQL that uses nested regular expressions to navigate RDF data. We study some of the fundamental properties of nSPARQL and nested regular expressions 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 in nSPARQL 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 given an RDF graph G and a nested regular expression E, this problem can be solved in time O(|G|·|E|).

Keywords: SPARQL, RDF, RDFS, Nested Regular Expressions

Suggested Citation

Perez, Jorge and Arenas, Marcelo and Gutiérrez, Claudio, nSPARQL: A Navigational Language for RDF (November 2010). Available at SSRN: https://ssrn.com/abstract=3199487 or http://dx.doi.org/10.2139/ssrn.3199487

Jorge Perez

Pontificia Universidad Católica de Chile - Department of Computer Science ( email )

Casilla 306
Correo 22
Santiago
Chile

Harvard University - Khipu: South Andean Center for Database Research ( email )

United States

Marcelo Arenas (Contact Author)

Pontificia Universidad Católica de Chile - Department of Computer Science ( email )

Casilla 306
Correo 22
Santiago
Chile

Claudio Gutiérrez

University of Chile - Department of Computer Science ( email )

Avenida Blanco Encalada
Santiago
Chile

Do you have negative results from your research you’d like to share?

Paper statistics

Downloads
32
Abstract Views
745
PlumX Metrics