Logics for Data and Knowledge Representation

Slides:



Advertisements
Similar presentations
1 Knowledge Representation Introduction KR and Logic.
Advertisements

LDK R Logics for Data and Knowledge Representation Exercises: First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified.
C-OWL: contextualizing ontologies Fausto Giunchiglia October 22, 2003 Paolo Bouquet, Fausto Giunchiglia, Frank van Harmelen, Luciano Serafini, and Heiner.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Knowledge Representation I Suppose I tell you the following... The Duck-Bill Platypus and the Echidna are the only two mammals that lay eggs. Only birds.
Logics for Data and Knowledge Representation Modeling Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia, Rui Zhang.
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
Formal Aspects of Computer Science – Week 12 RECAP Lee McCluskey, room 2/07
Reasoning with context in the Semantic Web … or contextualizing ontologies Fausto Giunchiglia July 23, 2004.
LDK R Logics for Data and Knowledge Representation Context Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation Propositional Logic: Reasoning Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
LDK R Logics for Data and Knowledge Representation Modeling First version by Alessandro Agostini and Fausto Giunchiglia Second version by Fausto Giunchiglia.
Logics for Data and Knowledge Representation Exercises: Modeling Fausto Giunchiglia, Rui Zhang and Vincenzo Maltese.
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
LDK R Logics for Data and Knowledge Representation Context Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Pattern-directed inference systems
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Logics for Data and Knowledge Representation Languages for Data Representation First version by Alessandro Agostini and Fausto Giunchiglia Second version.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation PL of Classes.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 8.
LDK R Logics for Data and Knowledge Representation Propositional Logic: Reasoning First version by Alessandro Agostini and Fausto Giunchiglia Second version.
LDK R Logics for Data and Knowledge Representation Query languages Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
Logics for Data and Knowledge Representation Exercises: ClassL Fausto Giunchiglia, Rui Zhang and Vincenzo Maltese.
LDK R Logics for Data and Knowledge Representation Context Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
Formal Semantics Purpose: formalize correct reasoning.
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
Mathematical Logics Course introduction. Forehead  Lecturers: Fausto Giunchiglia, Vincenzo Maltese  Scheduling: Tuesday 8:30-10:30, room A107 Thursday.
LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
Knowledge Representation Lecture 2 out of 5. Last Week Intelligence needs knowledge We need to represent this knowledge in a way a computer can process.
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Exercises: First Order Logics (FOL)
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
From Knowledge Organization (KO) to Knowledge Representation (KR)
Logics for Data and Knowledge Representation
Propositional Logic: exercises
Logics for Data and Knowledge Representation
Knowledge Representation and Inference
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Complexity of Contextual Reasoning KR, Doctoral Consortium
Mathematical Logics Course introduction 1.
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Knowledge Representation I (Propositional Logic)
CSNB234 ARTIFICIAL INTELLIGENCE
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Introduction to Computational Linguistics
Representations & Reasoning Systems (RRS) (2.2)
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Presentation transcript:

Logics for Data and Knowledge Representation Context Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia, Rui Zhang and Vincenzo Maltese

Syntax: formation rules First order formulas <term> ::= <variable> | <constant> | <function sym> (<term>{,<term>}*) <atomic formula> ::= <predicate sym> (<term>{,<term>}*) | <term> = <term> <wff> ::= <atomic formula> | ¬<wff> | <wff> ∧ <wff> | <wff> ∨ <wff> | <wff> → <wff> | ∀ <variable> <wff> | ∃ <variable> <wff> Contextual formulas <cwff> ::= i : <wff> for each i ∈ I (also called i-formula or Li-formula) Using contextual formulas we turn a meta-theoretic object (the name i of a context) into a theoretic object (an i-formula i : ψ) A contextual formula is a kind of labeled formula 2

Local model semantics Local model semantics (LMS) Provide the meaning of the sentences and model reasoning as logical consequence over a multi-context language. LMS formalizes: Principle of Locality We never consider all we know, but rather a very small subset of it Modeling reasoning which uses only a subset of what reasoners actually know about the world The part being used while reasoning is what we call a context, i.e., a local theory Ti Principle of Compatibility There is compatibility among the kinds of reasoning performed in different contexts 3

Exercise: viewpoints Mr.1 Mr.2 Consider a ‘magic box’ composed of 2 x 3 cells where: Mr.1 sees one ball on the left and one on the right Mr.2 sees one ball in the center Provide the local views, contextual formulas and the compatible situations Local views: Contextual formulas: 1: L  R 2: C  L  R L R Mr.1 Compatible situations: L C R C = {<c1,c2>} c1= { I : I(L) = T, I(R) = T} c2= { I : I(C) = T, I(L) = F, I(R) = F} Mr.2 4

Exercise: viewpoints (II) Consider a ‘magic box’ composed of 2 x 3 cells where: Mr.1 sees one ball either on the left or one ball on the right Mr.2 sees one ball all over the places Provide the local views, contextual formulas and the compatible situations Local views: Contextual formulas: 1: (L  R)  (L  R) 2: L  C  R L R L R Mr.1 Compatible situations: L C R C = {<c1,c2>} c1= { I : I(L) = T, I(R) = F; J : J(L) = F, I(R) = T} c2= { I : I(L) = T, I(C) = T, I(R) = T} Mr.2 5

Exercise: viewpoints (III) Consider a ‘magic box’ composed of 2 x 3 cells where: Mr.1 sees two balls Mr.2 sees one ball Provide the local views, contextual formulas and the compatible situations Local views: Contextual formulas: L R 1: L  R 2: (L  C   R)  (L  C  R)  (L  C  R) Mr.1 L C R L C R Mr.2 L C R 6

Exercise: viewpoints (III) cont. Consider a ‘magic box’ composed of 2 x 3 cells where: Mr.1 sees two balls Mr.2 sees one ball Provide the local views, contextual formulas and the compatible situations Local views: Compatible situations: L R Intuitively, the balls must be in the same column as seen from Mr. 2 such that the first hides the second. C = {<c1,c2>} c1= { I : I(L) = T, I(R) = T} c2= { I : I(L) = T, I(C) = F, I(R) = F; J : J(L) = F, J(C) = T, J(R) = F; K : K(L) = F, K(C) = F, K(R) = T;} Mr.1 L C R L C R Mr.2 L C R 7

Exercise: viewpoints (IV) Consider a ‘magic box’ composed of 2 x 2 cells where: Mr.1 sees two balls Mr.2 sees two balls Mr.3, watching from the top, sees two balls Provide the local views, contextual formulas and the compatible situations Local views: L R Mr.1 Mr.2 L R Mr.3 A B C D 8

Exercise: bridges color black colour white Consider the following two classifications and determine compatibilities color black colour white 1: color  2: colour C = {<c1,c2>} c1= { I : I(color) = T, …} c2= { I : I(colour) = T, …} 9