A Methodology for the Development & Verification of Expressive Ontologies

Similar documents
Designing and Evaluating Generic Ontologies

Axiomatized Relationships Between Ontologies. Carmen Chui

Verification of Time Ontologies with Points and Intervals

Ontologies and Domain Theories

Ontology Verification with Repositories

Developing Modal Tableaux and Resolution Methods via First-Order Resolution

Decidability: Church-Turing Thesis

Demystifying Ontology

Semantics and Pragmatics of NLP

07 Practical Application of The Axiomatic Method

An Activity-Based Ontology for Dates

Requirements Validation. Content. What the standards say (*) ?? Validation, Verification, Accreditation!! Correctness and completeness

Complete independence of an axiom system for central translations

02 The Axiomatic Method

Computer Sciences Department

A theory of modular and dynamic knowledge representation

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

Improved Algorithms for Module Extraction and Atomic Decomposition

Infinitary Equilibrium Logic and Strong Equivalence

Software Verification using Predicate Abstraction and Iterative Refinement: Part 1

What Is an Ontology?

KLMLean 2.0: a Theorem Prover for KLM Logics of Nonmonotonic Reasoning

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Common Sense Reasoning About Complex Actions

Propositional and Predicate Logic - V

CHAPTER 0: BACKGROUND (SPRING 2009 DRAFT)

Testing the Consistency Of Process Specifications by Christofis Christofi. Supervisor: M. Grüninger March 2008

Model Checking: An Introduction

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Completeness Proof Strategies for Euler Diagram Logics

On Real-time Monitoring with Imprecise Timestamps

Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking

Alan Bundy. Automated Reasoning LTL Model Checking

Equivalent Forms of the Axiom of Infinity

Using C-OWL for the Alignment and Merging of Medical Ontologies

Program verification. 18 October 2017

From Constructibility and Absoluteness to Computability and Domain Independence

Proving Completeness for Nested Sequent Calculi 1

Axioms of Kleene Algebra

Nonmonotone Inductive Definitions

Hoare Logic I. Introduction to Deductive Program Verification. Simple Imperative Programming Language. Hoare Logic. Meaning of Hoare Triples

Gödel s Incompleteness Theorem. Overview. Computability and Logic

The State Explosion Problem

Domain Modelling: An Example (LOGICAL) DOMAIN MODELLING. Modelling Steps. Example Domain: Electronic Circuits (Russell/Norvig)

COMPUTER SCIENCE TEMPORAL LOGICS NEED THEIR CLOCKS

COMPLETENESS WI T H FINITE SYSTEMS OF INTERMEDIATE ASSERTIONS FOR RECURSIVE PROGRAM SCHEMES*

Reuse with Domain and Process Ontologies

Completing Description Logic Knowledge Bases using Formal Concept Analysis

Halting and Equivalence of Schemes over Recursive Theories

Handbook of Logic and Proof Techniques for Computer Science

Admissible Rules of (Fragments of) R-Mingle. Admissible Rules of (Fragments of) R-Mingle. Laura Janina Schnüriger

Propositions. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 5.1, Page 1

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Syllogistic Logic and its Extensions

Automated Support for the Investigation of Paraconsistent and Other Logics

Lecture Notes on Inductive Definitions

Realism and Idealism External Realism

Draft of February 2019 please do not cite without permission. A new modal liar 1 T. Parent

Implementing Proof Systems for the Intuitionistic Propositional Logic

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

AS/NZS ISO :2015

Non-deterministic Matrices for Semi-canonical Deduction Systems

Propositional Reasoning

Introduction to Logic in Computer Science: Autumn 2006

The Application of Ontologies to Reasoning with Process Modeling Formalisms. Xing Tan

A New Approach to Knowledge Base Revision in DL-Lite

Structured Descriptions & Tradeoff Between Expressiveness and Tractability

arxiv: v1 [math.lo] 7 Dec 2017

Combining Induction Axioms By Machine

OntoRevision: A Plug-in System for Ontology Revision in

Chapter 17 Planning Based on Model Checking

Taming Implications in Dummett Logic

Can Vector Space Bases Model Context?

The tape of M. Figure 3: Simulation of a Turing machine with doubly infinite tape

1 Acceptance, Rejection, and I/O for Turing Machines

Chapter 11: Automated Proof Systems (1)

An Independence Relation for Sets of Secrets

Cut-Elimination and Quantification in Canonical Systems

Conditional Logic and Belief Revision

A NOTE ON DERIVATION RULES IN MODAL LOGIC

HOLISM IN PHILOSOPHY OF MIND AND PHILOSOPHY OF PHYSICS

Stanford Encyclopedia of Philosophy

A Resolution Method for Modal Logic S5

On Proofs and Rule of Multiplication in Fuzzy Attribute Logic

02 Propositional Logic

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

The Absoluteness of Constructibility

Agent-Based HOL Reasoning 1

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction)

Math From Scratch Lesson 24: The Rational Numbers

A RESOLUTION DECISION PROCEDURE FOR SHOIQ

Towards Lightweight Integration of SMT Solvers

