Querying Graphs with Data

被引:51
|
作者
Libkin, Leonid [1 ]
Martens, Wim [2 ]
Vrgoc, Domagoj [3 ,4 ]
机构
[1] Univ Edinburgh, Sch Informat, Informat Forum, 10 Crichton St, Edinburgh EH8 9AB, Midlothian, Scotland
[2] Univ Bayreuth, Angew Informat 7, D-95440 Bayreuth, Germany
[3] Pontificia Univ Catolica Chile, Sch Engn, Dept Comp Sci, Vicuna Mackenna 4860, Santiago, Chile
[4] Ctr Semant Web Res, Bethlehem, PA 18015 USA
基金
英国工程与自然科学研究理事会;
关键词
Theory; Languages; Algorithms; Graph databases; data values; navigational queries; XPath; REGULAR EXPRESSIONS; XML; LANGUAGES; XPATH;
D O I
10.1145/2850413
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Graph databases have received much attention as of late due to numerous applications in which data is naturally viewed as a graph; these include social networks, RDF and the Semantic Web, biological databases, and many others. There are many proposals for query languages for graph databases that mainly fall into two categories. One views graphs as a particular kind of relational data and uses traditional relational mechanisms for querying. The other concentrates on querying the topology of the graph. These approaches, however, lack the ability to combine data and topology, which would allow queries asking how data changes along paths and patterns enveloping it. In this article, we present a comprehensive study of languages that enable such combination of data and topology querying. These languages come in two flavors. The first follows the standard approach of path queries, which specify how labels of edges change along a path, but now we extend them with ways of specifying how both labels and data change. From the complexity point of view, the right type of formalisms are subclasses of register automata. These, however, are not well suited for querying. To overcome this, we develop several types of extended regular expressions to specify paths with data and study their querying power and complexity. The second approach adopts the popular XML language XPath and extends it from XML documents to graphs. Depending on the exact set of allowed features, we have a family of languages, and our study shows that it includes efficient and highly expressive formalisms for querying both the structure of the data and the data itself.
引用
收藏
页数:53
相关论文
共 50 条
  • [1] REGULAR EXPRESSIONS FOR QUERYING DATA GRAPHS
    Tan, Tony
    Vrgoc, Domagoj
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2014, 25 (08) : 971 - 985
  • [2] Using variable automata for querying data graphs
    Vrgoc, Domagoj
    INFORMATION PROCESSING LETTERS, 2015, 115 (03) : 425 - 430
  • [3] PathGraph: Querying and Exploring Big Data Graphs
    Colazzo, Dario
    Mecca, Vincenzo
    Nole, Maurizio
    Sartiani, Carlo
    30TH INTERNATIONAL CONFERENCE ON SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT (SSDBM 2018), 2018,
  • [4] Querying Fuzzy RDF Knowledge Graphs Data
    Li, Guanfeng
    Li, Weijun
    Wang, Hairong
    2020 IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS (FUZZ-IEEE), 2020,
  • [5] Querying RDF Data with Text Annotated Graphs
    Han, Lushan
    Finin, Tim
    Joshi, Anupam
    Cheng, Doreen
    PROCEEDINGS OF THE 27TH INTERNATIONAL CONFERENCE ON SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT, 2015,
  • [6] Conceptual Graphs Based Modeling and Querying of XML Data
    Molnar, Andrea Eva
    Varga, Viorica
    Sacarea, Christian
    2017 25TH INTERNATIONAL CONFERENCE ON SOFTWARE, TELECOMMUNICATIONS AND COMPUTER NETWORKS (SOFTCOM), 2017, : 23 - 28
  • [7] Querying 3D Data by Adjacency Graphs
    Bore, Nils
    Jensfelt, Patric
    Folkesson, John
    COMPUTER VISION SYSTEMS (ICVS 2015), 2015, 9163 : 243 - 252
  • [8] From Linked Data to Knowledge Graphs Storing, Querying, and Reasoning
    Tommasini, Riccardo
    Mutharaju, Raghava
    Sakr, Sherif
    WEB ENGINEERING, ICWE 2020, 2020, 12128 : 569 - 571
  • [9] Knowledge Graphs Querying
    Khan, Arijit
    SIGMOD RECORD, 2023, 52 (02) : 18 - 29
  • [10] Querying complex graphs
    Liu, YHA
    Stoller, SD
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2006, 3819 : 199 - 214