Limitations of First-Order Logic higher-order logics – quantify over predicates –define reflexive properties: all properties P for which x P(x,x) –induction:

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

Knowledge Representation using First-Order Logic
Artificial Intelligence 4. Knowledge Representation
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
CS848: Topics in Databases: Foundations of Query Optimization Topics covered  Introduction to description logic: Single column QL  The ALC family of.
An Introduction to Description Logics
Logic Programming Automated Reasoning in practice.
1 Default Reasoning Q: How many wheels does John’s car have? A: Four (by default) The conclusion is withdrawn if one is supplied with the information that.
Justification-based TMSs (JTMS) JTMS utilizes 3 types of nodes, where each node is associated with an assertion: 1.Premises. Their justifications (provided.
Truth Maintenance Systems. Outline What is a TMS? Basic TMS model Justification-based TMS.
Ontological Logic Programming by Murat Sensoy, Geeth de Mel, Wamberto Vasconcelos and Timothy J. Norman Computing Science, University of Aberdeen, UK 1.
Commonsense Reasoning and Argumentation 14/15 HC 10: Structured argumentation (3) Henry Prakken 16 March 2015.
Default Reasoning the problem: in FOL, universally-quantified rules cannot have exceptions –  x bird(x)  can_fly(x) –bird(tweety) –bird(opus)  can_fly(opus)
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Knowledge Representation
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
1 Ontology Language Comparisons doug foxvog 16 September 2004.
For Friday Finish chapter 10 No homework (get started on program 2)
Forward Chaining Systems also known as Production Systems commonly used for Expert Systems knowledge based must consist of facts and rules (Horn clauses,
Intelligent systems Lecture 6 Rules, Semantic nets.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
The Semantic Web – WEEK 11: Description Logic + OWL Featuring..MAD COWS.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
USCISIUSCISI Loom: Basic Concepts Thomas A. Russ USC Information Sciences Institute.
Part 6: Description Logics. Languages for Ontologies In early days of Artificial Intelligence, ontologies were represented resorting to non-logic-based.
ANHAI DOAN ALON HALEVY ZACHARY IVES Chapter 12: Ontologies and Knowledge Representation PRINCIPLES OF DATA INTEGRATION.
FiRE Fuzzy Reasoning Engine Nikolaos Simou National Technical University of Athens.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
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.
Building an Ontology of Semantic Web Techniques Utilizing RDF Schema and OWL 2.0 in Protégé 4.0 Presented by: Naveed Javed Nimat Umar Syed.
Alternative representations: Semantic networks
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Pattern-directed inference systems
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
An Introduction to Description Logics (chapter 2 of DLHB)
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
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.
Semantic Nets, Frames, World Representation CS – W February, 2004.
For Friday Read Homework: –Chapter 10, exercise 22 I strongly encourage you to tackle this together. You may work in groups of up to 4 people.
Uncertainty in AI. Birds can fly, right? Seems like common sense knowledge.
A Preferential Tableau for Circumscriptive ALCO RR 2009 Stephan Grimm Pascal Hitzler.
1 Knowledge Based Systems (CM0377) Introductory lecture (Last revised 28th January 2002)
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
ece 627 intelligent web: ontology and beyond
Artificial Intelligence Knowledge Representation Department of Computer Science & Enggineering V. R. Palekar.
Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.
Of 29 lecture 15: description logic - introduction.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Ontology Technology applied to Catalogues Paul Kopp.
Artificial Intelligence Knowledge Representation.
Definition and Technologies Knowledge Representation.
16 April 2011 Alan, Edison, etc, Saturday.. Knowledge, Planning and Robotics 1.Knowledge 2.Types of knowledge 3.Representation of knowledge 4.Planning.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
CHAPTER 5 Handling Uncertainty BIC 3337 EXPERT SYSTEM.
Limitations of First-Order Logic
ece 720 intelligent web: ontology and beyond
Artificial Intelligence (CS 370D)
Interval Logic Axioms Meet(i, j)  End(i)= Begin(j)
ece 720 intelligent web: ontology and beyond
Weak Slot-and-Filler Structures
Reasoning with Uncertainty Piyush Porwal ( ) Rohit Jhunjhunwala ( ) Srivatsa R. ( ) Under the guidance of Prof. Pushpak Bhattacharyya.
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Answer Set Programming
Presentation transcript:

Limitations of First-Order Logic higher-order logics – quantify over predicates –define reflexive properties: all properties P for which x P(x,x) –induction: if a property P(n) is true for n=0, and if it is true for n then it is true for n+1, then is holds n modal logics – contain a sentence as an arg –believes(john,raining v snowing) –possibly(P Q) –eventually( x corrupt_packet(x) in_queue(x)) –epistemic/modal/temporal logics add special operators to syntax, (P Q); nested P, P Q –semantics based on possible worlds and their relationships, not just models

Default Reasoning FOL also bad at handling default information –leads to inconsistency – x bird(X) flies(x) –bird(tweety), bird(opus), flies(opus), unsatisfiable! excluded middle –sentences must be either True or False, but what if we want to asserting things with different strengths or degrees of belief? –most people who have a stomach ache have indigestion. x feel_pain(x,stomach(x)) indigestion(x)? 80% of people? –interest rates are going up next year strong but not certain belief – what about consequences?

Default Logic bird(X): flies(X) / flies(X) –if bird(X) is true and it is not inconsistent to believe flies(X), then infer flies(X) –antecedents : justification / consequent semantics – based on maximal extensions –an extension is a set of additional consequences (ground literals) based on default rules –fixed-point semantics, repeat till nothing more to add –Th P iff P is in all maximal extensions there could be multiple extensions –republican(X) : pacifist(X) / pacifist(X) –quaker(X) : pacifist(X) / pacifist(X) –republican(nixon) quaker(nixon) –extensions: { pacifist(nixon) }, { pacifist(nixon) }

Non-monotonic Logic a logic is monotonic if every thing that is entailed by a KB is entailed by a superset of the KB: –KB KB –exceptions to default conclusions make a logic non- monotonic –previously assumed flies(opus) until told flies(opus) circumscription –bird(X) abnormal(X) flies(X) –bird(tweety), bird(opus), flies(opus) –this KB allows flies(tweety), but is not inconsistent if assume abnormal(opus) –circumscription: process of finding minimal set of abnormal predicates necessary to make KB consistent

Prolog negation-as-failure enables defaults –flies(X) :- bird(X),not penguin(X). –bird(tweety). bird(opus). penguin(opus). –tweety flies because he isnt declared a penguin –if we also asserted penguin(tweety)...non-monotonic –advantage: compact, what is false can be left unsaid –disadvantage: no way to represent unknown Closed-world assumption (CWA) –everything that is true is asserted; everything unsaid is assumed to be false –similar to database queries; Datalog: tuples+rules minimal models – only believe what you have to –smallest set of tuples that satisfies KB

Truth-Maintenance Systems another approach to defaults – retract assumptions when necessary JTMS – keep track of justifications for inferences –if previously concluded R from {P Q R,P} (assuming Q) and then R is asserted, must retract R and assert Q –keep a graph where nodes are literals and (hyper-)edges are rules; mark as good/no-good or in/out; retain graph structure ATMS –track consistent sets of assumptions practical – many agents and intelligent systems get updated info and only want to modify their beliefs rather than re-derive everything generalizes to belief update (minimal change to KB)

Frames represent taxonomies, object properties (slots) defclass animal defclass animal: subclass animal slot warmBlooded: True slot externalCoating: fur defclass dog: subclass mammal slot movement: runs slot vocalization: barks slot numberOfLegs: 4 defclass bird: subclass animal slot movement: flies slot externalCoating: feathers slot numberOfLegs: 2 slot vocalization: chirps definstance snoopy: instanceOf dog definstance opus: instanceOf bird slot movement: waddles inheritance – to answer a query, check most specific node; if not defined, go to parent...

Semantics Nets graphical representation of knowledge nodes represent classes or instances edges represent (binary) relations/properties –isa links – special type, or member and subset answer queries by following edges how to represent negation? universal quantifiers? Conceptual graphs (John Sowa)

John gave Mary a book about frogs. person isa isa john mary actor recipient event1 object B1 isa topic book frogs isa GivingEvent

Description Logics natural evolution of frames define –concepts (classes) –roles (binary relations from class to class) –restrictions (cardinality/type constraints) correspond to tractable subsets of FOL –limited expressiveness makes many DLs decidable –main restriction is: cant express negation and disjunction examples of major ontologies in DLs: –GALEN – medical records –FMA – Foundational Model of Anatomy –Dublin Core: media (author, publisher, type, year...) –business processes, e-commerce...

Example Syntax of CLASSIC Concept Thing | ConceptName | And(Concept,...) | All(RoleName,Concept) | AtLeast(Int,RoleName) | AtMost(Int,RoleName) | Fills(RoleName,Individual) | SameAs(RoleName,RoleName) | OneOf(Individual...) Batchelor = And(Unmarried,Adult,Male) Mother = And(Female,AtLeast(1,Child)) older systems: CLASSIC, KL-ONE, LOOM more recent logics: ALC, SHIQ, SHOIN...

other DLs include syntax for: –intersection, union, and complement of classes –inverse roles: payor(.,.) = payee(.,.) – –disjoint subsets, exhaustive subsets thing = complete(animal,vegetable,mineral) –role restrictions R.C: student enrolled.course R.C: graduate passed.requiredCourse –cardinality restrictions mother female ( 1 child) dog animal (= 4 legOf) barks

DL queries –consistency of KB –satisfiability of a concept (i.e. not necessarily empty) –subsumption (is one class a subset of another) –instance checking: is X a member of class Y? –retrieval: all instances of... –categorization (most specific class for an instance) –what part of the esophagus is not in the anterior compartment of the neck? –can a chicago-style pizza be a vegetarian pizza? inference algorithms – based on tableaux procedures (essentially model-checking) query languages –RIL: prolog-like –SPARQL: extension to SQL h:newton SELECT ?title ?price WHERE { ?x dc:title ?title. OPTIONAL { ?x ns:price ?price. FILTER (?price < 30) } }

OWL – implementation of DL for Web Semantic Web – extend data in XML with semantics can allow intelligent search/query knowledge expressible in RDF (XML-like, with URIs) 2.4

<rdf:Property rdf:about=" vs:term_status="stable" rdfs:label="personal mailbox" rdfs:comment="A personal mailbox, i.e. foaf:mbox."> <rdf:RDF xmlns:foaf=" xmlns:rdf=" xmlns:rdfs=" Jimmy Wales Jimbo Angela Beesley

Protege – an Ontology Editor

Probability Of course, probability forms a more rigorous way to handle uncertainty –most stomach aches are cause by indigestion –Prob(indigestion | stomachAche) = 0.8 –use Bayes Rule to combine observations with prior expectations to calculate posterior probs –may be hard to quantify probabilistic logic –attempts to synthesize FOL with probabilities certainty factors in expert systems –backAche&(physicalOccupation or sportsEnthusiast) strainedMuscles (CF=0.8)

Fuzzy Logic useful when rules have qualitative adjectives over quantitative variables dont want to draw precise cutoffs –Young children should go to bed early. –Tall people who are not thin are heavy. membership functions KB of fuzzy rules –IF temperature IS very cold THEN stop fan IF temperature IS cold THEN turn down fan IF temperature IS normal THEN maintain level IF temperature IS hot THEN speed up fan control applications; function approximation

inference –if height of package is short and weight is heavy, ship by FedEx –degree to which instance matches antecedents to rule? –conjunction: take min of memberships –suppose height=165 and weight=100; is it short and heavy? –min(0.2,0.6)=0.2