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

Similar documents
Knowledge Representation using First-Order Logic (Part III)

First-Order Logic. Chapter 8

First-Order Logic. Chapter 8

First-Order Logic. Chapter 8

CS 188: Artificial Intelligence Spring 2007

First-Order Logic. CS367 ARTIFICIAL INTELLIGENCE Chapter 8

Outline. First-order logic. Atomic sentences. Intelligent Systems and HCI D7023E. Syntax of FOL: Basic elements. Pros and cons of propositional logic

First Order Logic (FOL)

First-Order Logic Chap8 1. Pros and Cons of Prop. Logic

(Part II) Reading: R&N Chapters 8, 9

First Order Logic (FOL)

RN, Chapter 8 Predicate Calculus 1

Logical Agents. Propositional Logic [Ch 6] Syntax, Semantics, Entailment, Derivation. Predicate Calculus Representation [Ch 7]

CS 771 Artificial Intelligence. First order Logic

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

Formal Logic. The most widely used formal logic method is FIRST-ORDER PREDICATE LOGIC

Knowledge Representation

CS344: Introduction to Artificial Intelligence. Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 10 Club and Circuit

Deliberative Agents Knowledge Representation II. First Order Predicate Logic

Looking at a two binary digit sum shows what we need to extend addition to multiple binary digits.

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

Structured Descriptions & Tradeoff Between Expressiveness and Tractability

ARTIFICIAL INTELLIGENCE

EECS 1028 M: Discrete Mathematics for Engineers

References A CONSTRUCTIVE INTRODUCTION TO FIRST ORDER LOGIC. The Starting Point. Goals of foundational programmes for logic:

Axiomatized Relationships Between Ontologies. Carmen Chui

An Introduction to Description Logics

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

Deliberative Agents Knowledge Representation I. Deliberative Agents

Introduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have

Overview. An Introduction to applied ontology. Information Integration. The ideal situation. Intro and motivation: Why do we need ontologies?

Formalizing knowledge-how

Verification of Time Ontologies with Points and Intervals

On the Evolution of the Concept of Time

Unified Foundational Ontology and Ontology Testing

Ontological Analysis! and Conceptual Modelling! an introduction

A Tableau Calculus for Minimal Modal Model Generation

Breaking de Morgan s law in counterfactual antecedents

Merging Top Level Ontologies for Scientific Knowledge Management

Modeling Ontological Structures with Type Classes in Coq

An Upper Ontology of Event Classifications and Relations

Propositional Logic: Logical Agents (Part I)

PRUNING PROCEDURE FOR INCOMPLETE-OBSERVATION DIAGNOSTIC MODEL SIMPLIFICATION

Avoiding IS-A Overloading: The Role of Identity Conditions in Ontology Design

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

The Bayesian Ontology Language BEL

Dynamic Semantics. Dynamic Semantics. Operational Semantics Axiomatic Semantics Denotational Semantic. Operational Semantics

Chapter 03: Computer Arithmetic. Lesson 03: Arithmetic Operations Adder and Subtractor circuits Design

On Terminological Default Reasoning about Spatial Information: Extended Abstract

Scientific Explanation- Causation and Unification

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

EMMO. the EUROPEAN MATERIALS MODELLING ONTOLOGY

Description Logics. an introduction into its basic ideas

Carry Look Ahead Adders

Outline. Structure-Based Partitioning of Large Concept Hierarchies. Ontologies and the Semantic Web. The Case for Partitioning

Description Logics: an Introductory Course on a Nice Family of Logics. Day 2: Tableau Algorithms. Uli Sattler

Propositional Logic. Logical Expressions. Logic Minimization. CNF and DNF. Algebraic Laws for Logical Expressions CSC 173

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

KR: First Order Logic - Intro

Experiment 7: Magnitude comparators

A Methodology for the Development & Verification of Expressive Ontologies

Basing Decisions on Sentences in Decision Diagrams

CPE100: Digital Logic Design I

Conceptual Modeling of Formal and Material Relations Applied to Ontologies

A Description Logic with Concrete Domains and a Role-forming Predicate Operator

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

Lecture Notes: Axiomatic Semantics and Hoare-style Verification

A conceptualization is a map from the problem domain into the representation. A conceptualization specifies:

Lecture #14: NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition.

NP-Complete problems

Equalities and Uninterpreted Functions. Chapter 3. Decision Procedures. An Algorithmic Point of View. Revision 1.0

Developing Modal Tableaux and Resolution Methods via First-Order Resolution

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

Propositional Logic Review

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

