Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture 16 of 42 Knowledge Engineering.

Slides:



Advertisements
Similar presentations
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Advertisements

Artificial Intelligence Inference in first-order logic Fall 2008 professor: Luigi Ceccaroni.
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/home.htm.
Logic.
Copyright © Cengage Learning. All rights reserved.
Computing & Information Sciences Kansas State University Lecture 20 of 42 CIS 530 / 730 Artificial Intelligence Lecture 20 of 42 Introduction to Classical.
Computing & Information Sciences Kansas State University Lecture 24 of 42 CIS 530 / 730 Artificial Intelligence Lecture 24 of 42 Planning: Monitoring &
Computing & Information Sciences Kansas State University Lecture 18 of 42 CIS 530 / 730 Artificial Intelligence Lecture 18 of 42 Knowledge Representation.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Resolution Refutation Formal Aspects of Computer Science - Week 10 An Automated Theorem Prover Lee McCluskey, room 2/07
The Semantic Web Week 13 Module Website: Lecture: Knowledge Acquisition / Engineering Practical: Getting to know.
Computing & Information Sciences Kansas State University Lecture 11 of 42 CIS 530 / 730 Artificial Intelligence Lecture 11 of 42 William H. Hsu Department.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 6 of 41 William H. Hsu Department of Computing.
Applying Belief Change to Ontology Evolution PhD Student Computer Science Department University of Crete Giorgos Flouris Research Assistant.
Computing & Information Sciences Kansas State University Lecture 10 of 42 CIS 530 / 730 Artificial Intelligence Lecture 10 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 14 Friday, 10 September.
Computing & Information Sciences Kansas State University Lecture 9 of 42 CIS 530 / 730 Artificial Intelligence Lecture 9 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 21 of 41 Wednesday, 08.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 16 Monday, 29 September.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
Computing & Information Sciences Kansas State University Wednesday, 22 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 22 of 42 Wednesday, 22 October.
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
Computing & Information Sciences Kansas State University Lecture 22 of 42 CIS 530 / 730 Artificial Intelligence Lecture 22 of 42 Planning: Sensorless and.
Computing & Information Sciences Kansas State University Lecture 19 of 42 CIS 530 / 730 Artificial Intelligence Lecture 19 of 42 Knowledge Representation.
Computing & Information Sciences Kansas State University Wednesday, 25 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 26 of 42 Wednesday. 25 October.
Computing & Information Sciences Kansas State University Lecture 21 of 42 CIS 530 / 730 Artificial Intelligence Lecture 21 of 42 Planning: Graph Planning.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 11 of 41 Wednesday, 15.
Computing & Information Sciences Kansas State University Lecture 8 of 42 CIS 530 / 730 Artificial Intelligence Lecture 8 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department.
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
Computing & Information Sciences Kansas State University Lecture 40 of 42 CIS 530 / 730 Artificial Intelligence Lecture 40 of 42 A Brief Survey of Computer.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 12 Friday, 17 September.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 42 Wednesday, 14.
Computing & Information Sciences Kansas State University Monday, 25 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 14 of 42 Monday, 25 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 23 Friday, 17 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 41 Wednesday, 22.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 15 of 41 Friday 24 September.
Computing & Information Sciences Kansas State University Lecture 15 of 42 CIS 530 / 730 Artificial Intelligence Lecture 15 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 18 of 41 Friday, 01 October.
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Chain resolution and its fuzzyfication Dr. Hashim Habiballa University of Ostrava.
Computing & Information Sciences Kansas State University Wednesday, 19 Sep 2007CIS 530 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 19 September.
Computing & Information Sciences Kansas State University Monday, 23 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 25 of 42 Monday, 23 October.
Computing & Information Sciences Kansas State University Friday, 20 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 24 of 42 Friday, 20 October.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Wednesday, 13 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 10 of 42 Wednesday, 13 September.
Computing & Information Sciences Kansas State University CIS 530 / 730: Artificial Intelligence Lecture 09 of 42 Wednesday, 17 September 2008 William H.
Computing & Information Sciences Kansas State University Monday, 09 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 19 of 42 Monday, 09 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 42 Wednesday, 22.
Automated Reasoning in Propositional Logic Russell and Norvig: Chapters 6 and 9 Chapter 7, Sections 7.5—7.6 CS121 – Winter 2003.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Monday, 22 Sep 2008CIS 530 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 22 September.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Announcements  Upcoming due dates  Thursday 10/1 in class Midterm  Coverage: everything in lecture and readings except first-order logic; NOT probability.
Computing & Information Sciences Kansas State University Wednesday, 25 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 26 of 42 Wednesday. 25 October.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
Computing & Information Sciences Kansas State University Friday, 03 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 16 of 42 Friday, 03 October.
Chapter 7. Propositional and Predicate Logic
CIS Automata and Formal Languages – Pei Wang
CS 4700: Foundations of Artificial Intelligence
Automated Reasoning in Propositional Logic
CIS Automata and Formal Languages – Pei Wang
Presentation transcript:

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture 16 of 42 Knowledge Engineering and Ontology Engineering Discussion: Description Logics William H. Hsu Department of Computing and Information Sciences, KSU KSOL course page: Course web site: Instructor home page: Reading for Next Class: Sections 10.1 – 10.2, p. 320 – 327, Russell & Norvig 2 nd edition

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture Outline Reading for Next Class: Sections 10.1 – 10.2 (p. 272 – 319), R&N 2 e Last Class: Resolution Theorem Proving, 9.5 (p ), R&N 2 e  Proof example in detail  Paramodulation and demodulation  Resolution strategies: unit, linear, input, set of support  FOL and computability: complements (different difficulty) and duals (same)  Theoretical foundations and ramifications of decidability results Today: Prolog in Brief, Knowledge Engineering (KE), Ontologies  Prolog examples  Introduction to ontologies  Description logics and the Web Ontology Language (OWL)  Ontologies defined and ontology design Next Class: More Ontology Design; Situation Calculus Revisited  Knowledge engineering (KE) and knowledge management  KR and reasoning about states, actions, properties Coming Week: Ontologies, Description Logics, Semantic Nets

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Acknowledgements © 2006 Horrocks, I. Oxford University (formerly University of Manchester) Professor Ian Horrocks Professor of Computer Science Oxford University Computing Laboratory Fellow, Oriel College © Russell, S. J. University of California, Berkeley Norvig, P. Slides from:

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Logic Programming (Prolog) Systems: Review Based on slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Prolog Examples in Depth: Review Adapted from slide © 2004 S. Russell & P. Norvig. Reused with permission.

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Unit Preference  Idea: Prefer inferences that produce shorter sentences  Compare: Occam’s Razor  How? Prefer unit clause (single-literal) resolvents (α  β with  β  α)  Reason: trying to produce a short sentence (   True  False) Input Resolution  Idea: “diagonal” proof (proof “list” instead of proof tree)  Every resolution combines some input sentence with some other sentence  Input sentence: in original KB or query Unit and Input Resolution: Review Unit resolution Input resolutions

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Linear Resolution  Generalization of input resolution  Include any ancestor in proof tree to be used Set of Support (SoS)  Idea: try to eliminate some potential resolutions  Prevention as opposed to cure  How?  Maintain set SoS of resolution results  Always take one resolvent from it  Caveat: need right choice for SoS to ensure completeness Linear Resolution and Set-of-Support: Review Linear resolutions

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Subsumption  Idea: eliminate sentences that sentences that are more specific than others  e.g., P(x) subsumes P(A) Putting It All Together Subsumption: Review

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence L FOL-VALID (written L VALID ): Language of Valid Sentences (Tautologies) Deciding Membership  Given: KB, α  Decide: KB ⊨ α? (Is α valid? Is ¬α contradictory, i.e., unsatisfiable?) Procedure  Test whether KB  {¬α} ⊢ RESOLUTION   Answer YES if it does L FOL-SAT C (written L SAT C ) Language of Unsatisfiable Sentences Dual Problems Semi-Decidable: L VALID, L SAT C  RE \ REC (“Find A Contradiction”)  Recursive enumerable but not recursive  Can return in finite steps and answer YES if α  L VALID or α  L SAT C  Can’t return in finite steps and answer NO otherwise Semi-Decidability of L VALID & L SAT C : Review

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence L FOL-VALID C (written L VALID C ): Language of Non-Valid Sentences Deciding Membership  Given: KB, α  Decide: KB ⊭ α? (Is there a counterexample to α? i.e., is ¬α satisfiable?) Procedure  Test whether KB  {α} ⊢ RESOLUTION   Answer YES if it does NOT L FOL-SAT (written L SAT ) Language of Satisfiable Sentences Dual Problems Undecidable: L VALID C, L SAT  RE (“Find A Counterexample”)  Not recursive enumerable  Can return in finite steps and answer NO if α  L VALID C or α  L SAT  Can’t return in finite steps and answer YES otherwise Undecidability of L VALID C & L SAT : Review

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Universe of Decision Problems Recursive Enumerable Languages (RE) Recursive Languages (REC) Decision Problems: Review Co-RE (RE C ) L H : Halting problem L D : Diagonal problem

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence What Is an Ontology, Anyway? Wilson, T. V. (2006). How Semantic Web Works. © 2009 Wikipedia.

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence What Are Description Logics? © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence DL Basics © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence The DL Family [1]: ALC Adapted from slides © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence The DL Family [2]: SHOIN & Web Ontology Language Based on slide © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence DL Knowledge Base Adapted from slides © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Ontologies and The Semantic Web (Web 3.0) Based on slide © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence WWW Consortium Web Ontology Language (OWL) Based on slide © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Class / Concept Constructors © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Ontology Axioms © 2006 I. Horrocks, University of Manchester

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Why Description Logic? OWL exploits results of 15+ years of DL research  Well defined (model theoretic) semantics  Formal properties well understood (complexity, decidability)  Known reasoning algorithms  Implemented systems (highly optimised) Adapted from slides © 2006 I. Horrocks, University of Manchester “I can’t find an efficient algorithm, but neither can all these famous people.” [Garey & Johnson. Computers and Intractability: A Guide to the Theory of NP- Completeness. Freeman, 1979.]

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Terminology Decision Problems: True-False for Membership in Formal Language  REC (decidable) vs. RE (semi-decidable OR decidable)  Co-RE (undecidable)  Russell’s Paradox: does the barber shave himself? Ontology: Formal, Explicit Specification of Shared Conceptualization  Tells what exists (entities, objects)  Tells how entities can relate to one another  Can be used as basis for reasoning about objects, sets  Formalized using logic (e.g., description logic) Knowledge Engineering (KE): Process of KR Design, Acquisition  Knowledge  What agents possess (epistemology) that lets them reason  Basis for rational cognition, action  Knowledge gain (acquisition, learning): improvement in problem solving  Next: more on knowledge acquisition, capture, elicitation  Techniques: protocol analysis, subjective probabilities (later)

Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Summary Points Last Class: Resolution Theorem Proving, 9.5 (p ), R&N 2 e  Proof example in detail  Paramodulation and demodulation  Resolution strategies: unit, linear, input, set of support  FOL and computability: complements (different difficulty) and duals (same) Today: Prolog in Brief, Knowledge Engineering (KE), Ontologies  Prolog examples  Knowledge engineering  Introduction to ontologies  Ontologies defined  Ontology design  Description logics  SHOIN  Web Ontology Language (OWL) Next Class: More Ontology Design, KE; Situation Calculus Redux Coming Week: Ontologies, Description Logics, Semantic Nets