Cargando…

An XQuery Specification for Requests with Preferences on XML Databases

An exact query is a query in which the user specifies precisely what to retrieve from a database (XML or relational database). For these queries only data that strictly respect all user’s conditions is returned. XML documents are generally semi-structured. Due to the non-existence or lack of knowled...

Descripción completa

Detalles Bibliográficos
Autores principales: Tchoupé Tchendji, Maurice, Kenfack, Patrik Joslin
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7198254/
http://dx.doi.org/10.1007/978-3-030-47240-5_12
_version_ 1783528964717805568
author Tchoupé Tchendji, Maurice
Kenfack, Patrik Joslin
author_facet Tchoupé Tchendji, Maurice
Kenfack, Patrik Joslin
author_sort Tchoupé Tchendji, Maurice
collection PubMed
description An exact query is a query in which the user specifies precisely what to retrieve from a database (XML or relational database). For these queries only data that strictly respect all user’s conditions is returned. XML documents are generally semi-structured. Due to the non-existence or lack of knowledge of the model of the document being queried, when exact queries are used, there is a high risk of obtaining an empty result (in the case of too specific queries) or too large (in the case of too vague queries). In contrast to exact queries, requests with preferences aim to return only the most relevant results in order to avoid empty or too important results as much as possible. To achieve this goal, requests with preferences generally consist of two parts: the first part is used to express strict constraints and the second part to express preferences or wishes. The satisfaction of both parts increases the relevance of the corresponding results. This paper presents XQuery preference, an extension of the XQuery language, that allows to express requests with preferences relating to both the values and the structure of an XML document. A representation model of such requests based on the Generalized Tree Pattern (GTP) model is also proposed in order to allow an evaluation of these requests through a tree pattern matching process. Integration of the proposed language in open source implementations of XQuery like BaseX, Berkeley DB XML, eXist-db, Galax and much more, will allow users to get much more relevant responses to their concerns.
format Online
Article
Text
id pubmed-7198254
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-71982542020-05-05 An XQuery Specification for Requests with Preferences on XML Databases Tchoupé Tchendji, Maurice Kenfack, Patrik Joslin Open Source Systems Article An exact query is a query in which the user specifies precisely what to retrieve from a database (XML or relational database). For these queries only data that strictly respect all user’s conditions is returned. XML documents are generally semi-structured. Due to the non-existence or lack of knowledge of the model of the document being queried, when exact queries are used, there is a high risk of obtaining an empty result (in the case of too specific queries) or too large (in the case of too vague queries). In contrast to exact queries, requests with preferences aim to return only the most relevant results in order to avoid empty or too important results as much as possible. To achieve this goal, requests with preferences generally consist of two parts: the first part is used to express strict constraints and the second part to express preferences or wishes. The satisfaction of both parts increases the relevance of the corresponding results. This paper presents XQuery preference, an extension of the XQuery language, that allows to express requests with preferences relating to both the values and the structure of an XML document. A representation model of such requests based on the Generalized Tree Pattern (GTP) model is also proposed in order to allow an evaluation of these requests through a tree pattern matching process. Integration of the proposed language in open source implementations of XQuery like BaseX, Berkeley DB XML, eXist-db, Galax and much more, will allow users to get much more relevant responses to their concerns. 2020-05-05 /pmc/articles/PMC7198254/ http://dx.doi.org/10.1007/978-3-030-47240-5_12 Text en © IFIP International Federation for Information Processing 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Tchoupé Tchendji, Maurice
Kenfack, Patrik Joslin
An XQuery Specification for Requests with Preferences on XML Databases
title An XQuery Specification for Requests with Preferences on XML Databases
title_full An XQuery Specification for Requests with Preferences on XML Databases
title_fullStr An XQuery Specification for Requests with Preferences on XML Databases
title_full_unstemmed An XQuery Specification for Requests with Preferences on XML Databases
title_short An XQuery Specification for Requests with Preferences on XML Databases
title_sort xquery specification for requests with preferences on xml databases
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7198254/
http://dx.doi.org/10.1007/978-3-030-47240-5_12
work_keys_str_mv AT tchoupetchendjimaurice anxqueryspecificationforrequestswithpreferencesonxmldatabases
AT kenfackpatrikjoslin anxqueryspecificationforrequestswithpreferencesonxmldatabases
AT tchoupetchendjimaurice xqueryspecificationforrequestswithpreferencesonxmldatabases
AT kenfackpatrikjoslin xqueryspecificationforrequestswithpreferencesonxmldatabases