Stanford InfoLab Publication Server

The Lorel Query Language for Semistructured Data

Abiteboul, S. and Quass, D. and McHugh, J. and Widom, J. and Wiener, J. (1996) The Lorel Query Language for Semistructured Data. Journal on Digital Libraries, 1 (1).




We present the Lorel language, designed for querying semistructured data. Semistructured data is becoming more and more prevalent, e.g., in structured dots such as HTML and when performing simple integration of data from multiple sources. Traditional data models and query languages are inappropriate, since semistructured data often is irregular: some data is missing, similar concepts are represented using different types, heterogeneous sets are present, or object structure is not fully known. Lorel is a user-friendly language in the SQL/OQL style for querying such data effectively. For wide applicability, the simple object model underlying Lorel can be viewed as an extension of the ODMG data model and the Lorel language as an extension of OQL. The main novelties of the Lorel language are: (i) the extensive use of coercion to relieve the user from the strict typing of OQL, which is inappropriate for semistructured data; and (ii) powerful path expressions, which permit a flexible form of declarative navigational access and particularly suitable when the details of the structure are not known to the user. Lorel also includes a declarative update language. Lorel is implemented as the query language of the Lore prototype database management system at Stanford. Information about Lore can be found at In addition to presenting the Lorel language in full, this paper briefly describes the Lore system and query processor. We also briefly discuss a second implementation of Lorel on top of a conventional object-oriented database management system, the O 2 system.? This work was supported by the Air Force Wright Laboratory Aeronautical Systems Center under ARPA Contract F33615-93-11339, by the Air Force Rome Laboratories under ARPA Contract F30602-95-C-0119, and by equipment grants from Digital Equipment and IBM Corporations. ?? This author's permanent address is INRIA-Rocquencourt, 78153 Le Chesnay, France. His work was also supported by CESDIS-N

Item Type:Article
Uncontrolled Keywords:Lore, semistructured, unstructured, object-oriented, OQL, ODMG
Subjects:Computer Science > Semistructured Data
Related URLs:Project Homepage
ID Code:162
Deposited By:Import Account
Deposited On:25 Feb 2000 16:00
Last Modified:08 Dec 2008 14:21

Download statistics

Repository Staff Only: item control page