OWL Semantics COMP Sean Bechhofer Uli Sattler

Lecture 11: Proofs, Games, and Alternation

Non-Axiomatic Logic (NAL) Specification. Pei Wang

07 Practical Application of The Axiomatic Method

Proving simple set properties...

Managing Geosemantic Diversity: Repositories & Patterns

Combinational Logic Design Combinational Functions and Circuits

An Introduction to Description Logics: Techniques, Properties, and Applications. NASSLLI, Day 2, Part 2. Reasoning via Tableau Algorithms.

2. Introduction to commutative rings (continued)

On Axiomatic Rejection for the Description Logic ALC

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2

A Survey of Temporal Knowledge Representations

EXPERT SYSTEM FOR POWER TRANSFORMER DIAGNOSIS

Object Oriented Knowledge Bases in Logic Programming. Vinay K. Chaudhri Stijn Heymans Michael Weseel Son Cao Tran

UPPER AND LOWER SET FORMULAS: RESTRICTION AND MODIFICATION OF THE DEMPSTER-PAWLAK FORMALISM

Modeling Ontologies Using OWL, Description Graphs, and Rules

Modal logics: an introduction

LOGIC PROPOSITIONAL REASONING

To appear in: N. Guarino and R. Poli (eds.): Formal Ontology in Conceptual Analysis and. February 1994

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Model Theory in the Univalent Foundations

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms

Tree sets. Reinhard Diestel

Transcription:

(LOGICAL) DOMAIN MODELLING Domain Modelling: An Example Provision of a formal, in particular logical language for knowledge representation. Application of these means to represent the formal structure and the general facts of an application domain. Application of the formal language to represent concrete application situations (individuals, instances). The construction of a knowlege base ( knowledge engineering ) comprises: Determination of the domain Determination of the domain concepts Representation of the objects and relations in the domain. We begin by studying an example of modelling a simple domain with First Order Logic. We assume some familiarity with standard FOL; more general issues will be taken up in the next chapter. Here we ask how a modelling task can be achieved with FOL, and which requirements modelling tasks impose on logical languages. Furthermore, we outline a general framework for formal ontologies. G. Görz, FAU, Inf.8 4 1 G. Görz, FAU, Inf.8 4 2 Example Domain: Electronic Circuits (Russell/Norvig) Modelling Steps 1. What s the subject matter? Which tasks shall be solved with the help of the domain model? 2. Putting down the domain vocabulary: predicates, functions, relations, and constants terminological framework of the formal ontology. 3. Expressing general rules which hold in the domain. If necessary, revise the domain terminology in order to express the rules clearly and concisely and to keep the set of rules rather small. Rules correspond to (material) axioms, by means of which the inference procedure can derive statements about the domain. 4. Constructing an actual situation description with the creation of instances. 5. Posing queries to the inference procedure. G. Görz, FAU, Inf.8 4 3 G. Görz, FAU, Inf.8 4 4

Questions During the Modelling Process For the statements and rules: What are the validity or truth conditions? Which facts meet a particular statement? Generality? Potential for generalization? Relationships and connections, in particular among super- and subclasses? Example: Electronic Circuits 1. Identify the Task and Assemble the Relevant Knowledge Digital circuits consist of wires (connections) and gates. Signals flow along wires to the input terminals of gates, and each gate produces a signal on the output terminal that flows along another wire. There are four kinds of gates: AND, OR, XOR with two terminals and NOT with one. All gates have exactly one output terminal. Circuits assembled from gates, have input and output terminals. Goal: Analysis of designs Do they meet their specification? G. Görz, FAU, Inf.8 4 5 G. Görz, FAU, Inf.8 4 6 We have to represent: circuits, their terminals and the corresponding signals. To represent the signals we need representations of particular gates and of types of gates. These objects suffice to represent the connectivity of the terminals. Nothing else has to be considered for the given goal but for other goals, e.g. error diagnosis. 2. Decide on the Domain Vocabulary Distinguish a gate from other gates: Naming with constants X 1, X 2,... Types of gates: typechecking-function Type(X 1 )=XOR or -predicate Type(X 1,XOR) Terminals: constants, or, better: functions Out(1,X 1 ), etc. Connectivity: predicate Connected, e.g., Connected(Out(1,X 1 ),In(1,X 2 )) Signals: function Signal(T erminal), two-valued: 1, 0 G. Görz, FAU, Inf.8 4 7 G. Görz, FAU, Inf.8 4 8

