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 条
  • [41] NOUS: Construction and Querying of Dynamic Knowledge Graphs
    Choudhury, Sutanay
    Agarwal, Khushbu
    Purohit, Sumit
    Zhang, Baichuan
    Pirrung, Meg
    Smith, Will
    Thomas, Mathew
    2017 IEEE 33RD INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2017), 2017, : 1563 - 1565
  • [42] Secure XML querying based on authorization graphs
    Artem Chebotko
    Seunghan Chang
    Shiyong Lu
    Farshad Fotouhi
    Information Systems Frontiers, 2012, 14 : 617 - 632
  • [43] A User Interface for Exploring and Querying Knowledge Graphs
    Vargas, Hernan
    Buil-Aranda, Carlos
    Hogan, Aidan
    Lopez, Claudia
    PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2020, : 4785 - 4789
  • [44] Querying Big Graphs within Bounded Resources
    Fan, Wenfei
    Wang, Xin
    Wu, Yinghui
    SIGMOD'14: PROCEEDINGS OF THE 2014 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2014, : 301 - 312
  • [45] Querying RDF Graphs Over Partitioned Indexes
    Gai, Lei
    Liu, Junmin
    Wang, Xiaoming
    Li, Jian
    2017 13TH INTERNATIONAL CONFERENCE ON NATURAL COMPUTATION, FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (ICNC-FSKD), 2017, : 2262 - 2267
  • [46] Relative expressive power of navigational querying on graphs
    Fletcher, George H. L.
    Gyssens, Marc
    Leinders, Dirk
    Surinx, Dimitri
    Van den Bussche, Jan
    Van Gucht, Dirk
    Vansummeren, Stijn
    Wu, Yuqing
    INFORMATION SCIENCES, 2015, 298 : 390 - 406
  • [47] Querying Knowledge Graphs by Example Entity Tuples
    Jayaram, Nandish
    Khan, Arijit
    Li, Chengkai
    Yan, Xifeng
    Elmasri, Ramez
    2016 32ND IEEE INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2016, : 1494 - 1495
  • [48] CUTE: Querying Knowledge Graphs by Tabular Examples
    Wang, Zichen
    Li, Tian
    Shao, Yingxia
    Cui, Bin
    WEB AND BIG DATA (APWEB-WAIM 2018), PT I, 2018, 10987 : 461 - 465
  • [49] GraphGrep: A fast and universal method for querying graphs
    Giugno, R
    Shasha, D
    16TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION, VOL II, PROCEEDINGS, 2002, : 112 - 115
  • [50] QuWeDa — Storing, Querying and Benchmarking Knowledge Graphs
    Saleem, Muhammad
    Ngomo, Axel-Cyrille Ngonga
    CEUR Workshop Proceedings, 2023, 3565