Structural Recursion for Querying Ordered Graphs

被引:0
|
作者
Hidaka, Soichiro [1 ]
Asada, Kazuyuki [1 ]
Hu, Zhenjiang [1 ]
Kato, Hiroyuki [1 ]
Nakano, Keisuke [1 ]
机构
[1] Univ Electrocommun, Chofu, Tokyo 182, Japan
关键词
Structural Recursion; Ordered Graphs; Graph Query Language; Bisimulation; Optimization; LANGUAGE;
D O I
10.1145/2544174.2500608
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Structural recursion, in the form of, for example, folds on lists and catamorphisms on algebraic data structures including trees, plays an important role in functional programming, by providing a systematic way for constructing and manipulating functional programs. It is, however, a challenge to define structural recursions for graph data structures, the most ubiquitous sort of data in computing. This is because unlike lists and trees, graphs are essentially not inductive and cannot be formalized as an initial algebra in general. In this paper, we borrow from the database community the idea of structural recursion on how to restrict recursions on infinite unordered regular trees so that they preserve the finiteness property and become terminating, which are desirable properties for query languages. We propose a new graph transformation language called lambda(FG) for transforming and querying ordered graphs, based on the well-defined bisimulation relation on ordered graphs with special epsilon-edges. The language lambda(FG) is a higher order graph transformation language that extends the simply typed lambda calculus with graph constructors and more powerful structural recursions, which is extended for transformations on the sibling dimension. It not only gives a general framework for manipulating graphs and reasoning about them, but also provides a solution to the open problem of how to define a structural recursion on ordered graphs, with the help of the bisimilarity for ordered graphs with epsilon-edges.
引用
收藏
页码:305 / 318
页数:14
相关论文
共 50 条
  • [1] 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
  • [2] Structural Recursion as a Query Language on Lists and Ordered Trees
    Robertson, Edward L.
    Saxton, Lawrence V.
    Van Gucht, Dirk
    Vansummeren, Stijn
    THEORY OF COMPUTING SYSTEMS, 2009, 44 (04) : 590 - 619
  • [3] Structural Recursion as a Query Language on Lists and Ordered Trees
    Edward L. Robertson
    Lawrence V. Saxton
    Dirk Van Gucht
    Stijn Vansummeren
    Theory of Computing Systems, 2009, 44 : 590 - 619
  • [4] Knowledge Graphs Querying
    Khan, Arijit
    SIGMOD RECORD, 2023, 52 (02) : 18 - 29
  • [5] Querying complex graphs
    Liu, YHA
    Stoller, SD
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2006, 3819 : 199 - 214
  • [6] Querying Graphs with Preferences
    Fionda, Valeria
    Pirro, Giuseppe
    PROCEEDINGS OF THE 22ND ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT (CIKM'13), 2013, : 929 - 938
  • [7] Querying Graphs with Data
    Libkin, Leonid
    Martens, Wim
    Vrgoc, Domagoj
    JOURNAL OF THE ACM, 2016, 63 (02)
  • [8] A spatial logic for querying graphs
    Cardelli, L
    Gardner, P
    Ghelli, G
    AUTOMATA, LANGUAGES AND PROGRAMMING, 2002, 2380 : 597 - 610
  • [9] Querying Temporal Property Graphs
    Andriamampianina, Landy
    Ravat, Franck
    Song, Jiefu
    Valles-Parlangeau, Nathalie
    ADVANCED INFORMATION SYSTEMS ENGINEERING (CAISE 2022), 2022, : 355 - 370
  • [10] Approximate Querying on Property Graphs
    Dumbrava, Stefania
    Bonifati, Angela
    Diaz, Amaia Nazabal Ruiz
    Vuillemot, Romain
    SCALABLE UNCERTAINTY MANAGEMENT, SUM 2019, 2019, 11940 : 250 - 265