knowledge representation for the semantic web lecture 2
play

Knowledge Representation for the Semantic Web Lecture 2: Description - PowerPoint PPT Presentation

Introduction Syntax of Description Logics Knowledge Representation for the Semantic Web Lecture 2: Description Logics I Daria Stepanova slides based on Reasoning Web 2011 tutorial Foundations of Description Logics and OWL by S. Rudolph


  1. Introduction Syntax of Description Logics Knowledge Representation for the Semantic Web Lecture 2: Description Logics I Daria Stepanova slides based on Reasoning Web 2011 tutorial “ Foundations of Description Logics and OWL ” by S. Rudolph Max Planck Institute for Informatics D5: Databases and Information Systems group WS 2017/18 1 / 25

  2. Introduction Syntax of Description Logics Unit Outline Introduction Syntax of Description Logics 2 / 25

  3. Introduction Syntax of Description Logics Logic-based Knowledge Representation ❼ 350 BC: roots of logic-based KR ❼ 17th century: idea to make knowledge explicit by logical computation ❼ 1930s: disillusion due to results about fundamental limits for the existence of generic algorithms ❼ adoption of computers and AI as a new area of research leads to intensified studies 3 / 25

  4. ❼ ❼ Introduction Syntax of Description Logics Propositional and First-order Logic (1) Aristotel is a man. (2) Socrates is a man. 4 / 25

  5. ❼ ❼ Introduction Syntax of Description Logics Propositional and First-order Logic (1) Aristotel is a man. (2) Socrates is a man. In which formalisms can we encode this knowledge? 4 / 25

  6. ❼ Introduction Syntax of Description Logics Propositional and First-order Logic (1) Aristotel is a man. (2) Socrates is a man. In which formalisms can we encode this knowledge? ❼ propositional logic (PL): propositional variables, ¬ , ∨ , ∧ , → (1) AristotelIsAMan = true ; (2) SocratesIsAMan = true 4 / 25

  7. ❼ Introduction Syntax of Description Logics Propositional and First-order Logic (1) Aristotel is a man. (2) Socrates is a man. (3) All men are mortal. In which formalisms can we encode this knowledge? ❼ propositional logic (PL): propositional variables, ¬ , ∨ , ∧ , → (1) AristotelIsAMan = true ; (2) SocratesIsAMan = true 4 / 25

  8. ❼ Introduction Syntax of Description Logics Propositional and First-order Logic (1) Aristotel is a man. (2) Socrates is a man. (3) All men are mortal. In which formalisms can we encode this knowledge? ❼ propositional logic (PL): propositional variables, ¬ , ∨ , ∧ , → (1) AristotelIsAMan = true ; (2) SocratesIsAMan = true (3) AristotelIsAMan → AristotelIsMortal SocratesIsAMan → SocratesIsMortal ; PL is not expressive .. 4 / 25

  9. Introduction Syntax of Description Logics Propositional and First-order Logic (1) Aristotel is a man. (2) Socrates is a man. (3) All men are mortal. In which formalisms can we encode this knowledge? ❼ propositional logic (PL): propositional variables, ¬ , ∨ , ∧ , → (1) AristotelIsAMan = true ; (2) SocratesIsAMan = true (3) AristotelIsAMan → AristotelIsMortal SocratesIsAMan → SocratesIsMortal ; PL is not expressive .. ❼ first order logic (FOL): predicates of arbitrary arity, constants, variables, function symbols, ¬ , ∨ , ∧ , ∀ , ∃ , → (1) Man ( socrates ); (2) Man ( aristotel ); (3) ∀ X ( Man ( X ) → Mortal ( X )) 4 / 25

  10. Introduction Syntax of Description Logics Propositional and First-order Logic (1) Aristotel is a man. (2) Socrates is a man. (3) All men are mortal. In which formalisms can we encode this knowledge? ❼ propositional logic (PL): propositional variables, ¬ , ∨ , ∧ , → (1) AristotelIsAMan = true ; (2) SocratesIsAMan = true (3) AristotelIsAMan → AristotelIsMortal SocratesIsAMan → SocratesIsMortal ; PL is not expressive .. ❼ first order logic (FOL): predicates of arbitrary arity, constants, variables, function symbols, ¬ , ∨ , ∧ , ∀ , ∃ , → (1) Man ( socrates ); (2) Man ( aristotel ); (3) ∀ X ( Man ( X ) → Mortal ( X )) FOL is expressive but undecidable in general... 4 / 25

  11. Introduction Syntax of Description Logics Brief Note on Decidability Decidability A class of problems is called decidable, if there is an algorithm that given any problem instance from this class as input can output a “yes” or “no” answer to it after finite time. Decidable logics In logic context, the following generic problem is normally studied: Given: a set of statements T and a statement φ , Output: “yes”, iff T logically entails φ and “no” otherwise. In case there is no danger of confusion about the type of problem consid- ered, sometimes the logic itself is called decidable or undecidable. 5 / 25

  12. Introduction Syntax of Description Logics Brief Note on Decidability (cont’d) Decidability of propositional logic Consider propositional logic (PL) and the following statements T and φ : ( SocrIsAMan → SocrIsMortal ) ∧ SocrIsAMan | = SocrIsMortal � �� � � �� � ���� φ T entails The following questions in PL are equivalent: ❼ T | = φ ? ❼ T → φ for every valuation of socrIsAMan , socrIsMortal ? ❼ T ∧ ¬ φ is unsatisfiable, i.e., false for every valuation? The (un)satisfiability problem in PL is called (UN)SAT. Propositional logic is decidable, since (UN)SAT is decidable (consider 2 n truth assignments of n variables in T ∧ ¬ φ ). 6 / 25

  13. ❼ ❼ ❼ ❼ ❼ ❼ ❼ ❼ Introduction Syntax of Description Logics Description Logics ❼ 1930’s: First order logic for KR (undecidable) 7 / 25

  14. ❼ ❼ ❼ ❼ ❼ Introduction Syntax of Description Logics Description Logics ❼ 1930’s: First order logic for KR (undecidable) ❼ 1970’s: Network-shaped structures for KR ❼ Semantic networks [Quillian, 1968], conceptual graphs, SNePs, NETL ❼ Frames [Minsky, 1974] 7 / 25

  15. ❼ ❼ ❼ ❼ ❼ Introduction Syntax of Description Logics Description Logics ❼ 1930’s: First order logic for KR (undecidable) ❼ 1970’s: Network-shaped structures for KR (no formal semantics) ❼ Semantic networks [Quillian, 1968], conceptual graphs, SNePs, NETL ❼ Frames [Minsky, 1974] 7 / 25

  16. ❼ ❼ ❼ ❼ Introduction Syntax of Description Logics Description Logics ❼ 1930’s: First order logic for KR (undecidable) ❼ 1970’s: Network-shaped structures for KR (no formal semantics) ❼ Semantic networks [Quillian, 1968], conceptual graphs, SNePs, NETL ❼ Frames [Minsky, 1974] ❼ 1979: Encoding of frames into FOL [Hayes, 1979] 7 / 25

  17. Introduction Syntax of Description Logics Description Logics ❼ 1930’s: First order logic for KR (undecidable) ❼ 1970’s: Network-shaped structures for KR (no formal semantics) ❼ Semantic networks [Quillian, 1968], conceptual graphs, SNePs, NETL ❼ Frames [Minsky, 1974] ❼ 1979: Encoding of frames into FOL [Hayes, 1979] ❼ 1980’s: Description logics (DL) for KR ❼ Decidable fragments of FOL ❼ Theories encoded in DLs are called ontologies ❼ Many DLs with different expressiveness and computational features 7 / 25

  18. Introduction Syntax of Description Logics Description Logics ❼ 1930’s: First order logic for KR (undecidable) ❼ 1970’s: Network-shaped structures for KR (no formal semantics) ❼ Semantic networks [Quillian, 1968], conceptual graphs, SNePs, NETL ❼ Frames [Minsky, 1974] ❼ 1979: Encoding of frames into FOL [Hayes, 1979] ❼ 1980’s: Description logics (DL) for KR ❼ Decidable fragments of FOL ❼ Theories encoded in DLs are called ontologies ❼ Many DLs with different expressiveness and computational features 7 / 25

  19. Introduction Syntax of Description Logics Description Logics (cont’d) ❼ Goal: ensure decidable reasoning and formal logic-based semantics ❼ Description logics cater for this goal ❼ They can be seen as decidable fragments of first-order logic, closely related to modal logics ❼ A significant portion of DL-related research devoted to clarifying the computational effort of reasoning tasks in terms of their worst-case complexity ❼ Despite high worst-case complexity, even for expressive DLs optimized reasoning algorithms exist with good behaviour in practical relevant settings ❼ cf. SAT Solving: NP-complete in general but works well in practice 8 / 25

  20. Introduction Syntax of Description Logics Description Logics (cont’d) ❼ Description logics one of today’s main KR paradigms ❼ influenced standardization of Semantic Web languages, in particular the web ontology language OWL ❼ comprehensive tool support available Fact++ Pellet HermiT ELK 9 / 25

  21. Introduction Syntax of Description Logics Applications ❼ Semantic Web (OWL) ❼ Enterprise Application Integration (EAI) ❼ Data Modelling (UML) ❼ Knowledge Representation for life sciences: SNOMED Clinical Terms, Gene ontology, UniProtKB/Swiss-Prot protein sequence database, GALEN medical concepts for e-healthcare ❼ Ontology-Based Data Access (OBDA) ❼ . . . 10 / 25

  22. Introduction Syntax of Description Logics Syntax of Description Logics 11 / 25

  23. Introduction Syntax of Description Logics DL Building Blocks ❼ Individual names: john , mary , sun , lalaland aka: constants (FOL), resources (RDF) ❼ Concept names: Male , Planet , Film , Country aka: unary predicates (FOL), classes (RDFS) ❼ Role names: married , fatherOf , actedIn aka: binary predicates (FOL), properties (RDFS) The set of all individual, concept and role names is commonly referred to as signature or vocabulary. � � � � married married � fatherOf � � � 12 / 25

  24. Introduction Syntax of Description Logics Constituents of a DL Knowledge Base ❼ information about individuals and their concept and role ABox A memberships ❼ information about concepts and their taxonomic dependencies TBox T ❼ information about roles and their dependencies RBox R 13 / 25

Recommend


More recommend