nSPARQL: A navigational language for RDF

被引:81
作者
Perez, Jorge [1 ,3 ]
Arenas, Marcelo [1 ,3 ]
Gutierrez, Claudio [2 ,3 ]
机构
[1] Pontificia Univ Catolica Chile, Dept Comp Sci, Santiago, Chile
[2] Univ Chile, Dept Comp Sci, Santiago, Chile
[3] Khipu S Andean Ctr Database Res, Santiago, Chile
来源
JOURNAL OF WEB SEMANTICS | 2010年 / 8卷 / 04期
关键词
SPARQL; RDF; RDFS; Nested regular expressions;
D O I
10.1016/j.websem.2010.01.002
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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(vertical bar G vertical bar.vertical bar E vertical bar). (C) 2010 Elsevier B. V. All rights reserved.
引用
收藏
页码:255 / 270
页数:16
相关论文
共 28 条
[1]  
Alechina Natasha, 2000, LOG J IGPL, V8, P325
[2]  
ALKHATEEB F, 2008, SWWS 2008, P91
[3]  
Alkhateeb F., 2008, THESIS U J FOURIER G
[4]   Extending SPARQL with regular expression patterns (for querying RDF) [J].
Alkhateeb, Faisal ;
Baget, Jean-Francois ;
Euzenat, Jerome .
JOURNAL OF WEB SEMANTICS, 2009, 7 (02) :57-73
[5]   Survey of graph database models [J].
Angles, Renzo ;
Gutierrez, Claudio .
ACM COMPUTING SURVEYS, 2008, 40 (01)
[6]  
[Anonymous], 1977, STOC
[7]  
[Anonymous], 2008, W3C RECOMMENDATION
[8]  
[Anonymous], 2004, RDF VOCABULARY DESCR
[9]  
[Anonymous], 2001, Model checking
[10]  
Anyanwu K., 2007, WWW, P797, DOI [10.1145/1242572.1242680, DOI 10.1145/1242572.1242680]