Affiliation:
1. University of Edinburgh, Edinburgh, UK
2. Pontifica Universidad Católica de Chile and Center for Semantic Web Research, Santiago, Chile
Abstract
Navigational queries over RDF data are viewed as one of the main applications of graph query languages, and yet the standard model of graph databases—essentially labeled graphs—is different from the triples-based model of RDF. While encodings of RDF databases into graph data exist, we show that even the most natural ones are bound to lose some functionality when used in conjunction with graph query languages. The solution is to work directly with triples, but then many properties taken for granted in the graph database context (e.g., reachability) lose their natural meaning.
Our goal is to introduce languages that work directly over triples and are closed, i.e., they produce sets of triples, rather than graphs. Our basic language is called TriAL, or Triple Algebra: it guarantees closure properties by replacing the product with a family of join operations. We extend TriAL with recursion and explain why such an extension is more intricate for triples than for graphs. We present a declarative language, namely a fragment of datalog, capturing the recursive algebra. For both languages, the combined complexity of query evaluation is given by low-degree polynomials. We compare our language with previously studied graph query languages such as adaptations of XPath, regular path queries, and nested regular expressions; many of these languages are subsumed by the recursive triple algebra. We also provide an implementation of recursive TriAL on top of a relational query engine, and we show its usefulness by running a wide array of navigational queries over real-world RDF data, while at the same time testing how our implementation compares to existing RDF systems.
Funder
Nucleus Millenium Center for Semantic Web Research
CONICYT-PCHA Doctorado Nacional
FONDECYT Project
EPSRC
Publisher
Association for Computing Machinery (ACM)
Reference56 articles.
1. S. Abiteboul R. Hull and V. Vianu. 1995. Foundations of Databases. Addison-Wesley. S. Abiteboul R. Hull and V. Vianu. 1995. Foundations of Databases. Addison-Wesley.
2. A Comparison of Current Graph Database Models
3. Renzo Angles Marcelo Arenas Pablo Barceló Aidan Hogan Juan L. Reutter and Domagoj Vrgoc. 2016. Foundations of modern graph query languages. Retrieved from http://arxiv.org/abs/1610.06264. Renzo Angles Marcelo Arenas Pablo Barceló Aidan Hogan Juan L. Reutter and Domagoj Vrgoc. 2016. Foundations of modern graph query languages. Retrieved from http://arxiv.org/abs/1610.06264.
4. R. Angles and C. Gutierrez. 2008. Survey of graph database models. Comput. Surveys 40 1 (2008). 10.1145/1322432.1322433 R. Angles and C. Gutierrez. 2008. Survey of graph database models. Comput. Surveys 40 1 (2008). 10.1145/1322432.1322433
5. Benchmarking database systems for social network applications
Cited by
14 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Ontology-Based Generation of Data Platform Assets;2023 IEEE International Conference on Big Data (BigData);2023-12-15
2. Evaluating Complex Queries on Streaming Graphs;2022 IEEE 38th International Conference on Data Engineering (ICDE);2022-05
3. Research on storage method for fuzzy RDF graph based on Neo4j;Evolutionary Intelligence;2022-04-08
4. An Algebra Supporting Semantic Query for Graph Data Model;2022 2nd International Conference on Consumer Electronics and Computer Engineering (ICCECE);2022-01-14
5. Persistence of Fuzzy RDF and Fuzzy RDF Schema;Modeling and Management of Fuzzy Semantic RDF Data;2022