ACM Home Page
Please provide us with feedback. Feedback
XQBE (XQuery By Example): A visual interface to the standard XML query language
Full text PdfPdf (2.93 MB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 30 ,  Issue 2  (June 2005) table of contents
Pages: 398 - 443  
Year of Publication: 2005
ISSN:0362-5915
Authors
Daniele Braga  Politecnico di Milano, Milano, Italy
Alessandro Campi  Politecnico di Milano, Milano, Italy
Stefano Ceri  Politecnico di Milano, Milano, Italy
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 14,   Downloads (12 Months): 133,   Citation Count: 21
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1071610.1071613
What is a DOI?

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
 
3
 
4
 
5
 
6
Braga, D. and Campi, A. 2003a. BiblioXQBE. http://dbgroup.elet.polimi.it/biblioXQBE.
 
7
Braga, D. and Campi, A. 2003b. XQBE Web Site. http://dbgroup.elet.polimi.it/XQBE.
 
8
9
 
10
Cohen, S., Kanza, Y., Kogan, Y. A., Nutt, W., Sagiv, Y., and Serebrenik, A. 1999. Equix easy querying in XML databases. In WebDB (Informal Proceedings). 43--48.
 
11
12
 
13
14
15
 
16
Cruz, I. F., Mendelzon, A. O., and Wood, P. T. 1988. G+: Recursive queries without recursion. In 2nd International Conference on Expert Database Systems. 355--368.
 
17
Fernandez, M., Siméon, J., Wadler, P., Cluet, S., Deutsch, A., Florescu, D., Levy, A., Maier, D., McHugh, J., Robie, J., Suciu, D., and Widom, J. 1999a. Xml query languages: Experiences and exemplars. http://www-db.research.belllabs.com/user/simeon/xquery.ps.
18
 
19
Filha, I. M. R. E., Laender, A. H. F., and da Silva, A. S. 2001. Querying semistructured data by example: The qsbye interface. In Workshop on Information Integration on the Web. 156--163.
 
20
21
 
22
Kepser, S. 2002. A proof of the Turing-completeness of xslt and xquery. Technical report SFB 441, Eberhard Karls Universitat Tubingen. May.
 
23
Lakshmanan, L. V. S., Ramesh, G., Wang, H., and Zhao, Z. J. 2004. On testing satisfiability of tree pattern queries. In Proceedings of the 30th International Conference on Very Large Databases (VLDB).
 
24
 
25
Ludaescher, B., Papakonstantinou, Y., Velikhov, P., and Vianu, V. 1999. View definition and dtd inference for xml. In Proceedings of the Post-IDCT Workshop.
 
26
27
28
 
29
30
 
31
Vassalos, V. and Papakonstantinou, Y. 2000. Expressive capabilities description languages and query rewriting algorithms. J. Logic Prog. 43, 1, 75--122.
 
32
W3C. 2001. Extensible Stylesheet Language (XSL). http://www.w3c.org/TR/xsl/.
 
33
W3C. 2003a. XML Query Use Cases. http://www.w3.org/TR/xmlquery-use-cases.
 
34
W3C. 2003b. XQuery: An XML Query Language. http://www.w3.org/XML/Query.
 
35
Zloof, M. M. 1977. Query-by-example: A data base language. IBM Syst. J. 16, 4, 324--343.

CITED BY  21


REVIEW

"Charles William Bash : Reviewer"

Constructing good queries is a difficult task that many do not find easy. This paper proposes a graphical format for constructing queries against Extensible Markup Language (XML) source documents, to replace XQuery. The authors summarize some of t  more...

Collaborative Colleagues:
Daniele Braga: colleagues
Alessandro Campi: colleagues
Stefano Ceri: colleagues