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 条
  • [21] Querying Structural Diversity in Streaming Graphs
    Chen, Kaiyu
    Wen, Dong
    Zhang, Wenjie
    Zhang, Ying
    Wang, Xiaoyang
    Lin, Xuemin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2024, 17 (05): : 1034 - 1046
  • [22] Pragmatic Querying in Heterogeneous Knowledge Graphs
    Viswanathan, Amar
    THIRTIETH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2016, : 4317 - 4318
  • [23] Structural Recursion for Querying Ordered Graphs
    Hidaka, Soichiro
    Asada, Kazuyuki
    Hu, Zhenjiang
    Kato, Hiroyuki
    Nakano, Keisuke
    ACM SIGPLAN NOTICES, 2013, 48 (09) : 305 - 318
  • [24] Explaining and Querying Knowledge Graphs by Relatedness
    Fionda, Valeria
    Pirro, Giuseppe
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2017, 10 (12): : 1913 - 1916
  • [25] Knowledge graphs: Construction, management and querying
    Kejriwal, Mayank
    Sequeda, Juan
    Lopez, Vanessa
    SEMANTIC WEB, 2019, 10 (06) : 961 - 962
  • [26] Querying Knowledge Graphs with Natural Languages
    Wang, Xin
    Yang, Lan
    Zhu, Yan
    Zhan, Huayi
    Jin, Yuan
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, PT II, 2019, 11707 : 30 - 46
  • [27] Comparing Graph Data Science Libraries for Querying and Analysing Datasets: Towards Data Science Queries on Graphs
    Vargas-Solar, Genoveva
    Marrec, Pierre
    Ferrari Alves, Mirian Halfeld
    SERVICE-ORIENTED COMPUTING, ICSOC 2021 WORKSHOPS, 2022, 13236 : 205 - 216
  • [28] Querying Knowledge Graphs in Greek Language
    Tsampos, Ioannis
    Marakakis, Emmanouil
    17TH ACM INTERNATIONAL CONFERENCE ON PERVASIVE TECHNOLOGIES RELATED TO ASSISTIVE ENVIRONMENTS, PETRA 2024, 2024, : 27 - 33
  • [29] Visual Querying of Large Multilayer Graphs
    Cuenca, Erick
    Sallaberry, Arnaud
    Ienco, Dino
    Poncelet, Pascal
    30TH INTERNATIONAL CONFERENCE ON SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT (SSDBM 2018), 2018,
  • [30] Visual Querying on Graphs: Models and Techniques
    Bhowmick, Sourav S.
    Choi, Byron
    ADVANCES IN CONCEPTUAL MODELING, ER 2018, 2019, 11158 : 344 - 344