ACM Home Page
Please provide us with feedback. Feedback
Logical definability and query languages over ranked and unranked trees
Full text PdfPdf (602 KB)
Source
ACM Transactions on Computational Logic (TOCL) archive
Volume 8 ,  Issue 2  (April 2007) table of contents
Article No. 11  
Year of Publication: 2007
ISSN:1529-3785
Authors
Michael Benedikt  Bell Laboratories, Naperville, IL
Leonid Libkin  University of Edinburgh and University of Toronto
Frank Neven  Hasselt University and Transnational University of Limburg, Diepenbeek, Belgium
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 69,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1227839.1227843
What is a DOI?

ABSTRACT

We study relations on trees defined by first-order constraints over a vocabulary that includes the tree extension relation TT′ (holding if and only if every branch of T extends to a branch of T′), unary node-tests, and a binary relation checking whether the domains of two trees are equal. We consider both ranked and unranked trees. These are trees with and without a restriction on the number of children of nodes. We adopt the model-theoretic approach to tree relations and study relations definable over the structure consisting of the set of all trees and the aforementioned predicates. We relate definability of sets and relations of trees to computability by tree automata. We show that some natural restrictions correspond to familiar logics in the more classical setting where every tree is a structure over a fixed vocabulary, and to logics studied in the context of XML pattern languages. We then look at relational calculi over collections of trees, and obtain quantifier-restriction results that give us bounds on the expressive power and complexity. As unrestricted relational calculi can express problems that are complete for each level of the polynomial hierarchy, we look at their restrictions, corresponding to the restricted logics over the family of all unranked trees, and find several calculi with low (NC1) data complexity which still express properties important for database and document applications. We also give normal forms for safe queries in the calculus.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
Angluin, D. and Hoover, D. N. 1984. Regular prefix relations. Math. Syst. Theory 17, 3, 167--191.
 
4
5
6
 
7
 
8
Börger, E., Grädel, E., and Gurevich, Y. 1997. The Classical Decision Problem. Springer Verlag.
 
9
Bray, T., Paoli, J., Sperberg-McQueen, C. M., and Maler, E. 2000. Extensible Markup Language (XML) 1.0, 2nd ed. W3C recommendation. http://www.w3.org/XML.
 
10
Brüggemann-Klein, A., Murata, M., and Wood, D. 2001. Regular tree and regular hedge languages over unranked alphabets: Version 1. Tech. Rep. HKUST-TCSC-2001-0, The Hongkong University of Science and Technology.
 
11
Bruyère, V., Hansel, G., Michaux, C., and Villemaire, R. 1994. Logic and p-recognizable sets of integers. Bull. Belgian Math. Soc. 1, 191--238.
 
12
 
13
Chamberlin, D., Clark, J., Florescu, D., Robie, J., Simeon, J., and Stefanascu, M. 2002. XQuery 1.0: An XML query language. http://www.w3.org/TR/xquery/.
 
14
Clark, J. 1999. XSL transformations version 1.0. http://www.w3.org/TR/WD-xslt.
 
15
Clark, J. and DeRose, S. 1999. XML path language (XPath). http://www.w3.org/TR/xpath.
 
16
Comon, H., Dauchet, M., Gilleron, R., Jacquemard, F., Lugiez, D., Tison, S., and Tommasi, M. 1997. Tree automata techniques and applications. http://www.grappa.univ-lille3.fr/tata.
17
 
18
Doner, J. 1970. Tree acceptors and some of their applications. J. Comput. Syst. Sci. 4, 406--451.
 
19
 
20
Ebbinghaus, H.-D. and Flum, J. 1999. Finite Model Theory, 2nd ed. Springer Verlag.
 
21
 
22
 
23
Flum, J. and Ziegler, M. 1999. Pseudo-Finite homogeneity and saturation. J. Symb. Logic 64, 1689--1699.
24
 
25
Hodges, W. 1993. Model Theory. Cambridge University Press, New York.
 
26
Hodgson, B. 1983. Décadabilité par automate fini. Ann. Sci. Math. Québec 7, 39--57.
 
27
Immerman, N. 1998. Descriptive Complexity. Springer Verlag.
 
28
 
29
Kolb, H.-P. and Mönnich, U. 1999. The Mathematics of Syntactic Structure: Trees and Their Logics. Walter De Gruyter, Hawthorne, NY.
 
30
 
31
Laskowski, M. C. 1992. Vapnik-Chervonenkis classes of definable sets. J. London Math. Soc. 45, 377--384.
 
32
33
 
34
 
35
 
36
Müller, M., Niehren, J., and Treinen, R. 2001. The first-order theory of ordering constraints over feature trees. Discrete Math. Theor. Comput. Sci. 4, 2, 193--234.
37
 
38
 
39
 
40
 
41
Rabin, M. 1969. Decidability of second-order theories and automata on infinite trees. Trans. Amer. Math. Soci. 141, 1--35.
 
42
 
43
Smolka, G. and Treinen, R. 1994. Records for logic programming. J. Logic Program. 18, 229--258.
 
44
45
 
46
 
47
Thatcher, J. and Wright, J. 1968. Generalized finite automata theory with an application to a decision problem of second-order logic. Math. Syst. Theory 2, 1, 57--81.
 
48
 
49
Thomas, W. 1987. On chain logic, path logic, and first-order logic over infinite trees. In Symposium on Logic in Computer Science. 245--256.
 
50
 
51
52
 
53

Collaborative Colleagues:
Michael Benedikt: colleagues
Leonid Libkin: colleagues
Frank Neven: colleagues