Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Ontology as a logic of intensions Marie Duží, Martina Číhalová, Marek Menšík VSB–Technical University Ostrava, Department of Computer Science FEI, Silesian.

Similar presentations


Presentation on theme: "1 Ontology as a logic of intensions Marie Duží, Martina Číhalová, Marek Menšík VSB–Technical University Ostrava, Department of Computer Science FEI, Silesian."— Presentation transcript:

1 1 Ontology as a logic of intensions Marie Duží, Martina Číhalová, Marek Menšík VSB–Technical University Ostrava, Department of Computer Science FEI, Silesian University in Opava, FPF, Institute of Computer Science Czech Republic

2 2 Content Ontology and Knowledge Representation Languages for Ontology Specification Ontology Content Logic of Intensions ( TIL in Brief ) Requisite Relation Part-whole Relation Integrity Constraints – i nference rules (presupposition vs. mere e ntailment)

3 3 Ontology and Knowledge Representation Knowledge representation: multidisciplinary discipline that applies theories and tools of logic and ontology comprises knowledge base contingent facts contingent facts (like values of empirical attributes). and ontology design taxonomy of entities that does not depend on states-of-affairs taxonomy of entities that does not depend on states-of-affairs

4 4 Ontology and Knowledge Representation ontology Why do we need an ontology? To make hidden knowledge explicit and logically tractable. ontology How do we build an ontology? expressive explicit logically tractable By applying an expressive semantic framework in order to make all the semantically salient features of knowledge specification explicit and logically tractable.

5 5 Languages for Ontology Specification F -calculi DL – description logic RDF – Resource Description Framework OIL, DAML-OIL, DAML+OIL OWL – Ontology Web Language based on DL SKIF (Possibility to mention properties) SWRL – Semantic Web Rule Language OWL and RuleML

6 6 Well-defined ontology should serve as: universal library, thebackdrop work of computational agents universal library, the backdrop work of computational agents integrating a knowledge base and proces development integrating a knowledge base and proces development However, current ontology languages do not make it possible to modalities express modalities (what is necessary and what is contingent), three kinds of context to distinguish three kinds of context, viz. extensional level extensional level of objects like individuals, numbers, functions (-in-extension), intensional level intensional level of properties, propositions, offices and roles, and finally hyperintensional level of concepts hyperintensional level of concepts (i.e. algorithmically structured procedures). Concepts of n-ary relations are unreasonably modelled by properties. Ontology language should be universal, highly expressive, with transparent semantics and meaning driven axiomatisation. Ontology language should be universal, highly expressive, with transparent semantics and meaning driven axiomatisation.

7 7 Procedural Semantics of Hyperintensional Logic (TIL) Procedural semantics Procedural semantics contrasts with set-theoretical denotational semantics. denotational approach denotational approach  the meaning of ‘E’ = the extra- linguistic entity denoted (or referred to) by ‘E’. hyperintensional procedural semantics hyperintensional procedural semantics  expressions encode algorithmically structured procedures producing either extensional or intensional entities or lower-order procedures as their products. Algorithmic or computational turn: Algorithmic or computational turn: the early 1970s, Tichý introduced his notion of construction as abstract procedure (see also Moschovakis, 1994).

8 8 TIL constructions (are structured procedures) a) Atomic constructions (consisting of just one constituent: itself): supply objects on which molecular constructions operate Variables Variables x, w, t, … v(aluation)-construct entities Trivialization 0 X Trivialization 0 X constructs X b) Molecular constructions (consisting of other constituents than themselves) Composition [X X 1 …X n ] v-constructs the value of f at a f aotherwise (v-)improper f aotherwise (v-)improper Closure [ x 1 …x n X] Closure [ x 1 …x n X] v-constructs a function f Double Execution improper Double Execution 2 X: X  Y, Y  Z, then 2 X  Z; otherwise (v-)improper