3. Encode General Knowledge of the Domain by Rules In our domain seven rules are sufficient: 1. If two terminals are connected, then they have the same signal t 1,t 2.Connected(t 1,t 2 ) Signal(t 1 )=Signal(t 2 ). 2. The signal at every terminal is either on or off: t.signal(t) =1 Signal(t) =0. 1 0 3. OR gate: output signal is on iff any of its input signals is on.t ype(g) =OR (Signal(Out(1,g)) = 1 g n.signal(in(n, g)) = 1.). 4. AND gate: output signal is off iff any of its input signals is off.t ype(g) =AND (Signal(Out(1,g)) = 0 g.signal(in(n, g)) = 0.). n 5. XOR gate: output signal is on iff its input signals are different g.t ype(g) =XOR (Signal(Out(1,g)) = 1 Signal(In(1,g)) Signal(In(2,g))). 6. NOT gate: output signal is complementary to the input signal.t ype(g) =NOT Signal(Out(1,g)) Signal(In(1,g)). g G. Görz, FAU, Inf.8 4 9 G. Görz, FAU, Inf.8 4 10 Example: cf. figure 4. Instantiation: Specific Problem Instance Type(X 1 )=XOR Type(X 2 )=XOR Type(A 1 )=AND T ype(a 2 )=AND Type(O 1 )=OR Connected(Out(1,X 1 ),In(1,X 2 )) Connected(In(1,C 1 ),In(1,X 1 )) Connected(Out(1,X 1 ),In(2,A 2 )) Connected(In(1,C 1 ),In(1,A 1 )) Connected(Out(1,A 2 ),In(1,O 1 )) Connected(In(2,C 1 ),In(2,X 1 )) Connected(Out(1,A 1 ),In(2,O 2 )) Connected(In(2,C 1 ),In(2,A 1 )) Connected(Out(1,X 2 ),Out(1,C 1 )) Connected(In(3,C 1 ),In(2,X 2 )) Connected(Out(1,O 1 ),Out(2,C 1 )) Connected(In(3,C 1 ),In(1,A 2 )) 5. Pose Queries to the Inference Procedure What combination of inputs would cause the first output of C 1 (the sum bit) to be off and the second output of C 1 (the carry bit) to be on? Answer: (i 1 =1i 2 =1i 3 =0) (i 1 =1i 2 =0i 3 =1) (i 1 =0i 2 =1i 3 =1) What are the possible sets of values of all the terminals for the adder circuit? i 1,i 2,i 3,o 1,o 2.Signal(In(1,C 1 )) = i 1 Signal(In(2,C 1 )) = i 2 Signal(In(3,C 1 )) = i 3 Signal(Out(1,C 1 )) = o 1 Signal(Out(2,C 1 )) = o 2. Answer: Complete input-output table for the device can be used to check that it does in fact add its inputs correctly: circuit verification. G. Görz, FAU, Inf.8 4 11 G. Görz, FAU, Inf.8 4 12

Formal Ontologies Formal ontologies consist of (formal) definitions ( descriptions ) of the concepts and relations in a domain: The concepts (also: classes, categories) result from predication and abstraction, represented by predicates. Question: What? substantia (as opposed to function: How?). Relations between concepts result from predicator rules and are represented in a super-/sub-concept hierarchy: hyponymy ( divisio ); is-relation Concepts are assigned properties ( roles, attributes), to denote accidentia, represented by (binary) relations. has-relation (as opposed to part-whole mereonymy, partitio ) Roles may be restricted: constraints Further (content-based) relations between concepts (constraints) are laid down by rules ( axioms ). Individuals: Instances of classes (tokens of types). A formal ontology (of a domain) defines, how and about which objects, substances, aggregates, changes, events, actions, time and place specifications, etc. can be spoken. G. Görz, FAU, Inf.8 4 13 G. Görz, FAU, Inf.8 4 14 Modelling Decisions: Concepts and Roles What shall be represented as a concept, what as a property (role)? Disjointness of concepts; Partitions (disjoint exhaustive partitions) Taxonomic hierarchy (super-/sub-concept relations); genera and species ( differentia specifica ); role hierarchy Inheritance of properties Reification of concepts: predicates become objects of the language in order to state assertions about the concept proper not about its instances (extension). Typicality of instances and natural kinds prototypes (are instances!) vs. classes The problem of defaults Generalizations of Formal Domain Ontologies Special formal domain ontologies often make simplifying assumptions (cf. example): Time is not represented; Signals are fixed and the propagation of signals is not represented; The structure of the circuits remains constant. Generalizations: Consider signals at particular time points, take into account length of connections and delays during propagation in connections and gates simulation of temporal circuit properties G. Görz, FAU, Inf.8 4 15 G. Görz, FAU, Inf.8 4 16

