JOURNAL ARTICLE

XQBE ( XQ uery B y E xample)

Daniele BragaAlessandro CampiStefano Ceri

Year: 2005 Journal:   ACM Transactions on Database Systems Vol: 30 (2)Pages: 398-443   Publisher: Association for Computing Machinery

Abstract

The spreading of XML data in many contexts of modern computing infrastructures and systems causes a pressing need for adequate XML querying capabilities; to address this need, the W3C is proposing XQuery as the standard query language for XML, with a language paradigm and a syntactic flavor comparable to the SQL relational language. XQuery is designed for meeting the requirements of skilled database programmers; its inherent complexity makes the new language unsuited to unskilled users.In this article we present XQBE (XQuery By Example), a visual query language for expressing a large subset of XQuery in a visual form. In designing XQBE, we targeted both unskilled users and expert users wishing to speed up the construction of their queries; we have been inspired by QBE, a relational language initially proposed as an alternative to SQL, which is supported by Microsoft Access. QBE is extremely successful among users who are not computer professionals and do not understand the subtleties of query languages, as well as among professionals who can draft their queries very quickly.According to the hierarchical nature of XML, XQBE's main graphical elements are trees. One or more trees denote the documents assumed as query input, and one tree denotes the document produced by the query. Similar to QBE, trees are annotated so as to express selection predicates, joins, and the passing of information from the input trees to the output tree.This article formally defines the syntax and semantics of XQBE, provides a large set of examples, and presents a prototype implementation.

Keywords:
Computer science XQuery SQL Query language XML Programming language Query by Example Joins Relational database XPath Information retrieval World Wide Web XML database Web search query

Metrics

116
Cited By
11.15
FWCI (Field Weighted Citation Impact)
29
Refs
0.98
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing
Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Anomalous Magnetoresistance inCe1-xLaxSbandCe1-xLaxBi

Tadao KasuyaMasafumi SeraTakashi Suzuki

Journal:   Journal of the Physical Society of Japan Year: 1993 Vol: 62 (8)Pages: 2561-2563
JOURNAL ARTICLE

N(H I)/E(BV)

Harvey Liszt

Journal:   The Astrophysical Journal Year: 2013 Vol: 780 (1)Pages: 10-10
JOURNAL ARTICLE

The Effect of Globalization on Local Businesses Performance in Bahrain

Bader Alazmi, Mohammed

Journal:   OPAL (Open@LaTrobe) (La Trobe University) Year: 2024
JOURNAL ARTICLE

The Effect of Globalization on Local Businesses Performance in Bahrain

Bader Alazmi, Mohammed

Journal:   American University of Bahrain Year: 2024
JOURNAL ARTICLE

108.09 A visual proof that b e < e b when b > e

Bikash Chakraborty

Journal:   The Mathematical Gazette Year: 2024 Vol: 108 (571)Pages: 143-143
© 2026 ScienceGate Book Chapters — All rights reserved.