Computer Science > Databases
[Submitted on 2 Jun 2015 (this version), latest version 7 Oct 2016 (v3)]
Title:Context-Free Path Queries on RDF Graphs
View PDFAbstract:A navigational query on a graph database returns binary relations over the nodes of the graph. Recently, regular expression-based path query languages are popular in expressing navigational queries on RDF graphs. It is natural to replace regular expressions by context-free grammar so that the power of current regular expression-based path query languages would be increased since regular expressions are strictly subsumed in context-free grammar. In this paper, we present context-free path queries and context-free SPARQL queries on RDF graphs and investigate some of their fundamental properties. Our results show that those proposed context-free path queries have efficient query evaluation and context-free SPARQL queries have the same complexity of query evaluation as SPARQL queries. Regarding expressiveness, we prove that those context-free path queries exactly subsume corresponding fragments of nested regular expressions and context-free SPARQL is a strict extension of both SPARQL and nSPARQL.
Submission history
From: Xiaowang Zhang [view email][v1] Tue, 2 Jun 2015 03:39:59 UTC (22 KB)
[v2] Sun, 1 May 2016 07:56:48 UTC (44 KB)
[v3] Fri, 7 Oct 2016 04:43:56 UTC (36 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.