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 条
  • [31] Querying knowledge graphs in natural language
    Liang, Shiqi
    Stockinger, Kurt
    de Farias, Tarcisio Mendes
    Anisimova, Maria
    Gil, Manuel
    JOURNAL OF BIG DATA, 2021, 8 (01)
  • [32] Querying knowledge graphs in natural language
    Shiqi Liang
    Kurt Stockinger
    Tarcisio Mendes de Farias
    Maria Anisimova
    Manuel Gil
    Journal of Big Data, 8
  • [33] Exploratory Querying of Extended Knowledge Graphs
    Yahya, Mohamed
    Berberich, Klaus
    Ramanath, Maya
    Weikum, Gerhard
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2016, 9 (13): : 1521 - 1524
  • [34] On querying simple conceptual graphs with negation
    Mugnier, Marie-Laure
    Leclere, Michel
    DATA & KNOWLEDGE ENGINEERING, 2007, 60 (03) : 468 - 493
  • [35] A Hierarchical Contraction Scheme for Querying Big Graphs
    Fan, Wenfei
    Li, Yuanhao
    Liu, Muyang
    Lu, Can
    PROCEEDINGS OF THE 2022 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA (SIGMOD '22), 2022, : 1726 - 1740
  • [36] Towards Federated Decentralized Querying on Knowledge Graphs
    Munir, Siraj
    Ferretti, Stefano
    2023 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE, CSCI 2023, 2023, : 585 - 591
  • [37] Scalable SPARQL Querying of Large RDF Graphs
    Huang, Jiewen
    Abadi, Daniel J.
    Ren, Kun
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2011, 4 (11): : 1123 - 1134
  • [38] Querying subjective data
    Yuliang Li
    Aaron Feng
    Jinfeng Li
    Shuwei Chen
    Saran Mumick
    Alon Halevy
    Vivian Li
    Wang-Chiew Tan
    The VLDB Journal, 2021, 30 : 115 - 140
  • [39] Statistics of RDF Store for Querying Knowledge Graphs
    Savnik, Iztok
    Nitta, Kiyoshi
    Skrekovski, Riste
    Augsten, Nikolaus
    FOUNDATIONS OF INFORMATION AND KNOWLEDGE SYSTEMS (FOIKS 2022), 2022, : 93 - 110
  • [40] Secure XML querying based on authorization graphs
    Chebotko, Artem
    Chang, Seunghan
    Lu, Shiyong
    Fotouhi, Farshad
    INFORMATION SYSTEMS FRONTIERS, 2012, 14 (03) : 617 - 632