9 9 TIL types: ramified hierarchy 1. Types of order 1 1. Types of order 1 (non-constructions) Base Base of atomic types: { , , ,  } Functional typespartial Functional types: (   1 …  n ), i.e. the set of partial functions (  1  …   n )   2. Constructions of order n 2. Constructions of order n: v-construct objects of types of order n 3. Types of order n+1 3. Types of order n+1 (constructions and functions involving constructions in their domain or range) type of order n+1 The collection of constructions of order n,  n, is the type of order n+1 type of order n+1 (   1 …  n ) involving  n is the type of order n+1

10 10 Example  ‘Dividing any number by 0 is improper’ Improper /(  1 ) – the class of constructions of order 1 that are v- improper for any valuation v Divide /(  ) – the function of dividing; x   ; 0/  : 0 [ 0 Improper 0 [ 0 Divide x 0 0]]/  2, v- constructs True  ‘Tom knows that dividing any number by 0 is improper’;  Know /(((  3 )  )  ), (  3 )  0 w t [ 0 Know wt 0 Tom 0 [ 0 Improper 0 [ 0 Divide x 0 0]]]

11 11 Ontology Content 1. Conceptual (terminological) dictionary primitive concepts compound concepts (ontological definitions of entities) the most important descriptive attributes, in particular identification of entities 2. Conceptual Relations contingent empirical relations between entities, in particular the part-whole relation analytical relations between intensions, i.e., requisites and essence, which give rise to ISA hierarchy 3. Integrity constraints (inference rules) Analytically necessary rules Nomologically necessary rules Common rules of ‘necessity by convention’

12 12 1. Conceptual dictionary primitive concepts 0 Car, 0 Vehicle, 0 Road, 0 Junction, 0 Driver, … compound concepts (ontological definitions of entities) ‘driver is a person with a driving license’ 0 Driver = w t x [[ 0 Person wt x ]  [ 0 Have wt x 0 Driving_License ]] the most important descriptive attributes, in particular identification of entities

13 13 2. Conceptual Relations analytical (necessary) requisites and essence ISA hierarchy analytical (necessary) relations between intensions, i.e., requisites and essence, which give rise to ISA hierarchy [ 0 Requisite 0 Vehicle 0 Car ] : necessarily, if something is a car then it is a vehicle:  w  t  x [[ 0 Car wt x ]  [ 0 Vehicle wt x ]] Requisite /(  (  )  (  )  ); Vehicle, Car /(  )  contingent typical empirical relations part- whole relation contingent typical empirical relations between entities, in particular the part- whole relation

14 14 3. Integrity constraints Analytically necessary Analytically necessary rules Necessarily, no car is a ship  w  t [ 0 No 0 Car wt 0 Ship wt ] Nomologically necessary Nomologically necessary rules No distinct physical objects can occur in the same place (at the same time) w  t  xy [ x  y  [ 0 Loc wt x ] = [ 0 Loc wt x ]] Common rules Common rules of ‘necessity by convention’ w t  x [ C …x … ] Use the right-hand side lane (if possible) The degree of necessity decreasing top-down  agents’ reasoning

15 15 Logic of Intensions: requisite relation obtains between intensions of any types; the most important types: Req 1 /(  (  )  (  )  ): an individual property is a requisite of another property. Req 2 /(     ): an individual office is a requisite of another such office. Req 3 /(  (  )    ): an individual property is a requisite of an individual office. Req 4 /(   (  )  ): an individual office is a requisite of an individual property. requisite Definition : “Y is a requisite of X” iff “necessarily whatever occupies/instantiates X at  w, t  it also occupies/instantiates Y at this  w, t .”

16 16 Requisite relations between properties Req 1 /(  (  )  (  )  ): basic relation that gives rise to ISA taxonomies explicitly record in ontology inheritance hierarchies of intensions based on requisite relations establish inheritance of attributes and possibly also of operations quasi-order Claim 1 Req1 is a quasi-order on the set of  - properties. Proof obvious

