arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.09305cs.AIcs.LOcs.ROcs.SE
收藏

OWLOOP:将OWL公理映射到OOP层次结构的接口

OWLOOP: Interfaces for Mapping OWL Axioms into OOP Hierarchies

University of Genoa(热那亚大学)

Luca Buoncompagni, Fulvio Mastrogiovanni

AI总结:

本文提出OWLOOP API,利用工厂机制在不限制推理算法的前提下,将OWL公理映射到OOP接口,减少范式转变并提升软件架构模块化,通过机器人示例验证其优缺点。

摘要:

本文解决了在面向对象编程(OOP)范式中映射以网络本体语言(OWL)形式化的逻辑公理的问题。将OWL公理层次结构与OOP对象层次结构进行映射的难点在于,基于OWL的推理算法可能在运行时改变OWL层次结构;而OOP层次结构通常被定义为静态结构。尽管基于反射的编程范式允许在运行时更改OOP层次结构并动态映射OWL公理,但目前尚无不限制推理算法的可用机制。因此,通常采用基于工厂的范式,因为它将OWL和OOP层次结构解耦。然而,工厂机制抑制了OOP多态性,并相对于广泛接受的OOP范式引入了范式转变。我们提出了OWLOOP API,它利用工厂机制来不限制推理算法,并针对本体中的公理提供了新颖的OOP接口。OWLOOP旨在限制使用本体所需的范式转变,同时通过类似OOP的多态性,提高利用逻辑推理的软件架构的模块化程度。本文详细介绍了我们的OWL到OOP映射机制,并通过一个智能环境中机器人的示例展示了OWLOOP的优点和局限性。

英文摘要:

The paper tackles the issue of mapping logic axioms formalised in the Ontology Web Language (OWL) within the Object-Oriented Programming (OOP) paradigm. The issues of mapping OWL axioms hierarchies and OOP objects hierarchies are due to OWL-based reasoning algorithms, which might change an OWL hierarchy at runtime; instead, OOP hierarchies are usually defined as static structures. Although programming paradigms based on reflection allow changing the OOP hierarchies at runtime and mapping OWL axioms dynamically, there are no currently available mechanisms that do not limit the reasoning algorithms. Thus, the factory-based paradigm is typically used since it decouples the OWL and OOP hierarchies. However, the factory inhibits OOP polymorphism and introduces a paradigm shift with respect to widely accepted OOP paradigms. We present the OWLOOP API, which exploits the factory to not limit reasoning algorithms, and it provides novel OOP interfaces concerning the axioms in an ontology. OWLOOP is designed to limit the paradigm shift required for using ontologies while improving, through OOP-like polymorphism, the modularity of software architectures that exploit logic reasoning. The paper details our OWL to OOP mapping mechanism, and it shows the benefits and limitations of OWLOOP through examples concerning a robot in a smart environment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