Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu

XQuery Full-Text

  • Chavdar Botev
  • Jayavel Shanmugasundaram
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_775

Synonyms

XQuery 1.0 and XPath 2.0 Full-Text; XQFT

Definition

XQuery Full-Text [11] is a full-text search extension to the XQuery 1.0 [9] and XPath 2.0 [8] XML query languages. XQuery 1.0, XPath 2.0, and XQuery Full-Text are query languages developed by the World Wide Web Consortium (W3C).

Historical Background

The XQuery [9] and XPath languages [8] have evolved as powerful languages for querying XML documents. While these languages provide sophisticated structured query capabilities, they only provide rudimentary capabilities for querying the text (unstructured) parts of XML documents. In particular, the main full-text search predicate in these languages is the fn: contains($context, $keywords) function (http://www.w3.org/TR/xpath-functions/#func-contains), which intuitively returns the Boolean value true if the items in the $context parameter contain the strings in the $keywords parameter. The fn:containsfunction is sufficient for simple sub-string matching but does not provide more...

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

Recommended Reading

  1. 1.
    Al-Khalifa S, Yu C, Jagadish H. Querying structured text in an XML database. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 2003. p. 4–15.Google Scholar
  2. 2.
    Amer-Yahia S, Botev C, Doerre J, Shanmugasundaram J. XQuery full-text extensions explained. IBM Syst J. 2006;45(2):335–51.CrossRefGoogle Scholar
  3. 3.
    Amer-Yahia S, Botev C, Shanmugasundaram J. TE XQuery: a full-text search extension to XQuery. In: Proceedings of the 12th International World Wide Web Conference; 2004. p. 583–94.Google Scholar
  4. 4.
    Carmel D, Maarek Y, Mandelbrod M, Mass Y, Soffer A. Searching XML documents via XML fragments. In: Proceedings of the 26th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval; 2003. p. 151–8.Google Scholar
  5. 5.
    Chinenyanga T, Kushmerick N. Expressive and efficient ranked querying of XML data. In: Proceedings of the 4th International Workshop on the World Wide Web and Databases; 2001. p. 1–6.Google Scholar
  6. 6.
    Fuhr N, Grossjohann K. XIRQL: an extension of XQL for information retrieval. In: Proceedings of the ACM SIGIR Workshop on XML and Information Retrieval; 2000. p. 172–80.Google Scholar
  7. 7.
    Theobald A, Weikum G. The index-based XXL search engine for querying XML data with relevance ranking. In: Advances in Database Technology, Proceedings of 8th International Conference on Extending Database Technology, 2002. p. 477–95.CrossRefGoogle Scholar
  8. 8.
    XML path language (XPath) 2.0. W3C recommendation. Available at http://www.w3.org/TR/xpath20/
  9. 9.
    XQuery 1.0: an XML query language. W3C recommendation. Available at http://www.w3.org/TR/xquery/
  10. 10.
    XQuery 1.0 and XPath 2.0 Data Model (XDM). W3C recommendation. Available at http://www.w3.org/TR/xpath-datamodel/
  11. 11.
    XQuery 1.0 and XPath 2.0 Full-Text 1.0. W3C working draft. Available at http://www.w3.org/TR/xpath-full-text-10/
  12. 12.
    XQuery 1.0 and XPath 2.0 Full-Text 1.0 requirements. W3C working draft. Available at http://www.w3.org/TR/xpath-full-text-10-requirements/
  13. 13.
    XQuery 1.0 and XPath 2.0 Full-Text 1.0 use cases. W3C working draft. Available at http://www.w3.org/TR/xpath-full-text-10-use-cases/

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Yahoo Research!, Cornell UniversityIthacaUSA
  2. 2.Yahoo Research!Santa ClaraUSA

Section editors and affiliations

  • Sihem Amer-Yahia
    • 1
  1. 1.Laboratoire d'Informatique de GrenobleCNRS and LIGGrenobleFrance