Using Logic for Querying XML Data

Nick Bassiliades, I. Vlahavas, D. Sampson
{"title":"Using Logic for Querying XML Data","authors":"Nick Bassiliades, I. Vlahavas, D. Sampson","doi":"10.4018/978-1-59140-035-6.CH001","DOIUrl":null,"url":null,"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.","PeriodicalId":267741,"journal":{"name":"Web-Powered Databases","volume":"123 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Web-Powered Databases","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/978-1-59140-035-6.CH001","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

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.
使用逻辑查询XML数据
在本章中,我们提出以演绎数据库规则的形式使用一阶逻辑作为XML数据的查询语言,并提出了X-DEVICE,它是演绎面向对象数据库系统DEVICE的扩展,用于存储和查询XML数据。通过将DTD自动映射到对象模式,XML文档被存储到OODB中。根据XML元素的复杂性将其作为类或属性处理,而不会丢失原始文档中元素的相对顺序。此外,本章还描述了用二阶变量、通用路径和排序表达式扩展系统的演绎规则查询语言,用于查询存储的树状结构XML数据并构造XML文档。扩展是通过使用关于存储的XML对象的元数据将所有扩展特性转换为DEVICE的基本一阶演绎规则语言来实现的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书