Consider spontaneous changes in the circuits structure or the gates properties error diagnosis, investigations of reliability Transition from the topological connection structure to a realistic geometric representation of the layout electromagnetical effects. General Formal Ontologies Can we achieve a convergence to general formal ontologies by generalizations of special formal domain ontologies?? Each general ontology should in combination with domain specific axioms be applicable in special domains; in nontrivial applications often a union of different domain models is necessary (simultaneous use for problem solving). Components of general formal ontologies Concepts (also: categories, classes, types) Physical objects, substances Abstract objects G. Görz, FAU, Inf.8 4 17 G. Görz, FAU, Inf.8 4 18 Composite objects, part-whole relations (mereonymic hierarchies) Time, space, change; measures Events and processes Beliefs, mental objects Example of a Top Level Ontology (Russell/Norvig) G. Görz, FAU, Inf.8 4 19 G. Görz, FAU, Inf.8 4 20

Reference and Application Ontologies...a further generalization step Reference ontologies Generic, universal conceptual inventory Representation language and fundamental distinctions Foundational relations parts and wholes (mereonymy), similarity, dependence, connection, inherence, temporal order Application ontologies Modelling particular application domains Reference Ontologies Characteristics Theoretical focus on (axiomatic) representation Methodological emphasis on accuracy and comprehensiveness Metaclass schema Use General theoretical framework Generic upper ontology (as far as computationally tractable) Is formal reconstruction independent of goals? Problems: Merging ontologies; connecting general with domain specific ontologies G. Görz, FAU, Inf.8 4 21 G. Görz, FAU, Inf.8 4 22 Building / Selecting a Top Level Ontology Porphyrius Tree Approaches rooted in philosophy Aristotle s category system: substance, quantity, quality, relation, where or when or being-in-a-position or having or doing or being-affected and Porphyrean trees; Kant s category table; Brentano; Sowa; Methodologically clean formal ontologies: DOLCE (Guarino) Approaches rooted in a disciplinary view according to specific needs, e.g. computational linguistics Knowledge engineering approaches, e.g. SUMO (Standard Upper Merged Ontology), CYC: inter-operability! G. Görz, FAU, Inf.8 4 23 G. Görz, FAU, Inf.8 4 24

SUMO as a Generic Base Model ISA-Hierarchy of basal concepts: Upper levels of SUMO (Standard Upper Merged Ontology) a pragmatic, empiric approach Entity Physical Object SelfConnectedObject Region Substance CorpuscularObject Collection Process Abstract Class Set Relation Proposition Quantity Number PhysicalQuantity Graph Attribute DOLCE (Guarino et al.): A Systematic Approach to the construction and Remodelling of Ontologies... just a few remarks Re-visiting conceptual modelling constructs Instantiation Generalization Association Aggregation G. Görz, FAU, Inf.8 4 25 G. Görz, FAU, Inf.8 4 26 E.g.: particulars and universals; instance-of vs. membership; subsumption vs. instantiation, composition, disjunction, polysemy, constitution; identity; part-of vs. part-whole relations; attributes vs. arbitrary relations. DOLCE: a Descriptive Ontology for Linguistic and Cognitive Engineering Instead of a single upper level, provide a small set of foundational ontologies A first reference module for the foundational ontology library Strong cognitive bias (perception, culture, social conventions) Rich axiomatization Categories as conceptual containers G. Görz, FAU, Inf.8 4 27 G. Görz, FAU, Inf.8 4 28

DOLCE: Basic Categories (Guarino) DOLCE: Basic Relations (Guarino) Parthood Between quality regions (immediate) Between arbitrary objects (temporary) Dependence Specific/generic constant dependence Constitution Inherence (between a quality and its host) Quale Between a quality and its region (immediate, for unchanging ent) Between a quality and its region (temporary, for changing ent) Participation Representation G. Görz, FAU, Inf.8 4 29 G. Görz, FAU, Inf.8 4 30 DOLCE: Properties (Guarino) Representation Languages for Formal Ontologies Frame Languages (Fikes) Object-oriented representation languages Class subclass taxonomies Prototype descriptions of class instances Frame systems perform standard set of inferences Inheritance of attribute values and constraints Type checking of attribute values Checking number of attribute values Open Knowledge Base Connectivity (OKBC) Later: Rephrasing in Description Logics?!? G. Görz, FAU, Inf.8 4 31 G. Görz, FAU, Inf.8 4 32