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 条
  • [21] Visual Querying on Graphs: Models and Techniques
    Bhowmick, Sourav S.
    Choi, Byron
    ADVANCES IN CONCEPTUAL MODELING, ER 2018, 2019, 11158 : 344 - 344
  • [22] 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)
  • [23] Querying knowledge graphs in natural language
    Shiqi Liang
    Kurt Stockinger
    Tarcisio Mendes de Farias
    Maria Anisimova
    Manuel Gil
    Journal of Big Data, 8
  • [24] Exploratory Querying of Extended Knowledge Graphs
    Yahya, Mohamed
    Berberich, Klaus
    Ramanath, Maya
    Weikum, Gerhard
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2016, 9 (13): : 1521 - 1524
  • [25] Structures for Structural Recursion
    Downen, Paul
    Johnson-Freyd, Philip
    Ariola, Zena M.
    PROCEEDINGS OF THE 20TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING (ICFP'15), 2015, : 127 - 139
  • [26] Structures for Structural Recursion
    Downen, Paul
    Johnson-Freyd, Philip
    Ariola, Zena M.
    ACM SIGPLAN NOTICES, 2015, 50 (09) : 127 - 139
  • [27] On querying simple conceptual graphs with negation
    Mugnier, Marie-Laure
    Leclere, Michel
    DATA & KNOWLEDGE ENGINEERING, 2007, 60 (03) : 468 - 493
  • [28] RECURSION-THEORY AND ORDERED-GROUPS
    DOWNEY, RG
    KURTZ, SA
    ANNALS OF PURE AND APPLIED LOGIC, 1986, 32 (02) : 137 - 151
  • [29] 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
  • [30] Using variable automata for querying data graphs
    Vrgoc, Domagoj
    INFORMATION PROCESSING LETTERS, 2015, 115 (03) : 425 - 430