17 17 Requisite relations between properties Due to partiality – not anti-symmetric (the property of having stopped smoking): X = w t x [ 0 StopSmoke wt x] Y = w t x [ 0 True wt w t [ 0 StopSmoke wt x]] antisymmetry In order to obtain week partial order, we need antisymmetry; apply the usual “trick”: factor set of equivalent classes defined as follows: 0 Eq = pq [  x [[ 0 True wt w t [p wt x]] = [ 0 True wt w t [q wt x]]]]. [p] eq = q [ 0 Eq p q] and [Req 1 ’ [p] eq [q] eq ] = [Req 1 p q]. weak partial order Claim 2 Req1’ is a weak partial order on the factor set of the set of  -properties with respect to Eq. Proof obvious

18 18 Part-whole relation (modest individual anti-essentialism) non-empty essential core EssEss If an individual i has a property P necessarily (in all worlds and times), then P is a constant or partly constant function. In other words, the property has a non-empty essential core Ess, where Ess is a set of individuals that have the property necessarily, and i is an element of Ess. objection frequently voiced objection: If, for instance, Tom’s only car is disassembled into its elementary physical parts, then Tom’s car no longer exists; hence, the property of being a car is essential of the individual referred to by ‘Tom’s only car’. First, what is denoted (as opposed to referred to) by ‘Tom’s only car’ is not an individual, but an individual office/role /  . Second, the individual referred to as ‘Tom’s only car’ does not cease to exist even after having been taken apart into its most elementary parts. It has simply lost some properties, among them the property of being a car, the property of being composed of its current parts, etc, while acquiring some other properties.

19 19 Part-whole relation Question Which parts are essential for an individual in order to have a property P ? For instance, the property of having an engine is essential for the property of being a car intensions We have an instance of a requisite relation between intensions

20 20 Part-whole relation contingently Part-whole relation obtains contingently between individuals which consist of other individuals and thereby create a mereological sum. Being a part of is a relation between individuals, not between intensions. From a logical point of view a car is not a structured whole that organizes its parts in a particular manner. no inheritance or implicative relation There is no inheritance or implicative relation between the respective properties ascribed to a whole and its individual parts.

21 21 Some other properties of intensions due to the way they are constructed Some higher-order properties of intensions are necessarily valid due to the way they are constructed. concepts modulo  - and  -transformation procedurally isomorphic constructions relations between properties of concepts Since we explicate concepts as closed constructions modulo  - and  -transformation, i.e., procedurally isomorphic constructions, we can also speak about mutual relations between and properties of concepts which define particular intensions, in particular:

22 22 Relations between concepts Incompatibility of concepts; Incompatibility of concepts; the populations of the defined properties are necessarily disjoint; Example: bachelor vs. married man Equivalence of concepts; Equivalence of concepts; the defined properties are one and the same property (in particular ontological definitions); Example: bachelor is an unmarried man Week-equivalence of concepts Week-equivalence of concepts, the defined properties are ‘almost the same’; Example: we echo the relation Eq between individual properties defined above Functionality of a relation-in-intension; Functionality of a relation-in-intension; necessarily, in each  w, t  -pair, a given relation R  A wt  B wt is a mapping f R : A wt  B wt assigning to each element of A at most one element of B Example: Each person has at most one driving license Inverse functionality of a relation-in-intension Inverse functionality of a relation-in-intension; necessarily, in each  w, t  -pair, a given relation-in-extension R  A wt  B wt is a mapping f R–1 : B wt  A wt assigning to each element of B wt at most one element of A wt.

23 23 Reasoning of agents based on ontology inference rules (mere) entailment and presupposition It is useful to include into ontology important inference rules, in particular the relations between hyper- propositions of (mere) entailment and presupposition P is a presupposition of S S |= P and non-S |= P Corollary : truth-value gap If non-P then neither S nor non-S is true  truth-value gap S merely entails P S |= P and neither (non-S |= P) nor (non-S |= non-P) (entailement: necessarily, P is true whenever S is true)

