Using Logic for Querying XML Data

Using Logic for Querying XML Data

Nick Bassiliades (Aristotle University of Thessaloniki, Greece), Ioannis Vlahavas (Aristotle University of Thessaloniki, Greece) and Dimitros Sampson (Informatics and Telematics Institute, Greece)
Source Title: Web-Powered Databases
Copyright: © 2003 |Pages: 35
DOI: 10.4018/978-1-59140-035-6.ch001
OnDemand PDF Download:
$30.00
List Price: $37.50

Abstract

In this chapter, we propose the use of first-order logic, in the form of deductive database rules, as a query language for XML data, and we present X-Device, an extension of the deductive object-oriented database system Device, for storing and querying XML data. XML documents are stored into the OODB by automatically mapping the DTD to an object schema. XML elements are treated either as classes or attributes based on their complexity, without loosing the relative order of elements in the original document. Furthermore, this chapter describes the extension of the system’s deductive rule query language with second-order variables, general path and ordering expressions, for querying over the stored, tree-structured XML data and constructing XML documents as a result. The extensions were implemented by translating all the extended features into the basic, first-order deductive rule language of Device using meta-data about stored XML objects.

Complete Chapter List

Search this Book:
Reset