首页> 外文期刊>Theory and Practice of Logic Programming >X Path-logic and XPathLog: A logic-programming style XML data manipulation language
【24h】

X Path-logic and XPathLog: A logic-programming style XML data manipulation language

机译:X Path-logic和XPathLog:一种逻辑编程风格的XML数据操作语言

获取原文
获取原文并翻译 | 示例

摘要

We define XPathLog as a Datalog-style extension of XPath. XPathLog provides a clear, declarative language for querying and manipulating XML whose perspectives are especially in XML data integration. In our characterization, the formal semantics is defined wrt. an edge-labeled graph-based model, which covers the XML data model. We give a complete, logic-based characterization of XML data and the main language concept for XML, XPath. XPath-Logic extends the XPath language with variable bindings and embeds it into first-order logic. XPathLog is then the Horn fragment of XPath-Logic, providing a Datalog-style, rule-based language for querying and manipulating XML data. The model-theoretic semantics of XPath-Logic serves as the base of XPathLog as a logic-programming language, whereas also an equivalent answer-set semantics for evaluating XPathLog queries is given. In contrast to other approaches, the XPath syntax and semantics is also used for a declarative specification how the database should be updated: when used in rule heads, XPath filters are interpreted as specifications of elements and properties which should be added to the database.
机译:我们将XPathLog定义为XPath的Datalog样式的扩展。 XPathLog为查询和处理XML提供了一种清晰的声明式语言,其观点尤其在XML数据集成中。在我们的表征中,形式语义是用wrt定义的。一个基于边缘标签的基于图的模型,该模型涵盖XML数据模型。我们给出了XML数据的完整,基于逻辑的特征以及XML的主要语言概念XPath。 XPath-Logic通过变量绑定扩展了XPath语言,并将其嵌入到一阶逻辑中。 XPathLog是XPath-Logic的Horn片段,为查询和操作XML数据提供了一种Datalog样式的,基于规则的语言。 XPath-Logic的模型理论语义是XPathLog的基础,它是一种逻辑编程语言,同时还给出了用于评估XPathLog查询的等效答案集语义。与其他方法相比,XPath语法和语义还用于声明性说明,说明如何更新数据库:在规则头中使用时,XPath过滤器被解释为元素和属性的规范,应将其添加到数据库中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号