Skip to main content

First Order Paths in Ordered Trees

  • Conference paper
Database Theory - ICDT 2005 (ICDT 2005)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3363))

Included in the following conference series:

Abstract

We give two sufficient conditions on XPath like languages for having first order expressivity, meaning that every first order definable set of paths in an ordered node-labeled tree is definable in that XPath language. They are phrased in terms of expansions of navigational (sometimes called “Core”) XPath. Adding either complementation, or the more elegant conditional paths is sufficient. A conditional path is an axis relation of the form (one_step_axis::n[F]) + , denoting the transitive closure of the relation expressed by one_step_axis::n[F]. As neither is expressible in navigational XPath we also give characterizations in terms of first order logic of the answer sets and the sets of paths navigational XPath can define. The first in terms of a suitable two variable fragment, the second in terms of unions of conjunctive queries.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Benedikt, M., Fan, W., Kuper, G.: Structural properties of XPath fragments. In: Calvanese, D., Lenzerini, M., Motwani, R. (eds.) ICDT 2003. LNCS, vol. 2572, pp. 79–95. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  2. Blackburn, P., Meyer-Viol, W., de Rijke, M.: A proof system for finite trees. In: Kleine Büning, H. (ed.) CSL 1995. LNCS, vol. 1092, pp. 86–105. Springer, Heidelberg (1996)

    Google Scholar 

  3. World-Wide Web Consortium. XML path language (XPath): Version 1.0, http://www.w3.org/TR/xpath.html

  4. Etessami, K., Vardi, M., Wilke, Th.: First-order logic with two variables and unary temporal logic. In: Proc. LICS 1997, pp. 228–235 (1997)

    Google Scholar 

  5. Gottlob, G., Koch, C., Pichler, R.: Efficient algorithms for processing XPath queries. In: VLDB 2002 (2002)

    Google Scholar 

  6. Gottlob, G., Koch, C., Schulz, K.: Conjunctive queries over trees. In: Proceedings of PODS, pp. 189–200 (2004)

    Google Scholar 

  7. Halevy, A., Rousset, M.: Combining horn rules and description logics in CARIN. Artificial Intelligence 104, 165–209 (1998)

    Article  MathSciNet  Google Scholar 

  8. Hodkinson, I., Simon, A.: The k-variable property is stronger than H-dimension k. Journal of Philosophical Logic 26, 81–101 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  9. Immerman, N., Kozen, D.: Definability with bounded number of bound variables. In: Proceedings of the Symposium of Logic in Computer Science, Washington, pp. 236–244. Computer Society Press, Rockville (1987)

    Google Scholar 

  10. Kamp, J.A.W.: Tense Logic and the Theory of Linear Order. PhD thesis, University of California, Los Angeles (1968)

    Google Scholar 

  11. Marx, M.: Conditional XPath, the first order complete XPath dialect. In: Proceedings of PODS 2004, pp. 13–22 (2004)

    Google Scholar 

  12. Marx, M.: XPath with conditional axis relations. In: Bertino, E., Christodoulakis, S., Plexousakis, D., Christophides, V., Koubarakis, M., Böhm, K., Ferrari, E. (eds.) EDBT 2004. LNCS, vol. 2992, pp. 477–494. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  13. Marx, M., de Rijke, M.: Semantic characterizations of XPath. In: TDM 2004 workshop on XML Databases and Information Retrieval, Twente, The Netherlands, June 21 (2004)

    Google Scholar 

  14. Palm, A.: Propositional tense logic for trees. In: Sixth Meeting on Mathematics of Language. University of Central Florida, Orlando (1999)

    Google Scholar 

  15. Rogers, J.: A Descriptive Approach to Language Theoretic Complexity. CSLI Press (1998)

    Google Scholar 

  16. Tarski, A., Givant, S.: A Formalization of Set Theory without Variables, vol. 41. AMS Colloquium publications, Providence (1987)

    MATH  Google Scholar 

  17. Vardi, M.: Why is modal logic so robustly decidable? In: DIMACS Series in Discrete Mathematics and Theoretical Computer Science, vol. 31, pp. 149–184. American Math. Society, Providence (1997)

    Google Scholar 

  18. Wadler, P.: Two semantics for XPath. Technical report, Bell Labs (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Marx, M. (2004). First Order Paths in Ordered Trees. In: Eiter, T., Libkin, L. (eds) Database Theory - ICDT 2005. ICDT 2005. Lecture Notes in Computer Science, vol 3363. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30570-5_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30570-5_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-24288-8

  • Online ISBN: 978-3-540-30570-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics