Ontology Applying logic to the real world. D Goforth - COSC 4117, fall 20062 Real world knowledge general knowledge / common sense reasoning domain expertise.

Slides:



Advertisements
Similar presentations
Knowledge Representation using First-Order Logic
Advertisements

Artificial Intelligence
Knowledge Representation
Artificial Intelligence Knowledge Representation
Artificial Intelligence Chapter 21 The Situation Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
For Monday Finish chapter 12 Homework: –Chapter 13, exercises 8 and 15.
Knowledge Representation AIMA 2 nd Ed. Chapter 10.
For Friday Finish chapter 10 No homework (get started on program 2)
First-Order Logic Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 8 Spring 2004.
CS 561, Sessions Knowledge Representation Knowledge engineering: principles and pitfalls Ontologies Examples.
9/28/98 Prof. Richard Fikes First-Order Logic Knowledge Interchange Format (KIF) Computer Science Department Stanford University CS222 Fall 1998.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
CS 460, Sessions Knowledge and reasoning – second part Knowledge representation Logic and representation Propositional (Boolean) logic Normal forms.
© Franz Kurfess Knowledge-Based Systems CSC 480: Artificial Intelligence Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Knowledge Representation COMP 151 March 28, 2007 Based slides by B.J. Dorr as modified by Tom Lenaerts.
First order logic (FOL) first order predicate calculus.
PLANNING Partial order regression planning Temporal representation 1 Deductive planning in Logic Temporal representation 2.
Dr. Samy Abu Nasser Faculty of Engineering & Information Technology Artificial Intelligence.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
Math 3121 Abstract Algebra I Section 0: Sets. The axiomatic approach to Mathematics The notion of definition - from the text: "It is impossible to define.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Events Events are abstractions. They represent time related objects in space and time. Events can be treated as similar to ”ordinary” objects, but when.
First Order Predicate Calculus Chapter 7. Propositional logic v. FOPC §Propositional calculus deals only with facts l P : I-love-all-dogs l facts are.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
1 Chapter 10 Knowledge Representation. 2 KR previous chapters: syntax, semantics, and proof theory of propositional and first-order logic Chapter 10:
General Knowledge Ontological background for everything.
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
1 Knowledge Representation CS 171/CS How to represent reality? Use an ontology (a formal representation of reality) General/abstract domain Specific.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
1 CS 2710, ISSP 2160 The Situation Calculus KR and Planning Some final topics in KR.
Simultaneously Learning and Filtering Juan F. Mancilla-Caceres CS498EA - Fall 2011 Some slides from Connecting Learning and Logic, Eyal Amir 2006.
1 CS 2710, ISSP 2610 Chapter 12 Knowledge Representation.
D Goforth COSC Translating High Level Languages Note error in assignment 1: #4 - refer to Example grammar 3.4, p. 126.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 12 Friday, 17 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 41 Wednesday, 22.
2.1 Sets 2.2 Set Operations –Set Operations –Venn Diagrams –Set Identities –Union and Intersection of Indexed Collections 2.3 Functions 2.4 Sequences and.
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
Lecture 7-2CS250: Intro to AI/Lisp Building Knowledge Bases Lecture 7-2 February 18 th, 1999 CS250.
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
Slide 7- 1 Copyright © 2012 Pearson Education, Inc.
Wumpus World 1 Wumpus and 1 pile of gold in a pit-filled cave Starts in [1,1] facing right - Random cave Percepts: [smell, breeze, gold, bump, scream]
Reasoning with Propositional Logic automated processing of a simple knowledge base CD.
For Monday after Spring Break Finish chapter 12 Homework –Chapter 12, exercise 7.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
1 CS 2710, ISSP 2160 Chapter 12, Part 1 Knowledge Representation.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Planning in FOL Systems sequences of actions to achieve goals.
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4.
Artificial Intelligence 2004 Planning: Situation Calculus Review STRIPS POP Hierarchical Planning Situation Calculus (John McCarthy) situations.
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 CS121 – Winter 2003.
Knowledge Representation. So far... The previous chapters described the technology for knowledge-based agents: – the syntax, semantics, and proof theory.
Definition and Technologies Knowledge Representation.
1 CS 2710, ISSP 2160 Chapter 12 Knowledge Representation.
Knowledge Representation using First-Order Logic
Scientific Method.
Knowledge Representation
Notes 8: Predicate logic and inference
Semantics In propositional logic, we associate atoms with propositions about the world. We specify the semantics of our logic, giving it a “meaning”. Such.
Survey of Knowledge Base Content
Ontology.
Artificial Intelligence I: knowledge repre- sentation
Knowledge Representation
Artificial Intelligence I: knowledge repre- sentation
Knowledge Representation
Representations & Reasoning Systems (RRS) (2.2)
Knowledge Representation
Presentation transcript:

Ontology Applying logic to the real world

D Goforth - COSC 4117, fall Real world knowledge general knowledge / common sense reasoning domain expertise / specific knowlege problem / facts example: understand a news report language and world knowledge; specific situation and terminology  interpret story

D Goforth - COSC 4117, fall Ontology: structure of knowledge  E.g. java programming ontology – object-oriented design: class/object inheritance and interfaces part-of hierarchy API message-passing sequential execution, threads

D Goforth - COSC 4117, fall Ontology: structure of knowledge  general knowledge: what top-level structure? Anything (like class Object) AbstractObject (eternal) GeneralizedEvent (time-limited existence)

D Goforth - COSC 4117, fall Upper Ontology

General knowledge Domain knowledge Problem facts and questions Ontology in Knowledge base “Abstract objects” “Generalized events” Categories (ontology) Logic (sentences)

D Goforth - COSC 4117, fall Representing Knowledge  how ‘deep’? shallow – as predicate:  Terrier(x) deep ‘reification’ category with meaning structure:  Terriers ⊆ Dogs, Dogs ⊆ Mammals  Member (x, Terriers)

D Goforth - COSC 4117, fall Categories  like set theory – easy to reason with in FOL subcategories / subsets categories of categories intersections, unions, disjoint sets, partitions

D Goforth - COSC 4117, fall Reasoning about categories  disjoint subcategories – no common objects NO: x  Students, x  Employed YES:x  Mazdas, x  Mercedes x  Mazdas ⇒ ~( x  Mercedes) x  Mercedes ⇒ ~( x  Mazdas)

D Goforth - COSC 4117, fall Reasoning about categories  exhaustive decomposition – all objects of a category belong to at least one of the subcategories Namedstreets  Cityroutes Numberedroads  Cityroutes x  Cityroutes ⇒ (x  Namedstreets)  (x  Numberedroads) (could be both named and numbered)

D Goforth - COSC 4117, fall Reasoning about categories  Partitioning a category subcategories are disjoint subcategories form exhaustive decomposition e.g., Players are teammates or opponents: Players = Teammates  Opponents Teammates  Opponents = {}

D Goforth - COSC 4117, fall Physical objects  properties things – a pile of sand  measurable / quantities vs stuff - sand  intrinsic qualities PhysicalObjects StuffThings

D Goforth - COSC 4117, fall Situation calculus  in specific domain (TimedEvents vs AbstractObjects) some objects are ‘fluent’  functions and properties can change over time (position, orientation, etc) some objects are ‘eternal’  existence and properties remain fixed during period of reasoning (more efficient) (recall wumpus world example)

D Goforth - COSC 4117, fall GeneralizedEvents – the time problem  objects in this hierarchy have time property physical objects events processes intervals  ‘fluent’ (“fleeting”) vs ‘eternal’ abstract objects

D Goforth - COSC 4117, fall Situation calculus universe is defined as sequence of ‘situations’  ‘actions’ are like inferences: preconditions – required facts in current situation effects – facts that are true in subsequent situation if action is applied situation S 3 preconditioneffect action situation S 2 situation S 1 situation S 0

D Goforth - COSC 4117, fall Situation calculus - example  blocks world tabletop and three blocks actions and situations AB C eternal Table(x) Block(x) fluent On(x,y,s) ClearTop(x,s) s is situation variable objects/terms in FOL

D Goforth - COSC 4117, fall Situation calculus - example  actions are functions (objects)  situations are objects AB C  PutOn(x,y) preconditions:  ClearTop(x,s)  ClearTop(y,s) V Table(y) effect:  On(x,y,Result(PutOn(x,y),s))

D Goforth - COSC 4117, fall Situation calculus - example  each situation is a function of the previous one – Result function AB C  Result(a,s) preconditions:  action a can be applied at s effect:  Result is next situation after a is applied at s

D Goforth - COSC 4117, fall T Situation calculus - example  e.g. KB: function PutOn(x,y) ∀ x (~ ∃ y On(y,x,s)) ⇒ ClearTop(x,s) ∀ x,y,s ClearTop(x,s) ^ (ClearTop(y,s) v Table(y) =>On(x,y,Result(PutOn(x,y),s)) constants: A, B, C, T, S 0, S 1, S 2,… Table(T), Block(A), Block(B), Block(C) On(A,B,S 0 ), On(B,C,S 0 ), On(C,T,S 0 ) A B C S0S0

D Goforth - COSC 4117, fall T Situation calculus - example  action: PutOn(A,T) preconditions: ClearTop(A,S 0 ),Table(T) effect: On(A,T,Result(PutOn(A,T),S 0 )) BUT… what happens to other fluents? some propagated, some not A B C S1S1 A

D Goforth - COSC 4117, fall T Situation calculus - example  ‘On’ axiom: ∀ x,y,z,a,s On(x,y,Result(a,s))  [ClearTop(x,s)^(ClearTop(y,s)vTable(y))^ a= PutOn(x,y) v [ On(x,y,s)^~(a=PutOn(x,z))] C S1S1 A A B