A query by example approach for XML querying - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès WISA '09 : Workshop on Intelligent Systems and Applications Année : 2009

A query by example approach for XML querying

Résumé

XML, as a general-purpose annotation system for creating custom markup languages, is becoming more and more important. XML annotations give structure to plain documents and help to interpret their content, making them human or machine readable. However, mechanisms to pretty-print those annotated documents or process them in order to extract information are crucial to make them 19 useful. In a similar way, a collection of XML documents, without any tools capable of retrieving information from it, is useless. To search for specific elements in a marked up document we have, at least, two options: XPath and XQuery. However, the learning curve of these two dialects is high, requiring a considerable level of knowledge. In this context, the idea of Query-by-example can be an important contribution to make easier this learning process, freeing the user from knowing the specific query language details or even the document structure. In this paper, we describe our approach to QBE based on an sample document from the collection where the user specifies his needs. First, we focus on the choice of the adequate document to serve as a sample of the collection, based on different metrics computed over the document. Then, we discuss the query generation from the user needs' specifications, namely components (elements or attributes) selection and filtering.

Mots clés

Fichier non déposé

Dates et versions

hal-00807142 , version 1 (03-04-2013)

Identifiants

  • HAL Id : hal-00807142 , version 1

Citer

Flavio Xavier Ferreira, Daniela da Cruz, Pedro Rangel Henriques, Alda Lopes Gancarski, Bruno Defude. A query by example approach for XML querying. WISA '09 : Workshop on Intelligent Systems and Applications, Jun 2009, Povoa De Varzim, Portugal. pp.611-614. ⟨hal-00807142⟩
88 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More