A Study of a Positive Fragment of Path Queries: Expressiveness, Normal Form and Minimization

被引:10
作者
Wu, Yuqing [3 ]
Van Gucht, Dirk [3 ]
Gyssens, Marc [1 ,2 ]
Paredaens, Jan [4 ]
机构
[1] Hasselt Univ, Fac Sci, B-3590 Diepenbeek, Belgium
[2] Transnatl Univ Limburg, B-3590 Diepenbeek, Belgium
[3] Indiana Univ, Sch Informat & Comp, Bloomington, IN 47405 USA
[4] Univ Antwerp, Dept Math & Comp Sci, B-2020 Antwerp, Belgium
关键词
XML; path query; normal form; expressiveness; minimization; COUPLING FRAGMENTS; STRUCTURAL INDEXES; XML DOCUMENTS; XPATH; METHODOLOGY;
D O I
10.1093/comjnl/bxq055
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We study the expressiveness of a positive fragment of path queries, denoted Path(+), on documents that can be represented as node-labeled trees. The expressiveness of Path(+) is studied from two angles. First, we establish that Path(+) is equivalent in expressive power to two particular subfragments, as well as to the class of tree queries, a subclass of the first-order conjunctive queries defined over the label, parent-child and child-parent predicates. The translation algorithm from tree queries to Path(+) yields a normal form for Path(+) queries. Using this normal form, we can decompose a Path(+) query into subqueries that can be expressed in a very small fragment of Path(+) for which efficient evaluation strategies are available. Second, we characterize the expressiveness of Path(+) in terms of its ability to resolve nodes in a document. This result is used to show that each tree query can be translated to a unique, equivalent and minimal tree query. The combination of these results yields an effective strategy to evaluate a large class of path queries on documents.
引用
收藏
页码:1091 / 1118
页数:28
相关论文
共 8 条
[1]   A Study of a Positive Fragment of Path Queries: Expressiveness, Normal Form, and Minimization [J].
Wu, Yuqing ;
Van Gucht, Dirk ;
Gyssens, Marc ;
Paredaens, Jan .
DATASPACE: THE FINAL FRONTIER, PROCEEDINGS, 2009, 5588 :133-+
[2]   EARLIEST NORMAL FORM AND MINIMIZATION FOR BOTTOM-UP TREE TRANSDUCERS [J].
Friese, Sylvia ;
Seidl, Helmut ;
Maneth, Sebastian .
INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2011, 22 (07) :1607-1623
[3]   The normal form of a positive semi-definite spatial stiffness matrix [J].
Roberts, RG .
ROBOTICS, AUTOMATION AND CONTROL AND MANUFACTURING: TRENDS, PRINCIPLES AND APPLICATIONS, 2002, 14 :231-236
[4]   Normal form for bifurcations of ion acoustic traveling waves in positive-negative ion species plasmas [J].
Alinejad, H. ;
Poria, S. .
PHYSICA SCRIPTA, 2023, 98 (12)
[5]   Normal form approach in the motion planning of space robots: a case study [J].
Krzysztof Tchoń ;
Katarzyna Zadarnowska .
Nonlinear Dynamics, 2021, 105 :2229-2245
[6]   Normal form approach in the motion planning of space robots: a case study [J].
Tchon, Krzysztof ;
Zadarnowska, Katarzyna .
NONLINEAR DYNAMICS, 2021, 105 (03) :2229-2245
[7]   A phenomenological approach to normal form modeling: A case study in laser induced nematodynamics [J].
Toniolo, C ;
Russo, G ;
Residori, S ;
Tresser, C .
INTERNATIONAL JOURNAL OF BIFURCATION AND CHAOS, 2005, 15 (11) :3547-3566
[8]   Study on an Improved Normal Form Solution and Reduced-order Mode Reconstruction in Power System [J].
Wang, Zhouqiang ;
Huang, Qi .
TENCON 2015 - 2015 IEEE REGION 10 CONFERENCE, 2015,