GuessXQ : a query-by-example approach for XML querying

XML is a widely used general-purpose annotation formalism for creating custom markup languages. XML annotations give structure to plain documents to interpret their content. To extract information from XML documents XPath and XQuery languages can be used. However, the learning of these dialects requires a considerable effort. In this context, the traditional Query-By-Example methodology (for Relational Databases) can be an important contribution to leverage this learning process, freeing the user from knowing the specific query language details or even the document structure. This chapter describes how to apply the Query-By-Example concept in a Web-application for information retrieval from XML documents, the GuessXQ system. This engine is capable of deducing, from an example, the respective XQuery statement. The example consists of marking the desired components directly on a sample document, picked-up from a collection. After inferring the corresponding query, GuessXQ applies it to the collection to obtain the desired result.

Data and Resources

Additional Info

Field Value
Source Innovations in XML applications and metadata management : advancing technologies
Author Fonte, Daniela, da Cruz, Daniela, Rangel Henriques, Pedro, Lopes Gançarski, Alda
Maintainer CCSD
Last Updated May 30, 2026, 04:06 (UTC)
Created May 30, 2026, 04:06 (UTC)
Identifier ISBN: 9781466626690
Language en
contributor Centro de Ciências e Tecnologias da Computaçao (CTTC) ; Universidade do Minho = University of Minho [Braga]
creator Fonte, Daniela
date 2012-05-30T00:00:00
harvest_object_id de2a6c28-78ef-41bc-b947-9e085af6cd61
harvest_source_id 3374d638-d20b-4672-ba96-a23232d55657
harvest_source_title test moissonnage SELUNE
metadata_modified 2026-02-18T00:00:00
relation info:eu-repo/semantics/altIdentifier/doi/10.4018/978-1-4666-2669-0.ch004
set_spec type:COUV