Key Words: geospatial ontologies, formal concept analysis, semantic integration, multi-scale, multi-context.

Well-behaved Principles Alternative to Bounded Induction

On the Conservativity and Stability of Ontology-Revision Operators Based on Reinterpretation

Chapter 17 Planning Based on Model Checking

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

On Terminological Default Reasoning about Spatial Information: Extended Abstract

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

Transcription:

A Methodology for the Development & Verification of Expressive Ontologies Ontology Summit 2013 Track B Megan Katsumi Semantic Technologies Laboratory Department of Mechanical and Industrial Engineering University of Toronto January 24, 2013 Megan Katsumi (MIE) University of Toronto January 24, 2013 1 / 24

Introduction A methodology for the development and verification of expressive ontologies Addresses the following extrinsic aspects of ontology evaluation: Requirements and their verification How evaluation can be used to revise requirements How evaluation can be used to correct an ontology Megan Katsumi (MIE) University of Toronto January 24, 2013 2 / 24

Motivation Existing lifecycle methodologies for ontology development do not adequately address challenges that arise with the development of ontologies in full First-Order Logic (FOL), specifically: Expressiveness of requirements Consistency-checking is not enough! Verification guidance required How do we continue when we are unable to verify a requirement? Megan Katsumi (MIE) University of Toronto January 24, 2013 3 / 24

Challenges Addressed We proposed a development methodology for the design and verification of expressive ontologies: Design Requirements Verification Tuning Application Megan Katsumi (MIE) University of Toronto January 24, 2013 4 / 24

The BoxWorld Ontology Used to describe 2-dimensional and 3-dimensional shapes Applications in computer vision, manufacturing (e.g. sheet metal) Relations: point(p) edge(e) surface(s) part(p, e) meet(e 1, e 2, p) Consider T surface, fragment of T BoxWorld describing only 2-dimensional shapes Megan Katsumi (MIE) University of Toronto January 24, 2013 5 / 24

Prototype Design Iterative Refinement Requirements Prototype Design Figure: Developing the ontology and our understanding of its requirements Prototype Design: draft axioms (from scratch, or via reuse) Model Exploration: generate and review resulting models Undirected Directed Iterative Refinement: revise prototype and / or informal requirements Megan Katsumi (MIE) University of Toronto January 24, 2013 6 / 24

Requirements: Intended Models From informal requirements to semantic requirements p1 p1 e1 e2 e1 e2 p5 p2 p3 p7 e4 p8 p4 p6 p9 e5 e3 p10 p4 e4 p3 p5 e5 e3 p2 Figure: Intended and unintended models Megan Katsumi (MIE) University of Toronto January 24, 2013 7 / 24

Requirements: Intended Models The relationship between the intended models for an ontology and the actual models of its axioms, reproduced from Guarino (2009) Conceptualization C Logical language L Models MD(L) Ontology models OK Intended models IK(L) Unintended models Omitted models Megan Katsumi (MIE) University of Toronto January 24, 2013 8 / 24

Requirements: Intended Models Definition Semantic requirements specify conditions on the intended models for the ontology, and/or models of the ontology s axioms. There are two types of such conditions for semantic correctness: M Mod(T onto ) M M onto and M M onto M Mod(T onto ) Megan Katsumi (MIE) University of Toronto January 24, 2013 9 / 24

