Abstract
We report on the results of evaluating the competency of a first-order ontology for its use with automated theorem provers (ATPs). The evaluation follows the adaptation of the methodology based on competency questions (CQs) [Gr"uninger&Fox,1995] to the framework of first-order logic, which is presented in ['Alvez&Lucio&Rigau,2015], and is applied to Adimen-SUMO ['Alvez&Lucio&Rigau,2015]. The set of CQs used for this evaluation has been automatically generated from a small set of semantic patterns and the mapping of WordNet to SUMO. Analysing the results, we can conclude that it is feasible to use ATPs for working with Adimen-SUMO v2.4, enabling the resolution of goals by means of performing non-trivial inferences.
Introduction
Evaluating how well an ontology supports automated reasoning is a significant challenge in knowledge engineering. A standard approach involves using Competency Questions (CQs)—specific queries or goals the ontology should be able to answer. However, applying this to highly expressive first-order logic (FOL) ontologies like SUMO (Standard Upper Ontology) is difficult because SUMO's native format exceeds standard FOL. This paper addresses the challenge by using Adimen-SUMO, a strict FOL translation, and testing it against state-of-the-art Automated Theorem Provers (ATPs) using a massive, automatically generated set of CQs.
Methodology
The evaluation methodology adapts CQ-based testing for the FOL framework. The researchers utilized the Vampire 3.0 ATP to attempt proofs by refutation within strict execution-time limits: 60, 120, 300, and 600 seconds.
The CQs were categorized into:
- Truth-tests: Conjectures expected to be entailed by the ontology. A proof signifies a passing result.
- Falsity-tests: Conjectures expected not to be entailed. A proof signifies a non-passing result, indicating an incorrect inference allowed by the ontology.
- Unknown: Results where the ATP timed out.
The evaluation used Adimen-SUMO v2.4, containing 4,635 unit clauses and 2,785 general clauses. The CQ Benchmark consisted of 7,112 questions (3,556 truth-tests and 3,556 falsity-tests) semi-automatically generated via WordNet-to-SUMO mappings.
Results and Discussion
The performance of the ATP varied significantly between test types and time limits. At the 600-second limit, Vampire solved 1,281 out of 7,112 problems (18%), comprising 894 passing truth-tests and 487 non-passing falsity-tests.
Scalability and Complexity
A key observation was that "falsity is fast, while truth takes time." The ATP identified most non-passing falsity-tests within the first 60 seconds, with minimal gains at longer durations. In contrast, the number of solved truth-tests increased substantially as more computation time was allowed.
Furthermore, proving truth-tests required deeper reasoning. As shown in the data, the average number of axioms used in truth-test proofs scaled to approximately 14 at the 600s limit, whereas falsity-tests consistently required only about 3 axioms. This suggests that while exposing contradictions is relatively shallow, proving valid implicit knowledge requires multi-step inferences.
Axiom Utility
The study tracked axiom usage, revealing that only 971 out of 7,420 total axioms were utilized in the proofs. Proofs relied heavily on SUMO's top-level axioms, which provide the foundational concepts for mid-level knowledge. Specifically, 127 axioms were identified as highly valuable, appearing in 10 or more different truth-test proofs.
Conclusion
The results demonstrate the feasibility of using ATPs for reasoning with Adimen-SUMO v2.4. While a large portion of the ontology (87%) remained unused in this specific benchmark, it highlights the need for broader CQ coverage. Future work will focus on improving the CQ benchmark's domain coverage, particularly targeting the middle level of the SUMO ontology, and developing new methods for semi-automatic CQ generation to test the currently underutilized axioms.
Summary updated