arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.06015cs.AI
收藏

基于测试驱动开发的更有效的本体创作

More Effective Ontology Authoring with Test-Driven Development

University of Cape Town(开普敦大学);Poznan University of Technology(波兹南理工大学)

C. Maria Keet, Kieren Davies, Agnieszka Lawrynowicz

摘要:

本体创作是一个复杂的过程,通常自动推理机被调用来验证新引入的更改,这相当于一个耗时的最后测试方法。测试驱动开发(TDD)是一种最新的{ \em test-first}方法,旨在减少创作时间并提高创作效率。目前的TDD测试在覆盖OWL特性和可能的测试结果、严格的基础以及确定其有效性的评估方面存在不足。我们的目标是解决这些问题,在一个实例的TDD本体创作。我们首先提出了一个简洁的,基于逻辑的TDD测试模型,并提出了新的TDD算法,以涵盖任何OWL 2类表达式的TBox和主要ABox断言,并证明其正确性。该算法直接使用OWL API的方法,因此测试执行不需要重新分类,从而减少了本体编写时间。算法在Protégé插件TDDonto 2中实现。TDDonto 2的编辑效率和用户评价。编辑效率的研究表明,它是一个典型的本体编写界面,特别是对于中型和大型本体更快。用户评估表明,与标准Protégé界面相比,建模人员使用TDDonto 2的错误明显减少,并在更短的时间内更好地完成任务。因此,结果表明,测试驱动开发是一个有前途的方法在本体开发方法。

英文摘要:

Ontology authoring is a complex process, where commonly the automated reasoner is invoked for verification of newly introduced changes, therewith amounting to a time-consuming test-last approach. Test-Driven Development (TDD) for ontology authoring is a recent {\em test-first} approach that aims to reduce authoring time and increase authoring efficiency. Current TDD testing falls short on coverage of OWL features and possible test outcomes, the rigorous foundation thereof, and evaluations to ascertain its effectiveness. We aim to address these issues in one instantiation of TDD for ontology authoring. We first propose a succinct, logic-based model of TDD testing and present novel TDD algorithms so as to cover also any OWL 2 class expression for the TBox and for the principal ABox assertions, and prove their correctness. The algorithms use methods from the OWL API directly such that reclassification is not necessary for test execution, therewith reducing ontology authoring time. The algorithms were implemented in TDDonto2, a Protégé plugin. TDDonto2 was evaluated on editing efficiency and by users. The editing efficiency study demonstrated that it is faster than a typical ontology authoring interface, especially for medium size and large ontologies. The user evaluation demonstrated that modellers make significantly less errors with TDDonto2 compared to the standard Protégé interface and complete their tasks better using less time. Thus, the results indicate that Test-Driven Development is a promising approach in an ontology development methodology.

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

↑