Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics...
Transcript of Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics...
![Page 1: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/1.jpg)
Introduction, Description Logics
Petr [email protected]
October 5, 2015
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 1 / 118
![Page 2: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/2.jpg)
Our plan
1 Course Information
2 Towards Description Logics
3 Logics
4 Semantic Networks and Frames
5 Towards Description Logics
6 ALC Language
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 2 / 118
![Page 3: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/3.jpg)
Course Information
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 3 / 118
![Page 4: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/4.jpg)
Course Information
web page:http://cw.felk.cvut.cz/doku.php/courses/ae4m33rzn/start
three basic topics: description logics, fuzzy (description) logic,probabilistic models
Please go through the course web page carefully !!!
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 4 / 118
![Page 5: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/5.jpg)
Course Information
web page:http://cw.felk.cvut.cz/doku.php/courses/ae4m33rzn/start
three basic topics: description logics, fuzzy (description) logic,probabilistic models
Please go through the course web page carefully !!!
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 4 / 118
![Page 6: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/6.jpg)
Course Information
web page:http://cw.felk.cvut.cz/doku.php/courses/ae4m33rzn/start
three basic topics: description logics, fuzzy (description) logic,probabilistic models
Please go through the course web page carefully !!!
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 4 / 118
![Page 7: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/7.jpg)
Technical Roadmap
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 5 / 118
![Page 8: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/8.jpg)
Technical Roadmap (2)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 6 / 118
![Page 9: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/9.jpg)
Technical Roadmap (3)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 7 / 118
![Page 10: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/10.jpg)
Towards Description Logics
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 8 / 118
![Page 11: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/11.jpg)
Semiotic Triangle
refers to ∼ modeled by ontologies; you can learn in AE0M33OSWcourse
represents ∼ studied by formal knowledge representation languages –this course
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 9 / 118
![Page 12: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/12.jpg)
Semiotic Triangle
refers to ∼ modeled by ontologies; you can learn in AE0M33OSWcourse
represents ∼ studied by formal knowledge representation languages –this course
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 9 / 118
![Page 13: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/13.jpg)
Ontologies
Ontologies
in IT are formal informational artifacts explicitely representing sharedconceptualization.
basic idea = we need to model (and reason) on concepts (i.e.“meanings”) not terms (i.e. “symbols”, “words”, “phrases”). Weneed to know, what our mean.compare words Man vs. Person.but we need to use words to model the concepts ...
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 10 / 118
![Page 14: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/14.jpg)
Ontologies (2)
Principle of application. A concept satisfies the principle of application ifwe are able to decide, whether an “object” belongs to theconcept or not. E.g. nice vs. red vs. woman.
Principle of identity. Each concept is equipped with a principle of identitysaying, what must be fulfilled for an object to belong to theconcept. E.g. an artificial key, birth number vs. particularhuman brain
Many concept types – universals vs. individuals, endurants vs. perdurants,etc.
... and much more
Ontologies can be represented formally, in order to exploitautomated reasoning on concepts/meanings.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 11 / 118
![Page 16: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/16.jpg)
Formal Ontologies
deal with proper representation of conceptual knowledge in a domain
background for many AI techniques, e.g.:
I knowledge management – search engines, data integrationI multiagent systems – communication between agentsI machine learning – language bias
involves many graphical/textual languages ranging from informal toformal ones, e.g. relational algebra, Prolog, RDFS, OWL, topic maps,thesauri, conceptual graphs
Most of them are based on some logical calculus.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 13 / 118
![Page 17: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/17.jpg)
Formal Ontologies
deal with proper representation of conceptual knowledge in a domain
background for many AI techniques, e.g.:
I knowledge management – search engines, data integrationI multiagent systems – communication between agentsI machine learning – language bias
involves many graphical/textual languages ranging from informal toformal ones, e.g. relational algebra, Prolog, RDFS, OWL, topic maps,thesauri, conceptual graphs
Most of them are based on some logical calculus.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 13 / 118
![Page 18: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/18.jpg)
Formal Ontologies
deal with proper representation of conceptual knowledge in a domain
background for many AI techniques, e.g.:I knowledge management – search engines, data integration
I multiagent systems – communication between agentsI machine learning – language bias
involves many graphical/textual languages ranging from informal toformal ones, e.g. relational algebra, Prolog, RDFS, OWL, topic maps,thesauri, conceptual graphs
Most of them are based on some logical calculus.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 13 / 118
![Page 19: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/19.jpg)
Formal Ontologies
deal with proper representation of conceptual knowledge in a domain
background for many AI techniques, e.g.:I knowledge management – search engines, data integrationI multiagent systems – communication between agents
I machine learning – language bias
involves many graphical/textual languages ranging from informal toformal ones, e.g. relational algebra, Prolog, RDFS, OWL, topic maps,thesauri, conceptual graphs
Most of them are based on some logical calculus.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 13 / 118
![Page 20: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/20.jpg)
Formal Ontologies
deal with proper representation of conceptual knowledge in a domain
background for many AI techniques, e.g.:I knowledge management – search engines, data integrationI multiagent systems – communication between agentsI machine learning – language bias
involves many graphical/textual languages ranging from informal toformal ones, e.g. relational algebra, Prolog, RDFS, OWL, topic maps,thesauri, conceptual graphs
Most of them are based on some logical calculus.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 13 / 118
![Page 21: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/21.jpg)
Formal Ontologies
deal with proper representation of conceptual knowledge in a domain
background for many AI techniques, e.g.:I knowledge management – search engines, data integrationI multiagent systems – communication between agentsI machine learning – language bias
involves many graphical/textual languages ranging from informal toformal ones, e.g. relational algebra, Prolog, RDFS, OWL, topic maps,thesauri, conceptual graphs
Most of them are based on some logical calculus.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 13 / 118
![Page 22: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/22.jpg)
Formal Ontologies
deal with proper representation of conceptual knowledge in a domain
background for many AI techniques, e.g.:I knowledge management – search engines, data integrationI multiagent systems – communication between agentsI machine learning – language bias
involves many graphical/textual languages ranging from informal toformal ones, e.g. relational algebra, Prolog, RDFS, OWL, topic maps,thesauri, conceptual graphs
Most of them are based on some logical calculus.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 13 / 118
![Page 23: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/23.jpg)
Logics for Ontologies
propositional logic
Example
“John is clever.′′ ⇒ ¬“John fails at exam.′′
first order predicate logic
Example
(∀x)(Clever(x)⇒ ¬((∃y)(Exam(y) ∧ Fails(x , y)))).
(propositional) modal logic
Example
�((∀x)(Clever(x)⇒ 3¬((∃y)(Exam(y) ∧ Fails(x , y))))).
... what is the meaning of these formulas ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 14 / 118
![Page 24: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/24.jpg)
Logics for Ontologies
propositional logic
Example
“John is clever.′′ ⇒ ¬“John fails at exam.′′
first order predicate logic
Example
(∀x)(Clever(x)⇒ ¬((∃y)(Exam(y) ∧ Fails(x , y)))).
(propositional) modal logic
Example
�((∀x)(Clever(x)⇒ 3¬((∃y)(Exam(y) ∧ Fails(x , y))))).
... what is the meaning of these formulas ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 14 / 118
![Page 25: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/25.jpg)
Logics for Ontologies
propositional logic
Example
“John is clever.′′ ⇒ ¬“John fails at exam.′′
first order predicate logic
Example
(∀x)(Clever(x)⇒ ¬((∃y)(Exam(y) ∧ Fails(x , y)))).
(propositional) modal logic
Example
�((∀x)(Clever(x)⇒ 3¬((∃y)(Exam(y) ∧ Fails(x , y))))).
... what is the meaning of these formulas ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 14 / 118
![Page 26: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/26.jpg)
Logics for Ontologies
propositional logic
Example
“John is clever.′′ ⇒ ¬“John fails at exam.′′
first order predicate logic
Example
(∀x)(Clever(x)⇒ ¬((∃y)(Exam(y) ∧ Fails(x , y)))).
(propositional) modal logic
Example
�((∀x)(Clever(x)⇒ 3¬((∃y)(Exam(y) ∧ Fails(x , y))))).
... what is the meaning of these formulas ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 14 / 118
![Page 27: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/27.jpg)
Logics for Ontologies
propositional logic
Example
“John is clever.′′ ⇒ ¬“John fails at exam.′′
first order predicate logic
Example
(∀x)(Clever(x)⇒ ¬((∃y)(Exam(y) ∧ Fails(x , y)))).
(propositional) modal logic
Example
�((∀x)(Clever(x)⇒ 3¬((∃y)(Exam(y) ∧ Fails(x , y))))).
... what is the meaning of these formulas ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 14 / 118
![Page 28: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/28.jpg)
Logics for Ontologies
propositional logic
Example
“John is clever.′′ ⇒ ¬“John fails at exam.′′
first order predicate logic
Example
(∀x)(Clever(x)⇒ ¬((∃y)(Exam(y) ∧ Fails(x , y)))).
(propositional) modal logic
Example
�((∀x)(Clever(x)⇒ 3¬((∃y)(Exam(y) ∧ Fails(x , y))))).
... what is the meaning of these formulas ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 14 / 118
![Page 29: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/29.jpg)
Logics for Ontologies
propositional logic
Example
“John is clever.′′ ⇒ ¬“John fails at exam.′′
first order predicate logic
Example
(∀x)(Clever(x)⇒ ¬((∃y)(Exam(y) ∧ Fails(x , y)))).
(propositional) modal logic
Example
�((∀x)(Clever(x)⇒ 3¬((∃y)(Exam(y) ∧ Fails(x , y))))).
... what is the meaning of these formulas ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 14 / 118
![Page 30: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/30.jpg)
Logics for Ontologies (2)
Logics are defined by their
Syntax – to represent concepts (defining symbols)
Semantics – to capture meaning of the syntactic constructs (definingconcepts)
Proof Theory – to enforce the semantics
Logics trade-off
A logical calculus is always a trade-off between expressiveness andtractability of reasoning.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 15 / 118
![Page 31: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/31.jpg)
Logics for Ontologies (2)
Logics are defined by their
Syntax – to represent concepts (defining symbols)
Semantics – to capture meaning of the syntactic constructs (definingconcepts)
Proof Theory – to enforce the semantics
Logics trade-off
A logical calculus is always a trade-off between expressiveness andtractability of reasoning.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 15 / 118
![Page 32: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/32.jpg)
Logics for Ontologies (2)
Logics are defined by their
Syntax – to represent concepts (defining symbols)
Semantics – to capture meaning of the syntactic constructs (definingconcepts)
Proof Theory – to enforce the semantics
Logics trade-off
A logical calculus is always a trade-off between expressiveness andtractability of reasoning.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 15 / 118
![Page 33: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/33.jpg)
Propositional Logic
Example
How to check satisfiability of the formula A ∨ (¬(B ∧ A) ∨ B ∧ C ) ?
syntax – atomic formulas and ¬, ∧, ∨, ⇒
semantics (|=) – an interpretation assigns true/false to each formula.
proof theory (`) – resolution, tableau
complexity – NP-Complete (Cook theorem)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 16 / 118
![Page 34: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/34.jpg)
Propositional Logic
Example
How to check satisfiability of the formula A ∨ (¬(B ∧ A) ∨ B ∧ C ) ?
syntax – atomic formulas and ¬, ∧, ∨, ⇒semantics (|=) – an interpretation assigns true/false to each formula.
proof theory (`) – resolution, tableau
complexity – NP-Complete (Cook theorem)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 16 / 118
![Page 35: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/35.jpg)
Propositional Logic
Example
How to check satisfiability of the formula A ∨ (¬(B ∧ A) ∨ B ∧ C ) ?
syntax – atomic formulas and ¬, ∧, ∨, ⇒semantics (|=) – an interpretation assigns true/false to each formula.
proof theory (`) – resolution, tableau
complexity – NP-Complete (Cook theorem)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 16 / 118
![Page 36: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/36.jpg)
Propositional Logic
Example
How to check satisfiability of the formula A ∨ (¬(B ∧ A) ∨ B ∧ C ) ?
syntax – atomic formulas and ¬, ∧, ∨, ⇒semantics (|=) – an interpretation assigns true/false to each formula.
proof theory (`) – resolution, tableau
complexity – NP-Complete (Cook theorem)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 16 / 118
![Page 37: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/37.jpg)
First Order Predicate Logic
Example
What is the meaning of this sentence ?
(∀x1)((Student(x1) ∧ (∃x2)(GraduateCourse(x2) ∧ isEnrolledTo(x1, x2)))
⇒ (∀x3)(isEnrolledTo(x1, x3)⇒ GraduateCourse(x3)))
Student u ∃isEnrolledTo.GraduateCourse v ∀isEnrolledTo.GraduateCourse
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 17 / 118
![Page 38: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/38.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each termtrue/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 39: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/39.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each termtrue/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 40: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/40.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each termtrue/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 41: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/41.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each termtrue/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 42: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/42.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each termtrue/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 43: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/43.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each term
true/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 44: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/44.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each termtrue/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 45: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/45.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each termtrue/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 46: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/46.jpg)
First Order Predicate Logic – quick informal review
syntax – constructs involve
term (variable x , constant symbol JOHN, functionsymbol applied to terms fatherOf (JOHN))
axiom/formula (predicate symbols applied to termshasFather(x , JOHN), possibly glued togetherwith ¬, ∧, ∨, ⇒, ∀,∃)
universally closed formula formula without free variable((∀x)(∃y)hasFather(x , y) ∧ Person(y))
semantics – an interpretation (with valuation) assigns:
domain element to each termtrue/false to each closed formula
proof theory – resolution; Deduction Theorem, Soundness Theorem,Completeness Theorem
complexity – undecidable (Goedel)
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 18 / 118
![Page 47: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/47.jpg)
Open World Assumption
OWA
FOPL accepts Open World Assumption, i.e. whatever is not known is notnecessarily false.
As a result, FOPL is monotonic, i.e.
monotonicity
No conclusion can be invalidated by adding extra knowledge.
This is in contrary to relational databases, or Prolog that accept ClosedWorld Assumption.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 19 / 118
![Page 48: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/48.jpg)
Semantic Networks and Frames
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 20 / 118
![Page 49: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/49.jpg)
Semantic Networks
( c©wikipedia.org)
Nodes = entities (individuals, classes),
Edges = binary relations
The only possible inference isinheritance by means of is arelationship.
Example
Each Cat hasa Vertebrate, sinceeach Cat isa Mammal .
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 21 / 118
![Page 50: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/50.jpg)
Semantic Networks
( c©wikipedia.org)
Nodes = entities (individuals, classes),
Edges = binary relations
The only possible inference isinheritance by means of is arelationship.
Example
Each Cat hasa Vertebrate, sinceeach Cat isa Mammal .
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 21 / 118
![Page 51: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/51.jpg)
Semantic Networks
( c©wikipedia.org)
Nodes = entities (individuals, classes),
Edges = binary relations
The only possible inference isinheritance by means of is arelationship.
Example
Each Cat hasa Vertebrate, sinceeach Cat isa Mammal .
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 21 / 118
![Page 52: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/52.jpg)
Semantic Networks
( c©wikipedia.org)
Nodes = entities (individuals, classes),
Edges = binary relations
The only possible inference isinheritance by means of is arelationship.
Example
Each Cat hasa Vertebrate, sinceeach Cat isa Mammal .
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 21 / 118
![Page 53: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/53.jpg)
Semantic Networks (2)
However, this does not allowdistinguishing individuals (instances)and groups (classes).
To solve this, a new relationship type“is a kind of” ako can be introducedand used for inheritance, while is arelationships would be restricted toexpressing individual-grouprelationships.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 22 / 118
![Page 54: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/54.jpg)
Semantic Networks (3)
, are simple – from the point of logics they are not much more than abinary structure + ako and is a relationships with the followingsemantics:
relation(X ,Y ) ∧ ako(Z ,X )⇒ relation(Z ,Y ).
isa(X ,Y ) ∧ ako(Y ,Z )⇒ isa(X ,Z ).
ako(X ,Y ) ∧ ako(Y ,Z )⇒ ako(X ,Z ).
/ no way to express non-monotonous knowledge (like FOL).
/ no easy way to express n-ary relationships (reification needed).
/ no way to express binary relationships characteristics – transitivity,functionality, reflexivity, etc., or their hierarchies “to be a fathermeans to be a parent”, etc.,
/ no way to express more complex constructs, like cardinalityrestrictions: “Each person has at most two legs.”
Wordnet, Semantic Wiki, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 23 / 118
![Page 55: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/55.jpg)
Semantic Networks (3)
, are simple – from the point of logics they are not much more than abinary structure + ako and is a relationships with the followingsemantics:
relation(X ,Y ) ∧ ako(Z ,X )⇒ relation(Z ,Y ).
isa(X ,Y ) ∧ ako(Y ,Z )⇒ isa(X ,Z ).
ako(X ,Y ) ∧ ako(Y ,Z )⇒ ako(X ,Z ).
/ no way to express non-monotonous knowledge (like FOL).
/ no easy way to express n-ary relationships (reification needed).
/ no way to express binary relationships characteristics – transitivity,functionality, reflexivity, etc., or their hierarchies “to be a fathermeans to be a parent”, etc.,
/ no way to express more complex constructs, like cardinalityrestrictions: “Each person has at most two legs.”
Wordnet, Semantic Wiki, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 23 / 118
![Page 56: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/56.jpg)
Semantic Networks (3)
, are simple – from the point of logics they are not much more than abinary structure + ako and is a relationships with the followingsemantics:
relation(X ,Y ) ∧ ako(Z ,X )⇒ relation(Z ,Y ).
isa(X ,Y ) ∧ ako(Y ,Z )⇒ isa(X ,Z ).
ako(X ,Y ) ∧ ako(Y ,Z )⇒ ako(X ,Z ).
/ no way to express non-monotonous knowledge (like FOL).
/ no easy way to express n-ary relationships (reification needed).
/ no way to express binary relationships characteristics – transitivity,functionality, reflexivity, etc., or their hierarchies “to be a fathermeans to be a parent”, etc.,
/ no way to express more complex constructs, like cardinalityrestrictions: “Each person has at most two legs.”
Wordnet, Semantic Wiki, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 23 / 118
![Page 57: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/57.jpg)
Semantic Networks (3)
, are simple – from the point of logics they are not much more than abinary structure + ako and is a relationships with the followingsemantics:
relation(X ,Y ) ∧ ako(Z ,X )⇒ relation(Z ,Y ).
isa(X ,Y ) ∧ ako(Y ,Z )⇒ isa(X ,Z ).
ako(X ,Y ) ∧ ako(Y ,Z )⇒ ako(X ,Z ).
/ no way to express non-monotonous knowledge (like FOL).
/ no easy way to express n-ary relationships (reification needed).
/ no way to express binary relationships characteristics – transitivity,functionality, reflexivity, etc., or their hierarchies “to be a fathermeans to be a parent”, etc.,
/ no way to express more complex constructs, like cardinalityrestrictions: “Each person has at most two legs.”
Wordnet, Semantic Wiki, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 23 / 118
![Page 58: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/58.jpg)
Semantic Networks (3)
, are simple – from the point of logics they are not much more than abinary structure + ako and is a relationships with the followingsemantics:
relation(X ,Y ) ∧ ako(Z ,X )⇒ relation(Z ,Y ).
isa(X ,Y ) ∧ ako(Y ,Z )⇒ isa(X ,Z ).
ako(X ,Y ) ∧ ako(Y ,Z )⇒ ako(X ,Z ).
/ no way to express non-monotonous knowledge (like FOL).
/ no easy way to express n-ary relationships (reification needed).
/ no way to express binary relationships characteristics – transitivity,functionality, reflexivity, etc., or their hierarchies “to be a fathermeans to be a parent”, etc.,
/ no way to express more complex constructs, like cardinalityrestrictions: “Each person has at most two legs.”
Wordnet, Semantic Wiki, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 23 / 118
![Page 59: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/59.jpg)
Semantic Networks (3)
, are simple – from the point of logics they are not much more than abinary structure + ako and is a relationships with the followingsemantics:
relation(X ,Y ) ∧ ako(Z ,X )⇒ relation(Z ,Y ).
isa(X ,Y ) ∧ ako(Y ,Z )⇒ isa(X ,Z ).
ako(X ,Y ) ∧ ako(Y ,Z )⇒ ako(X ,Z ).
/ no way to express non-monotonous knowledge (like FOL).
/ no easy way to express n-ary relationships (reification needed).
/ no way to express binary relationships characteristics – transitivity,functionality, reflexivity, etc., or their hierarchies “to be a fathermeans to be a parent”, etc.,
/ no way to express more complex constructs, like cardinalityrestrictions: “Each person has at most two legs.”
Wordnet, Semantic Wiki, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 23 / 118
![Page 60: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/60.jpg)
Semantic Networks (3)
, are simple – from the point of logics they are not much more than abinary structure + ako and is a relationships with the followingsemantics:
relation(X ,Y ) ∧ ako(Z ,X )⇒ relation(Z ,Y ).
isa(X ,Y ) ∧ ako(Y ,Z )⇒ isa(X ,Z ).
ako(X ,Y ) ∧ ako(Y ,Z )⇒ ako(X ,Z ).
/ no way to express non-monotonous knowledge (like FOL).
/ no easy way to express n-ary relationships (reification needed).
/ no way to express binary relationships characteristics – transitivity,functionality, reflexivity, etc., or their hierarchies “to be a fathermeans to be a parent”, etc.,
/ no way to express more complex constructs, like cardinalityrestrictions: “Each person has at most two legs.”
Wordnet, Semantic Wiki, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 23 / 118
![Page 61: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/61.jpg)
Frames
frame: Skoda Favoritslots:
is a: carhas engine: four-stroke enginehas transmission system: manualhas carb: value: Jikov
default: Pierburg
more structured than semanticnetworks
forms that contain slots (binaryrelationships).
([MvL93])
Every slot has several facets(slot use restrictions), e.g.cardinality, defaults, etc.
, Facets allow non-monotonicreasoning.
, Daemons are triggers for actionsperfomed on facets (read, write,delete). Can be used e.g forconsistency checking.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 24 / 118
![Page 62: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/62.jpg)
Frames
frame: Skoda Favoritslots:
is a: carhas engine: four-stroke enginehas transmission system: manualhas carb: value: Jikov
default: Pierburg
more structured than semanticnetworks
forms that contain slots (binaryrelationships).
([MvL93])
Every slot has several facets(slot use restrictions), e.g.cardinality, defaults, etc.
, Facets allow non-monotonicreasoning.
, Daemons are triggers for actionsperfomed on facets (read, write,delete). Can be used e.g forconsistency checking.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 24 / 118
![Page 63: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/63.jpg)
Frames
frame: Skoda Favoritslots:
is a: carhas engine: four-stroke enginehas transmission system: manualhas carb: value: Jikov
default: Pierburg
more structured than semanticnetworks
forms that contain slots (binaryrelationships).
([MvL93])
Every slot has several facets(slot use restrictions), e.g.cardinality, defaults, etc.
, Facets allow non-monotonicreasoning.
, Daemons are triggers for actionsperfomed on facets (read, write,delete). Can be used e.g forconsistency checking.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 24 / 118
![Page 64: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/64.jpg)
Frames
frame: Skoda Favoritslots:
is a: carhas engine: four-stroke enginehas transmission system: manualhas carb: value: Jikov
default: Pierburg
more structured than semanticnetworks
forms that contain slots (binaryrelationships).
([MvL93])
Every slot has several facets(slot use restrictions), e.g.cardinality, defaults, etc.
, Facets allow non-monotonicreasoning.
, Daemons are triggers for actionsperfomed on facets (read, write,delete). Can be used e.g forconsistency checking.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 24 / 118
![Page 65: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/65.jpg)
Frames
frame: Skoda Favoritslots:
is a: carhas engine: four-stroke enginehas transmission system: manualhas carb: value: Jikov
default: Pierburg
more structured than semanticnetworks
forms that contain slots (binaryrelationships).
([MvL93])
Every slot has several facets(slot use restrictions), e.g.cardinality, defaults, etc.
, Facets allow non-monotonicreasoning.
, Daemons are triggers for actionsperfomed on facets (read, write,delete). Can be used e.g forconsistency checking.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 24 / 118
![Page 66: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/66.jpg)
Frames (2)
Example
Typically, Skoda Favorit has carb of type Pierburg, but this particularSkoda Favorit has carb of type Jikov.
frames can be grouped into scenarios that represent typical situations,e.g. going into a restaurant. [MvL93]
OKBC - http://www.ai.sri.com/ okbc
Protege - http://protege.stanford.edu/overview/protege-frames.html
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 25 / 118
![Page 67: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/67.jpg)
Frames (2)
Example
Typically, Skoda Favorit has carb of type Pierburg, but this particularSkoda Favorit has carb of type Jikov.
frames can be grouped into scenarios that represent typical situations,e.g. going into a restaurant. [MvL93]
OKBC - http://www.ai.sri.com/ okbc
Protege - http://protege.stanford.edu/overview/protege-frames.html
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 25 / 118
![Page 68: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/68.jpg)
Frames (2)
Example
Typically, Skoda Favorit has carb of type Pierburg, but this particularSkoda Favorit has carb of type Jikov.
frames can be grouped into scenarios that represent typical situations,e.g. going into a restaurant. [MvL93]
OKBC - http://www.ai.sri.com/ okbc
Protege - http://protege.stanford.edu/overview/protege-frames.html
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 25 / 118
![Page 70: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/70.jpg)
Frames and Semantics Networks – Summary
, very simple structures for knowledge representation,
, nonmonotonic reasoning,
/ ad-hoc reasoning procedures, that complicates (and broadensambiguity during) translation to First Order Predicate Logic (FOPL),
/ problems – querying, debugging.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 27 / 118
![Page 71: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/71.jpg)
Frames and Semantics Networks – Summary
, very simple structures for knowledge representation,
, nonmonotonic reasoning,
/ ad-hoc reasoning procedures, that complicates (and broadensambiguity during) translation to First Order Predicate Logic (FOPL),
/ problems – querying, debugging.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 27 / 118
![Page 72: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/72.jpg)
Frames and Semantics Networks – Summary
, very simple structures for knowledge representation,
, nonmonotonic reasoning,
/ ad-hoc reasoning procedures, that complicates (and broadensambiguity during) translation to First Order Predicate Logic (FOPL),
/ problems – querying, debugging.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 27 / 118
![Page 73: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/73.jpg)
Frames and Semantics Networks – Summary
, very simple structures for knowledge representation,
, nonmonotonic reasoning,
/ ad-hoc reasoning procedures, that complicates (and broadensambiguity during) translation to First Order Predicate Logic (FOPL),
/ problems – querying, debugging.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 27 / 118
![Page 74: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/74.jpg)
Towards Description Logics
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 28 / 118
![Page 75: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/75.jpg)
Languages sketched so far aren’t enough ?
Why not First Order Predicate Logic ?
/ FOPL is undecidable – many logical consequences cannot be verified infinite time.
I We often do not need full expressiveness of FOL.
Well, we have Prolog – wide-spread and optimized implementation ofFOPL, right ?
/ Prolog is not an implementation of FOPL – OWA vs. CWA, negationas failure, problems in expressing disjunctive knowledge, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 29 / 118
![Page 76: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/76.jpg)
Languages sketched so far aren’t enough ?
Why not First Order Predicate Logic ?
/ FOPL is undecidable – many logical consequences cannot be verified infinite time.
I We often do not need full expressiveness of FOL.
Well, we have Prolog – wide-spread and optimized implementation ofFOPL, right ?
/ Prolog is not an implementation of FOPL – OWA vs. CWA, negationas failure, problems in expressing disjunctive knowledge, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 29 / 118
![Page 77: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/77.jpg)
Languages sketched so far aren’t enough ?
Why not First Order Predicate Logic ?
/ FOPL is undecidable – many logical consequences cannot be verified infinite time.
I We often do not need full expressiveness of FOL.
Well, we have Prolog – wide-spread and optimized implementation ofFOPL, right ?
/ Prolog is not an implementation of FOPL – OWA vs. CWA, negationas failure, problems in expressing disjunctive knowledge, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 29 / 118
![Page 78: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/78.jpg)
Languages sketched so far aren’t enough ?
Why not First Order Predicate Logic ?
/ FOPL is undecidable – many logical consequences cannot be verified infinite time.
I We often do not need full expressiveness of FOL.
Well, we have Prolog – wide-spread and optimized implementation ofFOPL, right ?
/ Prolog is not an implementation of FOPL – OWA vs. CWA, negationas failure, problems in expressing disjunctive knowledge, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 29 / 118
![Page 79: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/79.jpg)
Languages sketched so far aren’t enough ?
Why not First Order Predicate Logic ?
/ FOPL is undecidable – many logical consequences cannot be verified infinite time.
I We often do not need full expressiveness of FOL.
Well, we have Prolog – wide-spread and optimized implementation ofFOPL, right ?
/ Prolog is not an implementation of FOPL – OWA vs. CWA, negationas failure, problems in expressing disjunctive knowledge, etc.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 29 / 118
![Page 80: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/80.jpg)
Languages sketched so far aren’t enough ?
Relational algebra
I accepts CWA and supports just finite domains.
Semantic networks and Frames
I Lack well defined (declarative) semanticsI What is the semantics of a “slot” in a frame (relation in semantic
networks) ? The slot must/might be filled once/multiple times ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 30 / 118
![Page 81: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/81.jpg)
Languages sketched so far aren’t enough ?
Relational algebraI accepts CWA and supports just finite domains.
Semantic networks and Frames
I Lack well defined (declarative) semanticsI What is the semantics of a “slot” in a frame (relation in semantic
networks) ? The slot must/might be filled once/multiple times ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 30 / 118
![Page 82: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/82.jpg)
Languages sketched so far aren’t enough ?
Relational algebraI accepts CWA and supports just finite domains.
Semantic networks and Frames
I Lack well defined (declarative) semanticsI What is the semantics of a “slot” in a frame (relation in semantic
networks) ? The slot must/might be filled once/multiple times ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 30 / 118
![Page 83: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/83.jpg)
Languages sketched so far aren’t enough ?
Relational algebraI accepts CWA and supports just finite domains.
Semantic networks and FramesI Lack well defined (declarative) semantics
I What is the semantics of a “slot” in a frame (relation in semanticnetworks) ? The slot must/might be filled once/multiple times ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 30 / 118
![Page 84: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/84.jpg)
Languages sketched so far aren’t enough ?
Relational algebraI accepts CWA and supports just finite domains.
Semantic networks and FramesI Lack well defined (declarative) semanticsI What is the semantics of a “slot” in a frame (relation in semantic
networks) ? The slot must/might be filled once/multiple times ?
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 30 / 118
![Page 85: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/85.jpg)
What are Description Logics ?
Description logics (DLs) are (almostexclusively) decidable subsets ofFOPL aimed at modelingterminological incomplete knowledge.
first languages emerged as anexperiment of giving formalsemantics to semantic networksand frames. Firstimplementations in 80’s –KL-ONE, KAON, Classic.
90’s ALC2004 SHOIN (D) – OWL
2009 SROIQ(D) – OWL 2
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 31 / 118
![Page 86: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/86.jpg)
What are Description Logics ?
Description logics (DLs) are (almostexclusively) decidable subsets ofFOPL aimed at modelingterminological incomplete knowledge.
first languages emerged as anexperiment of giving formalsemantics to semantic networksand frames. Firstimplementations in 80’s –KL-ONE, KAON, Classic.
90’s ALC2004 SHOIN (D) – OWL
2009 SROIQ(D) – OWL 2
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 31 / 118
![Page 87: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/87.jpg)
What are Description Logics ?
Description logics (DLs) are (almostexclusively) decidable subsets ofFOPL aimed at modelingterminological incomplete knowledge.
first languages emerged as anexperiment of giving formalsemantics to semantic networksand frames. Firstimplementations in 80’s –KL-ONE, KAON, Classic.
90’s ALC2004 SHOIN (D) – OWL
2009 SROIQ(D) – OWL 2
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 31 / 118
![Page 88: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/88.jpg)
What are Description Logics ?
Description logics (DLs) are (almostexclusively) decidable subsets ofFOPL aimed at modelingterminological incomplete knowledge.
first languages emerged as anexperiment of giving formalsemantics to semantic networksand frames. Firstimplementations in 80’s –KL-ONE, KAON, Classic.
90’s ALC
2004 SHOIN (D) – OWL
2009 SROIQ(D) – OWL 2
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 31 / 118
![Page 89: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/89.jpg)
What are Description Logics ?
Description logics (DLs) are (almostexclusively) decidable subsets ofFOPL aimed at modelingterminological incomplete knowledge.
first languages emerged as anexperiment of giving formalsemantics to semantic networksand frames. Firstimplementations in 80’s –KL-ONE, KAON, Classic.
90’s ALC2004 SHOIN (D) – OWL
2009 SROIQ(D) – OWL 2
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 31 / 118
![Page 90: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/90.jpg)
What are Description Logics ?
Description logics (DLs) are (almostexclusively) decidable subsets ofFOPL aimed at modelingterminological incomplete knowledge.
first languages emerged as anexperiment of giving formalsemantics to semantic networksand frames. Firstimplementations in 80’s –KL-ONE, KAON, Classic.
90’s ALC2004 SHOIN (D) – OWL
2009 SROIQ(D) – OWL 2
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 31 / 118
![Page 91: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/91.jpg)
ALC Language
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 32 / 118
![Page 92: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/92.jpg)
Concepts and Roles
Basic building blocks of DLs are :
(atomic) concepts - representing (named) unary predicates / classes,e.g. Parent, or Person u ∃hasChild · Person.
(atomic) roles - represent (named) binary predicates / relations, e.g.hasChild
individuals - represent ground terms / individuals, e.g. JOHN
Theory K = (T ,A) (in OWL refered as Ontology) consists of a
TBOX T - representing axioms generally valid in the domain, e.g.T = {Man v Person}
ABOX A - representing a particular relational structure (data),e.g. A = {Man(JOHN), loves(JOHN,MARY )}
DLs differ in their expressive power (concept/role constructors, axiomtypes).
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 33 / 118
![Page 93: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/93.jpg)
Concepts and Roles
Basic building blocks of DLs are :
(atomic) concepts - representing (named) unary predicates / classes,e.g. Parent, or Person u ∃hasChild · Person.
(atomic) roles - represent (named) binary predicates / relations, e.g.hasChild
individuals - represent ground terms / individuals, e.g. JOHN
Theory K = (T ,A) (in OWL refered as Ontology) consists of a
TBOX T - representing axioms generally valid in the domain, e.g.T = {Man v Person}
ABOX A - representing a particular relational structure (data),e.g. A = {Man(JOHN), loves(JOHN,MARY )}
DLs differ in their expressive power (concept/role constructors, axiomtypes).
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 33 / 118
![Page 94: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/94.jpg)
Concepts and Roles
Basic building blocks of DLs are :
(atomic) concepts - representing (named) unary predicates / classes,e.g. Parent, or Person u ∃hasChild · Person.
(atomic) roles - represent (named) binary predicates / relations, e.g.hasChild
individuals - represent ground terms / individuals, e.g. JOHN
Theory K = (T ,A) (in OWL refered as Ontology) consists of a
TBOX T - representing axioms generally valid in the domain, e.g.T = {Man v Person}
ABOX A - representing a particular relational structure (data),e.g. A = {Man(JOHN), loves(JOHN,MARY )}
DLs differ in their expressive power (concept/role constructors, axiomtypes).
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 33 / 118
![Page 95: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/95.jpg)
Concepts and Roles
Basic building blocks of DLs are :
(atomic) concepts - representing (named) unary predicates / classes,e.g. Parent, or Person u ∃hasChild · Person.
(atomic) roles - represent (named) binary predicates / relations, e.g.hasChild
individuals - represent ground terms / individuals, e.g. JOHN
Theory K = (T ,A) (in OWL refered as Ontology) consists of a
TBOX T - representing axioms generally valid in the domain, e.g.T = {Man v Person}
ABOX A - representing a particular relational structure (data),e.g. A = {Man(JOHN), loves(JOHN,MARY )}
DLs differ in their expressive power (concept/role constructors, axiomtypes).
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 33 / 118
![Page 96: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/96.jpg)
Concepts and Roles
Basic building blocks of DLs are :
(atomic) concepts - representing (named) unary predicates / classes,e.g. Parent, or Person u ∃hasChild · Person.
(atomic) roles - represent (named) binary predicates / relations, e.g.hasChild
individuals - represent ground terms / individuals, e.g. JOHN
Theory K = (T ,A) (in OWL refered as Ontology) consists of a
TBOX T - representing axioms generally valid in the domain, e.g.T = {Man v Person}
ABOX A - representing a particular relational structure (data),e.g. A = {Man(JOHN), loves(JOHN,MARY )}
DLs differ in their expressive power (concept/role constructors, axiomtypes).
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 33 / 118
![Page 97: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/97.jpg)
Concepts and Roles
Basic building blocks of DLs are :
(atomic) concepts - representing (named) unary predicates / classes,e.g. Parent, or Person u ∃hasChild · Person.
(atomic) roles - represent (named) binary predicates / relations, e.g.hasChild
individuals - represent ground terms / individuals, e.g. JOHN
Theory K = (T ,A) (in OWL refered as Ontology) consists of a
TBOX T - representing axioms generally valid in the domain, e.g.T = {Man v Person}
ABOX A - representing a particular relational structure (data),e.g. A = {Man(JOHN), loves(JOHN,MARY )}
DLs differ in their expressive power (concept/role constructors, axiomtypes).
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 33 / 118
![Page 98: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/98.jpg)
Concepts and Roles
Basic building blocks of DLs are :
(atomic) concepts - representing (named) unary predicates / classes,e.g. Parent, or Person u ∃hasChild · Person.
(atomic) roles - represent (named) binary predicates / relations, e.g.hasChild
individuals - represent ground terms / individuals, e.g. JOHN
Theory K = (T ,A) (in OWL refered as Ontology) consists of a
TBOX T - representing axioms generally valid in the domain, e.g.T = {Man v Person}
ABOX A - representing a particular relational structure (data),e.g. A = {Man(JOHN), loves(JOHN,MARY )}
DLs differ in their expressive power (concept/role constructors, axiomtypes).
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 33 / 118
![Page 99: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/99.jpg)
Concepts and Roles
Basic building blocks of DLs are :
(atomic) concepts - representing (named) unary predicates / classes,e.g. Parent, or Person u ∃hasChild · Person.
(atomic) roles - represent (named) binary predicates / relations, e.g.hasChild
individuals - represent ground terms / individuals, e.g. JOHN
Theory K = (T ,A) (in OWL refered as Ontology) consists of a
TBOX T - representing axioms generally valid in the domain, e.g.T = {Man v Person}
ABOX A - representing a particular relational structure (data),e.g. A = {Man(JOHN), loves(JOHN,MARY )}
DLs differ in their expressive power (concept/role constructors, axiomtypes).
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 33 / 118
![Page 100: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/100.jpg)
Semantics, Interpretation
as ALC is a subset of FOPL, let’s define semantics analogously (andrestrict interpretation function where applicable):
Interpretation is a pair I = (∆I , ·I), where ∆I is an interpretationdomain and ·I is an interpretation function.
Having atomic concept A, atomic role R and individual a, then
AI ⊆ ∆I
RI ⊆ ∆I ×∆I
aI ∈ ∆I
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 34 / 118
![Page 101: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/101.jpg)
Semantics, Interpretation
as ALC is a subset of FOPL, let’s define semantics analogously (andrestrict interpretation function where applicable):
Interpretation is a pair I = (∆I , ·I), where ∆I is an interpretationdomain and ·I is an interpretation function.
Having atomic concept A, atomic role R and individual a, then
AI ⊆ ∆I
RI ⊆ ∆I ×∆I
aI ∈ ∆I
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 34 / 118
![Page 102: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/102.jpg)
Semantics, Interpretation
as ALC is a subset of FOPL, let’s define semantics analogously (andrestrict interpretation function where applicable):
Interpretation is a pair I = (∆I , ·I), where ∆I is an interpretationdomain and ·I is an interpretation function.
Having atomic concept A, atomic role R and individual a, then
AI ⊆ ∆I
RI ⊆ ∆I ×∆I
aI ∈ ∆I
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 34 / 118
![Page 103: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/103.jpg)
ALC (= attributive language with complements)
Having concepts C , D, atomic concept A and atomic role R, then forinterpretation I :
concept conceptI description
> ∆I (universal concept)
⊥ ∅ (unsatisfiable concept)
¬C ∆I \ CI (negation)
C1 u C2 C1I ∩ C2
I (intersection)
C1 t C2 C1I ∪ C2
I (union)
∀R · C {a | ∀b ((a, b) ∈ RI ⇒ b ∈ CI)} (universal restriction)
∃R · C {a | ∃b ((a, b) ∈ RI ∧ b ∈ CI)} (existential restriction)
TBOX
axiom I |= axiom iff description
C1 v C2 C1I ⊆ C2
I (inclusion)C1 ≡ C2 C1
I = C2I (equivalence)
ABOX (UNA = unique name assumption1)
axiom I |= axiom iff description
C(a) aI ∈ CI (concept assertion)
R(a1 , a2 ) (a1I , a2I) ∈ RI (role assertion)
1two different individuals denote two different domain elementsPetr Kremen [email protected] Introduction, Description Logics October 5, 2015 35 / 118
![Page 104: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/104.jpg)
ALC (= attributive language with complements)
Having concepts C , D, atomic concept A and atomic role R, then forinterpretation I :
concept conceptI description
> ∆I (universal concept)
⊥ ∅ (unsatisfiable concept)
¬C ∆I \ CI (negation)
C1 u C2 C1I ∩ C2
I (intersection)
C1 t C2 C1I ∪ C2
I (union)
∀R · C {a | ∀b ((a, b) ∈ RI ⇒ b ∈ CI)} (universal restriction)
∃R · C {a | ∃b ((a, b) ∈ RI ∧ b ∈ CI)} (existential restriction)
TBOX
axiom I |= axiom iff description
C1 v C2 C1I ⊆ C2
I (inclusion)C1 ≡ C2 C1
I = C2I (equivalence)
ABOX (UNA = unique name assumption1)
axiom I |= axiom iff description
C(a) aI ∈ CI (concept assertion)
R(a1 , a2 ) (a1I , a2I) ∈ RI (role assertion)
1two different individuals denote two different domain elementsPetr Kremen [email protected] Introduction, Description Logics October 5, 2015 35 / 118
![Page 105: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/105.jpg)
ALC (= attributive language with complements)
Having concepts C , D, atomic concept A and atomic role R, then forinterpretation I :
concept conceptI description
> ∆I (universal concept)
⊥ ∅ (unsatisfiable concept)
¬C ∆I \ CI (negation)
C1 u C2 C1I ∩ C2
I (intersection)
C1 t C2 C1I ∪ C2
I (union)
∀R · C {a | ∀b ((a, b) ∈ RI ⇒ b ∈ CI)} (universal restriction)
∃R · C {a | ∃b ((a, b) ∈ RI ∧ b ∈ CI)} (existential restriction)
TBOX
axiom I |= axiom iff description
C1 v C2 C1I ⊆ C2
I (inclusion)C1 ≡ C2 C1
I = C2I (equivalence)
ABOX (UNA = unique name assumption1)
axiom I |= axiom iff description
C(a) aI ∈ CI (concept assertion)
R(a1 , a2 ) (a1I , a2I) ∈ RI (role assertion)
1two different individuals denote two different domain elementsPetr Kremen [email protected] Introduction, Description Logics October 5, 2015 35 / 118
![Page 106: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/106.jpg)
Logical Consequence
For an arbitrary set S of axioms (resp. theory K = (T ,A), whereS = T ∪ A), then
Model
I |= S if I |= α for all α ∈ S (I is a model of S , resp. K)
Logical Consequence
S |= β if I |= β whenever I |= S (β is a logical consequence of S , resp. K)
S is consistent, if S has at least one model
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 36 / 118
![Page 107: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/107.jpg)
Logical Consequence
For an arbitrary set S of axioms (resp. theory K = (T ,A), whereS = T ∪ A), then
Model
I |= S if I |= α for all α ∈ S (I is a model of S , resp. K)
Logical Consequence
S |= β if I |= β whenever I |= S (β is a logical consequence of S , resp. K)
S is consistent, if S has at least one model
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 36 / 118
![Page 108: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/108.jpg)
Logical Consequence
For an arbitrary set S of axioms (resp. theory K = (T ,A), whereS = T ∪ A), then
Model
I |= S if I |= α for all α ∈ S (I is a model of S , resp. K)
Logical Consequence
S |= β if I |= β whenever I |= S (β is a logical consequence of S , resp. K)
S is consistent, if S has at least one model
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 36 / 118
![Page 109: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/109.jpg)
Logical Consequence
For an arbitrary set S of axioms (resp. theory K = (T ,A), whereS = T ∪ A), then
Model
I |= S if I |= α for all α ∈ S (I is a model of S , resp. K)
Logical Consequence
S |= β if I |= β whenever I |= S (β is a logical consequence of S , resp. K)
S is consistent, if S has at least one model
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 36 / 118
![Page 110: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/110.jpg)
Logical Consequence
For an arbitrary set S of axioms (resp. theory K = (T ,A), whereS = T ∪ A), then
Model
I |= S if I |= α for all α ∈ S (I is a model of S , resp. K)
Logical Consequence
S |= β if I |= β whenever I |= S (β is a logical consequence of S , resp. K)
S is consistent, if S has at least one model
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 36 / 118
![Page 111: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/111.jpg)
ALC – Example
Example
Consider an information system for genealogical data. Informationintegration from various sources is crucial – databases, informationsystems with different data models. As an integration layer, let’s use adescription logic theory. Let’s have atomic conceptsPerson,Man,GrandParent and atomic role hasChild .
Set of persons that have just men as their descendants, if any ?(specify a concept)
I Person u ∀hasChild ·Man
How to define concept GrandParent ? (specify an axiom)
I GrandParent ≡ Person u ∃hasChild · ∃hasChild · >
How does the previous axiom look like in FOPL ?
∀x (GrandParent(x) ≡ (Person(x) ∧ ∃y (hasChild(x , y)
∧∃z (hasChild(y , z)))))
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 37 / 118
![Page 112: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/112.jpg)
ALC – Example
Example
Consider an information system for genealogical data. Informationintegration from various sources is crucial – databases, informationsystems with different data models. As an integration layer, let’s use adescription logic theory. Let’s have atomic conceptsPerson,Man,GrandParent and atomic role hasChild .
Set of persons that have just men as their descendants, if any ?(specify a concept)
I Person u ∀hasChild ·Man
How to define concept GrandParent ? (specify an axiom)
I GrandParent ≡ Person u ∃hasChild · ∃hasChild · >
How does the previous axiom look like in FOPL ?
∀x (GrandParent(x) ≡ (Person(x) ∧ ∃y (hasChild(x , y)
∧∃z (hasChild(y , z)))))
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 37 / 118
![Page 113: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/113.jpg)
ALC – Example
Example
Consider an information system for genealogical data. Informationintegration from various sources is crucial – databases, informationsystems with different data models. As an integration layer, let’s use adescription logic theory. Let’s have atomic conceptsPerson,Man,GrandParent and atomic role hasChild .
Set of persons that have just men as their descendants, if any ?(specify a concept)
I Person u ∀hasChild ·Man
How to define concept GrandParent ? (specify an axiom)
I GrandParent ≡ Person u ∃hasChild · ∃hasChild · >How does the previous axiom look like in FOPL ?
∀x (GrandParent(x) ≡ (Person(x) ∧ ∃y (hasChild(x , y)
∧∃z (hasChild(y , z)))))
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 37 / 118
![Page 114: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/114.jpg)
ALC – Example
Example
Consider an information system for genealogical data. Informationintegration from various sources is crucial – databases, informationsystems with different data models. As an integration layer, let’s use adescription logic theory. Let’s have atomic conceptsPerson,Man,GrandParent and atomic role hasChild .
Set of persons that have just men as their descendants, if any ?(specify a concept)
I Person u ∀hasChild ·Man
How to define concept GrandParent ? (specify an axiom)I GrandParent ≡ Person u ∃hasChild · ∃hasChild · >
How does the previous axiom look like in FOPL ?
∀x (GrandParent(x) ≡ (Person(x) ∧ ∃y (hasChild(x , y)
∧∃z (hasChild(y , z)))))
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 37 / 118
![Page 115: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/115.jpg)
ALC – Example
Example
Consider an information system for genealogical data. Informationintegration from various sources is crucial – databases, informationsystems with different data models. As an integration layer, let’s use adescription logic theory. Let’s have atomic conceptsPerson,Man,GrandParent and atomic role hasChild .
Set of persons that have just men as their descendants, if any ?(specify a concept)
I Person u ∀hasChild ·Man
How to define concept GrandParent ? (specify an axiom)I GrandParent ≡ Person u ∃hasChild · ∃hasChild · >
How does the previous axiom look like in FOPL ?
∀x (GrandParent(x) ≡ (Person(x) ∧ ∃y (hasChild(x , y)
∧∃z (hasChild(y , z)))))
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 37 / 118
![Page 116: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/116.jpg)
ALC Example – T
Example
Woman ≡ Person u Female
Man ≡ Person u ¬Woman
Mother ≡ Woman u ∃hasChild · Person
Father ≡ Man u ∃hasChild · Person
Parent ≡ Father tMother
Grandmother ≡ Mother u ∃hasChild · ParentMotherWithoutDaughter ≡ Mother u ∀hasChild · ¬Woman
Wife ≡ Woman u ∃hasHusband ·Man
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 38 / 118
![Page 117: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/117.jpg)
Interpretation – Example
Example
Consider a theory K1 = ({GrandParent ≡Person u ∃hasChild · ∃hasChild · >}, {GrandParent(JOHN)}). Findsome model.
a model of K1 can be interpretation I1 :
I ∆I1 = ManI1 = PersonI1 = {John,Phillipe,Martin}I hasChildI1 = {(John,Phillipe), (Phillipe,Martin)}I GrandParentI1 = {John}I JOHNI1 = {John}
this model is finite and has the form of a tree with the root in thenode John :
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 39 / 118
![Page 118: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/118.jpg)
Interpretation – Example
Example
Consider a theory K1 = ({GrandParent ≡Person u ∃hasChild · ∃hasChild · >}, {GrandParent(JOHN)}). Findsome model.
a model of K1 can be interpretation I1 :
I ∆I1 = ManI1 = PersonI1 = {John,Phillipe,Martin}I hasChildI1 = {(John,Phillipe), (Phillipe,Martin)}I GrandParentI1 = {John}I JOHNI1 = {John}
this model is finite and has the form of a tree with the root in thenode John :
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 39 / 118
![Page 119: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/119.jpg)
Interpretation – Example
Example
Consider a theory K1 = ({GrandParent ≡Person u ∃hasChild · ∃hasChild · >}, {GrandParent(JOHN)}). Findsome model.
a model of K1 can be interpretation I1 :I ∆I1 = ManI1 = PersonI1 = {John,Phillipe,Martin}
I hasChildI1 = {(John,Phillipe), (Phillipe,Martin)}I GrandParentI1 = {John}I JOHNI1 = {John}
this model is finite and has the form of a tree with the root in thenode John :
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 39 / 118
![Page 120: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/120.jpg)
Interpretation – Example
Example
Consider a theory K1 = ({GrandParent ≡Person u ∃hasChild · ∃hasChild · >}, {GrandParent(JOHN)}). Findsome model.
a model of K1 can be interpretation I1 :I ∆I1 = ManI1 = PersonI1 = {John,Phillipe,Martin}I hasChildI1 = {(John,Phillipe), (Phillipe,Martin)}
I GrandParentI1 = {John}I JOHNI1 = {John}
this model is finite and has the form of a tree with the root in thenode John :
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 39 / 118
![Page 121: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/121.jpg)
Interpretation – Example
Example
Consider a theory K1 = ({GrandParent ≡Person u ∃hasChild · ∃hasChild · >}, {GrandParent(JOHN)}). Findsome model.
a model of K1 can be interpretation I1 :I ∆I1 = ManI1 = PersonI1 = {John,Phillipe,Martin}I hasChildI1 = {(John,Phillipe), (Phillipe,Martin)}I GrandParentI1 = {John}
I JOHNI1 = {John}this model is finite and has the form of a tree with the root in thenode John :
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 39 / 118
![Page 122: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/122.jpg)
Interpretation – Example
Example
Consider a theory K1 = ({GrandParent ≡Person u ∃hasChild · ∃hasChild · >}, {GrandParent(JOHN)}). Findsome model.
a model of K1 can be interpretation I1 :I ∆I1 = ManI1 = PersonI1 = {John,Phillipe,Martin}I hasChildI1 = {(John,Phillipe), (Phillipe,Martin)}I GrandParentI1 = {John}I JOHNI1 = {John}
this model is finite and has the form of a tree with the root in thenode John :
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 39 / 118
![Page 123: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/123.jpg)
Interpretation – Example
Example
Consider a theory K1 = ({GrandParent ≡Person u ∃hasChild · ∃hasChild · >}, {GrandParent(JOHN)}). Findsome model.
a model of K1 can be interpretation I1 :I ∆I1 = ManI1 = PersonI1 = {John,Phillipe,Martin}I hasChildI1 = {(John,Phillipe), (Phillipe,Martin)}I GrandParentI1 = {John}I JOHNI1 = {John}
this model is finite and has the form of a tree with the root in thenode John :
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 39 / 118
![Page 124: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/124.jpg)
Shape of DL Models
The last example revealed several important properties of DL models:
Tree model property (TMP)
Every consistent K = ({}, {C (I )}) has a model in the shape of a rootedtree.
Finite model property (FMP)
Every consistent K = (T ,A) has a finite model.
Both properties represent important characteristics of ALC thatsignificantly speed-up reasoning.
In particular (generalized) TMP is a characteristics that is shared bymost DLs and significantly reduces their computational complexity.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 40 / 118
![Page 125: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/125.jpg)
Shape of DL Models
The last example revealed several important properties of DL models:
Tree model property (TMP)
Every consistent K = ({}, {C (I )}) has a model in the shape of a rootedtree.
Finite model property (FMP)
Every consistent K = (T ,A) has a finite model.
Both properties represent important characteristics of ALC thatsignificantly speed-up reasoning.
In particular (generalized) TMP is a characteristics that is shared bymost DLs and significantly reduces their computational complexity.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 40 / 118
![Page 126: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/126.jpg)
Shape of DL Models
The last example revealed several important properties of DL models:
Tree model property (TMP)
Every consistent K = ({}, {C (I )}) has a model in the shape of a rootedtree.
Finite model property (FMP)
Every consistent K = (T ,A) has a finite model.
Both properties represent important characteristics of ALC thatsignificantly speed-up reasoning.
In particular (generalized) TMP is a characteristics that is shared bymost DLs and significantly reduces their computational complexity.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 40 / 118
![Page 127: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/127.jpg)
Shape of DL Models
The last example revealed several important properties of DL models:
Tree model property (TMP)
Every consistent K = ({}, {C (I )}) has a model in the shape of a rootedtree.
Finite model property (FMP)
Every consistent K = (T ,A) has a finite model.
Both properties represent important characteristics of ALC thatsignificantly speed-up reasoning.
In particular (generalized) TMP is a characteristics that is shared bymost DLs and significantly reduces their computational complexity.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 40 / 118
![Page 128: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/128.jpg)
Shape of DL Models
The last example revealed several important properties of DL models:
Tree model property (TMP)
Every consistent K = ({}, {C (I )}) has a model in the shape of a rootedtree.
Finite model property (FMP)
Every consistent K = (T ,A) has a finite model.
Both properties represent important characteristics of ALC thatsignificantly speed-up reasoning.
In particular (generalized) TMP is a characteristics that is shared bymost DLs and significantly reduces their computational complexity.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 40 / 118
![Page 129: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/129.jpg)
Shape of DL Models
The last example revealed several important properties of DL models:
Tree model property (TMP)
Every consistent K = ({}, {C (I )}) has a model in the shape of a rootedtree.
Finite model property (FMP)
Every consistent K = (T ,A) has a finite model.
Both properties represent important characteristics of ALC thatsignificantly speed-up reasoning.
In particular (generalized) TMP is a characteristics that is shared bymost DLs and significantly reduces their computational complexity.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 40 / 118
![Page 130: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/130.jpg)
Shape of DL Models
The last example revealed several important properties of DL models:
Tree model property (TMP)
Every consistent K = ({}, {C (I )}) has a model in the shape of a rootedtree.
Finite model property (FMP)
Every consistent K = (T ,A) has a finite model.
Both properties represent important characteristics of ALC thatsignificantly speed-up reasoning.
In particular (generalized) TMP is a characteristics that is shared bymost DLs and significantly reduces their computational complexity.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 40 / 118
![Page 131: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/131.jpg)
Example – CWA × OWA
Example
ABOXhasChild(JOCASTA,OEDIPUS) hasChild(JOCASTA, POLYNEIKES)hasChild(OEDIPUS, POLYNEIKES) hasChild(POLYNEIKES,THERSANDROS)Patricide(OEDIPUS) ¬Patricide(THERSANDROS)
Edges represent role assertions of hasChild ; red/green colors distinguishconcepts instances – Patricide a ¬Patricide
JOCASTA //**
POLYNEIKES // THERSANDROS
OEDIPUS
44
Q1 (∃hasChild · (Patricide u ∃hasChild · ¬Patricide))(JOCASTA),
JOCASTA // • // •
Q2 Find individuals x such that K |= C(x), where C is
¬Patricide u ∃hasChild− · (Patricide u ∃hasChild−) · {JOCASTA}
What is the difference, when considering CWA ?
JOCASTA // • // x
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 41 / 118
![Page 132: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/132.jpg)
Example – CWA × OWA
Example
ABOXhasChild(JOCASTA,OEDIPUS) hasChild(JOCASTA, POLYNEIKES)hasChild(OEDIPUS, POLYNEIKES) hasChild(POLYNEIKES,THERSANDROS)Patricide(OEDIPUS) ¬Patricide(THERSANDROS)
Edges represent role assertions of hasChild ; red/green colors distinguishconcepts instances – Patricide a ¬Patricide
JOCASTA //**
POLYNEIKES // THERSANDROS
OEDIPUS
44
Q1 (∃hasChild · (Patricide u ∃hasChild · ¬Patricide))(JOCASTA),
JOCASTA // • // •
Q2 Find individuals x such that K |= C(x), where C is
¬Patricide u ∃hasChild− · (Patricide u ∃hasChild−) · {JOCASTA}
What is the difference, when considering CWA ?
JOCASTA // • // x
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 41 / 118
![Page 133: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/133.jpg)
Example – CWA × OWA
Example
ABOXhasChild(JOCASTA,OEDIPUS) hasChild(JOCASTA, POLYNEIKES)hasChild(OEDIPUS, POLYNEIKES) hasChild(POLYNEIKES,THERSANDROS)Patricide(OEDIPUS) ¬Patricide(THERSANDROS)
Edges represent role assertions of hasChild ; red/green colors distinguishconcepts instances – Patricide a ¬Patricide
JOCASTA //**
POLYNEIKES // THERSANDROS
OEDIPUS
44
Q1 (∃hasChild · (Patricide u ∃hasChild · ¬Patricide))(JOCASTA),
JOCASTA // • // •
Q2 Find individuals x such that K |= C(x), where C is
¬Patricide u ∃hasChild− · (Patricide u ∃hasChild−) · {JOCASTA}
What is the difference, when considering CWA ?
JOCASTA // • // x
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 41 / 118
![Page 134: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/134.jpg)
Example – CWA × OWA
Example
ABOXhasChild(JOCASTA,OEDIPUS) hasChild(JOCASTA, POLYNEIKES)hasChild(OEDIPUS, POLYNEIKES) hasChild(POLYNEIKES,THERSANDROS)Patricide(OEDIPUS) ¬Patricide(THERSANDROS)
Edges represent role assertions of hasChild ; red/green colors distinguishconcepts instances – Patricide a ¬Patricide
JOCASTA //**
POLYNEIKES // THERSANDROS
OEDIPUS
44
Q1 (∃hasChild · (Patricide u ∃hasChild · ¬Patricide))(JOCASTA),
JOCASTA // • // •
Q2 Find individuals x such that K |= C(x), where C is
¬Patricide u ∃hasChild− · (Patricide u ∃hasChild−) · {JOCASTA}
What is the difference, when considering CWA ?
JOCASTA // • // x
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 41 / 118
![Page 135: Introduction, Description Logics · 2015. 10. 5. · Proof Theory { to enforce the semantics Logics trade-o A logical calculus is always a trade-o between expressiveness and tractability](https://reader035.fdocuments.in/reader035/viewer/2022081621/6124ffb37a5def3ac659830c/html5/thumbnails/135.jpg)
* Vladimır Marık, Olga Stepankova, and Jirı Lazansky.Umela inteligence 6 [in czech], Chapter “Ontologie a deskripcnılogiky”.Academia, 2013.
Vladimır Marık, Olga Stepankova, and Jirı Lazansky.Umela inteligence 1.Academia, 1993.
* Franz Baader, Diego Calvanese, Deborah L. McGuinness, DanieleNardi, and Peter Patel-Schneider, editors.The Description Logic Handbook, Theory, Implementation andApplications, Chapters 2-4.Cambridge, 2003.
* Enrico Franconi.Course on Description Logics.http://www.inf.unibz.it/ franconi/dl/course/, cit. 22.9.2013.
Petr Kremen [email protected] Introduction, Description Logics October 5, 2015 42 / 118