Requirements: Semiautomatic Verification Design {}}{ T onto Σ domain = Requirements {}}{ Φ } {{ } Verification The requirements are formulated as part of an entailment problem, this allows for the use of an automated theorem prover to evaluate the requirements In this way, verification is the process of using the theorem prover to evaluate if the requirements are entailed by the ontology Megan Katsumi (MIE) University of Toronto January 24, 2013 10 / 24

Requirements: Characterizing the Intended Models Challenge: recognize characteristics of the intended models For example, in the BoxWorld ontology: M is a model of T surface iff it is equivalent to a cyclic graph G = (V, A) such that: V = {e : e edge} A = {(e 1, e 2 ) : e 1, e 2, p meet} Megan Katsumi (MIE) University of Toronto January 24, 2013 11 / 24

Requirements: Partial Characterization Competency Questions: queries the ontology must be able to entail Can be used to specify: Required properties, a partial characterization of the intended models Necessary level of detail Required performance with a theorem prover Megan Katsumi (MIE) University of Toronto January 24, 2013 12 / 24

Requirements: Competency Questions For example, in the BoxWorld ontology, for all 2-dimensional shapes, every edge meets exactly two distinct edges: An edge cannot meet another edge at two distinct points T surface = ( e 1, e 2, e 3, p 1, p 2 )meet(e 1, e 2, p 1 ) meet(e 1, e 3, p 2 ) (p 1 = p 2 ) (e 2 = e 3 ) Every edge meets at most two distinct edges T surface = ( e 1, e 2, e 3, e 4, p 1, p 2, p 3 )meet(e 1, e 2, p 1 ) meet(e 1, e 3, p 2 ) meet(e 1, e 4, p 3 ) ((e 2 = e 3 ) (p 1 = p 2 )) ((e 2 = e 4 ) (p 1 = p 3 )) ((e 3 = e 4 ) (p 2 = p 3 )) Megan Katsumi (MIE) University of Toronto January 24, 2013 13 / 24

Verification Guidance for each possible outcome of verification: Case 1: Unintended Proof Case 2: No Proof Case 3: Proof found No proof exists Provable (intractability issues) Axiom design error Requirement specification error Requirement too strong Axiomatization too weak Return to Design Phase Return to Requirements Phase Return to Requirements Phase Return to Design Phase Tuning Phase Proceed to next entailment problem Megan Katsumi (MIE) University of Toronto January 24, 2013 14 / 24

Verification Case 1: Unintended Proof An unintended proof indicates: Error in the design of the axioms Error in the specification of the requirement Megan Katsumi (MIE) University of Toronto January 24, 2013 15 / 24

Verification Case 1: Unintended Proof For example, we proved the competency question presented earlier: Every edge meets at most two distinct edges But, it was a proof that: T surface = ( p)point(p) Examination of the proof showed that the axiom: ( e, p 1, p 2, p 3 )edge(e) point(p 1 ) point(p 2 ) point(p 3 ) part(p 1, e) was incorrect part(p 2, e) part(p 3, e) (p 1 = p 3 ) (p 2 = p 3 ) Megan Katsumi (MIE) University of Toronto January 24, 2013 16 / 24

Verification Case 1: Unintended Proof For example, we proved the competency question presented earlier: Every edge meets at most two distinct edges But, it was a proof that: T surface = ( p)point(p) Examination of the proof showed that the axiom: ( e, p 1, p 2, p 3 )edge(e) point(p 1 ) point(p 2 ) point(p 3 ) part(p 1, e) part(p 2, e) part(p 3, e) (p 1 = p 3 ) (p 2 = p 3 ) (p 1 = p 2 ) was incorrect Megan Katsumi (MIE) University of Toronto January 24, 2013 17 / 24

Verification Case 2: No Proof Found Failure to find a proof indicates: Case 2A: No proof exists Requirement is too strong Ontology is too weak Case 2B: Provable Requirement is provable, but the theorem prover is having difficulties producing the proof Generating counterexamples can identify Case 2A, but sometimes the cause is ambiguous Megan Katsumi (MIE) University of Toronto January 24, 2013 18 / 24

Verification Case 2: No Proof Found For example, we could not find a proof of the competency question that an edge cannot meet another edge at two distinct points: ( e 1, e 2, e 3, p 1, p 2 )meet(e 1, e 2, p 1 ) meet(e 1, e 3, p 2 ) (p 1 = p 2 ) (e 2 = e 3 ) Intuitions and knowledge of development history help determine the cause: Poor theorem prover performance? Or not provable? Megan Katsumi (MIE) University of Toronto January 24, 2013 19 / 24

Verification Case 2A: Not Provable In this instance, no proof existed p1 e1 p2 p5 e4 e5 e6 e2 p6 p4 e3 p3 A design decision: Relax the requirement? Strengthen the axioms? Megan Katsumi (MIE) University of Toronto January 24, 2013 20 / 24

Verification Case 2B: Provable Tuning: The addition of lemmas or the use of subsets of the ontology in order to improve theorem prover performance Lemmas - in the traditional mathematical sense; some consequence of a theory (ontology) that can be used to help prove some goal (requirement) Subsets - large ontologies may slow theorem prover performance; reasoning with a subset of the ontology s axioms may improve performance enough to prove a particularly challenging requirement Megan Katsumi (MIE) University of Toronto January 24, 2013 21 / 24

Summary Expressiveness of requirements We proposed a lifecycle to support the development of expressive ontologies, employing automated reasoners for a rigorous specification and semiautomatic verification of semantic requirements. Verification guidance We provided pragmatic guidance for the development phases, addressing all possible outcomes of theorem prover verification, including ambiguous timeouts (intractability or semidecidability?). This methodology has been effectively used with ontologies for sheet metal manufacturing and PSL (ISO18629). Megan Katsumi (MIE) University of Toronto January 24, 2013 22 / 24

Future Work Incorporate consideration of other ontology development issues such as quality, requirements validation, etc. Address the challenge of model exploration for iterative refinement in cases where the ontology has only infinite models Include more specific guidance on how to leverage system use cases (when appropriate) to identify semantic requirements Megan Katsumi (MIE) University of Toronto January 24, 2013 23 / 24

References Nicola Guarino, Daniel Oberle, and Steven Staab. What is an Ontology?, pages 1 17. Springer-Verlag, Berlin, 2nd edition, 2009. Megan Katsumi. A methodology for the development and verification of expressive ontologies. M.Sc. thesis, Department of Mechanical and Industrial Engineering, University of Toronto, 2011. Megan Katsumi and Michael Grüninger. Theorem proving in the ontology lifecycle. In Proceedings of the International Conference on Knowledge Engineering and Ontology Development, 2010. Megan Katsumi (MIE) University of Toronto January 24, 2013 24 / 24