24 24 Topic-focus articulation focus Ftopic T Sentences communicate something ( focus F ) about something ( topic T ). F(T) schematic structure: F(T). topic T presupposition PP is entailed both by S and non-S The topic T of a sentence S is often associated with a presupposition P of S  P is entailed both by S and non-S. (1) “The critical situation (1) “The critical situation on the highway D1 was caused by the agent a”. presupposes that there be a critical situation on D1 w t [if 0 Crisis wt then [ 0 Cause wt 0 a 0 Crisis] else Fail] (2) “The agent a (2) “The agent a caused the critical situation on the highway D1”. merely entails that there be a critical situation on D1

25 25 If-then-else (the strict definition) Non-adequate analysis: [(Crisis  Caused-by-a) & (  Crisis  Fail)] The whole Composition fails even if it is the case of crisis Mechanism of lazy evaluation: procedural semantics hyper-intensional level The procedural semantics of TIL operates smoothly even at the hyper-intensional level of constructions: If P then C, else Dprocedure two phases The analysis of “If P then C, else D” is a procedure that decomposes into two phases: 1. on the basis of the condition P  v , select one of C, D as the procedure to be executed. 2. execute the selected procedure.

26 26 If-then-else (the strict definition) selection 1. The selection is realized by the Composition [ 0 the_only c [[P  [c= 0 C]]  [  P  [c= 0 D]]]] executed 2. the chosen construction c is executed (Double Execution) The schematic analysis of “If P then C else D”: 2 [ 0 the_only c [[P  [c= 0 C]]  [  P  [c= 0 D]]]]. “If P then C else Fail”: 2 [ 0 the_only c [P  [c= 0 C]]] Ifthenelse If Crisis then Caused by a else Fail w t 2 [ 0 the_only c [ 0 Crisis wt  [c = 0 [ 0 Cause wt 0 a 0 Crisis]]]]

27 27 Analytic schema of a sentence with a presupposition P “If P then S else Fail.” The corresponding schematic TIL construction w t 2 [ 0  c [P wt  [c= 0 S wt ]]]. contribute to the disamiguation In general, logic cannot disambiguate a sentence. Yet our logical analysis can substantially contribute to the disamiguation by making all the possible readings explicit and logically tractable. Thus the agent can ask: “What do you mean? This or that?”

28 28 Conclusion ‘ Logic and AI for Multi-Agent Systems’ (http://labis.vsb.cz/) TIL-Script Development of FIPA compliant computational variant of TIL, the TIL-Script language continue development into its full-fledged version equivalent to TIL calculus. Implementation of a method that decides a subset of the TIL- Script language computable by Prolog now the subset equivalent to standard FOL. Protégé-OWL OWL and TIL-Script We developed an extension of the editor Protégé-OWL so that to create an interface between OWL and TIL-Script. Sample test: 5 mobile agents (cars), 3 car parks and a GIS agent. GIS agent The GIS agent provided the mobile agents with ‘visibility’. Communicated in TIL-Script and started with minimal (but not overlapping) ontologies. learned new concepts During the test they learned new concepts and enriched their ontology. The agents’ goal was to find a vacant parking lot (out of 3 available) and park the car – succeeded.

29 29 Reference Duží, M., Jespersen, B., Materna, P. (2010): Procedural Semantics for Hyperintensional Logic, Berlin, Springer. Duží, M., Jespersen, B., Materna, P. (2010): Procedural Semantics for Hyperintensional Logic, Berlin, Springer.

30 30 Thank you for your attention Ifthenelse If questions then answers else Fail


Download ppt "1 Ontology as a logic of intensions Marie Duží, Martina Číhalová, Marek Menšík VSB–Technical University Ostrava, Department of Computer Science FEI, Silesian."

Similar presentations


Ads by Google