Interval Logic Axioms Meet(i, j)  End(i)= Begin(j)

Slides:



Advertisements
Similar presentations
Knowledge Representation using First-Order Logic
Advertisements

Limitations of First-Order Logic higher-order logics – quantify over predicates –define reflexive properties: all properties P for which x P(x,x) –induction:
Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
OWL - DL. DL System A knowledge base (KB) comprises two components, the TBox and the ABox The TBox introduces the terminology, i.e., the vocabulary of.
An Introduction to Description Logics
Logic Programming Automated Reasoning in practice.
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.
The ancestor problem For the ancestor problem we have the following rules in AnsProlog: anc(X,Y)
Non-Monotonic Reasoning for the Semantic Web. Bertino, Provetti & Salvetti, AGP03 Bertino, Provetti, Salvetti Non-Monotonic Reasoning for the Semantic.
Converting formulas into a normal form Consider the following FOL formula stating that a brick is an object which is on another object which is not a pyramid,
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Knowledge Representation
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.
Extensions to FOL. When the form of the statements provides useful information Rule-based systems Frame systems When FOL isn’t enough Default reasoning.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio LECTURE 4: Semantic Networks and Description Logics.
Cs774 (Prasad)L7Negation1 Negation by Failure
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
PR-OWL: A Framework for Probabilistic Ontologies by Paulo C. G. COSTA, Kathryn B. LASKEY George Mason University presented by Thomas Packer 1PR-OWL.
1 Reasoning in Uncertain Situations 8a 8.0Introduction 8.1Logic-Based Abductive Inference 8.2Abduction: Alternatives to Logic 8.3The Stochastic Approach.
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
Intro to AI Fall 2002 © L. Joskowicz 1 Introduction to Artificial Intelligence LECTURE 11: Nonmonotonic Reasoning Motivation: beyond FOL + resolution Closed-world.
KNOWLEDGE REPRESENTATION, REASONING AND DECLARATIVE PROBLEM SOLVING Chitta Baral Arizona State University Tempe, AZ
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.
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.
Knowledge Representation and Reasoning Chapter 12 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
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.
Rules, RIF and RuleML.
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.
1 CS 2710, ISSP 2610 Chapter 12 Knowledge Representation.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 17, 2012.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
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.
LDK R Logics for Data and Knowledge Representation ClassL (Propositional Description Logic with Individuals) 1.
For Friday Read Chapter 11, sections 1 and 2 Homework: –Chapter 10, exercises 1 and 5.
1 Knowledge Based Systems (CM0377) Introductory lecture (Last revised 28th January 2002)
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
ece 627 intelligent web: ontology and beyond
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Knowledge Representation and Reasoning Chapter 12 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
Definition and Technologies Knowledge Representation.
Logics for Data and Knowledge Representation
Limitations of First-Order Logic
ece 720 intelligent web: ontology and beyond
Knowledge Representation
Symbolic Reasoning under uncertainty
Rules, RIF and RuleML.
Issues in Knowledge Representation
Uncertainty in AI.
Reasoning with Uncertainty
Knowledge Representation and Inference
Probabilistic Reasoning; Network-based reasoning
By Ryan Greenleaf & Raymond Dela Cruz
Weak Slot-and-Filler Structures
Reasoning with Uncertainty Piyush Porwal ( ) Rohit Jhunjhunwala ( ) Srivatsa R. ( ) Under the guidance of Prof. Pushpak Bhattacharyya.
Logics for Data and Knowledge Representation
Logical reasoning systems
Answer Set Programming
Logical reasoning systems
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Presentation transcript:

Interval Logic Axioms Meet(i, j)  End(i)= Begin(j) Before(i, j)  End(i) < Begin(j) After(j , i)  Before(i, j) During(i, j)  Begin(j) < Begin(i) < End(i) < End(j) Overlap(i, j)  Begin(i) < Begin(j) < End(i) < End(j) Begins (i, j)  Begin(i) = Begin(j) Finishes (i, j)  End(i) = End(j) Equals (i, j)  Begin(i) = Begin(j)  End(i) = End(j)

RDF examples <?xml version="1.0" encoding="UTF-8"?> <rdf:RDF   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:region="http://www.country-regions.edu/"> <rdf:Description rdf:about="http://en.wikipedia.org/wiki/Oxford"> <dc:title>Oxford</dc:title> <dc:coverage>Oxfordshire</dc:coverage> <dc:publisher>Wikipedia</dc:publisher> <dc:language>English</dc:language> <region:population>10000</region:population> <region:principaltown rdf:resource="http://www.country-regions.edu/oxford"/> </rdf:Description> </rdf:RDF>

RDF Examples <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cd="http://www.recshop.fake/cd#"> <rdf:Description rdf:about="http://www.recshop.fake/cd/Empire Burlesque"> <cd:artist>Bob Dylan</cd:artist> <cd:country>UK</cd:country> <cd:company>Columbia</cd:company> <cd:price>10.90</cd:price> <cd:year>1985</cd:year> </rdf:Description>

<rdf:Description rdf:about="http://www.site.com/zoo#bengie"> <rdf:type rdf:resource="http://www.site.com/zoo#dog"/> <feature:color>brown</feature:Color> <friendsWith rdf:about="http://www.site.com/zoo#bonnie"> </rdf:Description> does bengie bark? does bonnie know/like bengie?

OWL Example <owl:Class rdf:about="http://www.linkeddatatools.com/plants#planttype"> <rdfs:label>The plant type</rdfs:label> <rdfs:comment>The class of all plant types.</rdfs:comment> </owl:Class> <!-- OWL Subclass Definition - Flower --> <owl:Class rdf:about="http://www.linkeddatatools.com/plants#flowers"> <!-- Flowers is a subclassification of planttype --> <rdfs:subClassOf rdf:resource="http://www.linkeddatatools.com/plants#planttype"/> <rdfs:label>Flowering plants</rdfs:label> <rdfs:comment>Flowering plants, also known as angiosperms.</rdfs:comment> <rdf:Description rdf:about="http://www.linkeddatatools.com/plants#orchid"> <!-- Orchid is an individual (instance) of the flowers class --> <rdf:type rdf:resource="http://www.linkeddatatools.com/plants#flowers"/> <plants:family>Orchidaceae</plants:family> </rdf:Description>

Limitations of First-Order Logic FOL is very expressive, but...consider how to translate these: "most students graduate in 4 years" x student(x) → duration(undergrad(x))years(4) (all???) "only a few students switch majors" s,m1,m2,t1,t2 student(s)^major(s,m1,t1)major(s,m2,t2) m1m2  t1t2 (exists???) "all birds can fly, except penguins, stuffed brids, plastic birds, birds with broken wings..." The problems with FOL involve: default rules & exceptions degrees of truth strength of rules

Solutions Closed-World Assumption in PROLOG Non-monotonic logics Semantic Networks Fuzzy Logic Bayesian Probability

Closed-World Assumption (CWA) in PROLOG every fact that is not explicitly asserted (or provable) is assumed to be false can include negated antecedents in rules ("\+" = not) stench(2,1). stench(3,2). stench(4,1). wumpus_free(X,Y) :- room(X,Y),adjacent(X,Y,P,Q),\+ stench(P,Q). ?- wumpus_free(3,1). No ?- wumpus_free(2,4). Yes

using CWA for default reasoning bird(X) :- canary(X). ?- bird(tweety). Yes bird(X) :- penquin(X). ?- canFly(tweety). Yes canary(tweety). ?- bird(opus). Yes penquin(opus). ?- canFly(opus). No canFly(X) :- bird(X),\+ penguin(X). how is negation-as-failure implemented? modify back-chaining to handle negative antecedents when trying to prove ¬P(X) on goal stack, try proving P(X) and if fail then ¬P(X) succeeds goal stack: canFly(tweety) goal stack: canFly(opus) X bird(tweety) ¬penguin(tweety) canary(tweety) bird(opus) ¬penguin(opus) penguin(opus) succeeds X fails penguin(tweety) *** fails*** penguin(opus) ***succeeds*** X

Non-monotonic Logics allow retractions later (popular for truth- maintenance systems) "birds fly", "penguins are birds that don't fly" x bird(x)→fly(x) x penguin(x)→bird(x), x penguin(x)→¬fly(x) bird(tweety), bird(opus) |= fly(opus) later, add that opus is a penguin, change inference penguin(opus) |= ¬fly(opus) Definition: A logic is monotonic if everything that is entailed by a set of sentences a is entailed by any superset of sentences ab opus example is non-monotonic

example syntax of default rule bird(x): fly(x) / fly(x) or bird(x) ≻ fly(x) semantics: "if PRECOND is satisfied and it is not inconsistent to believe CONSEQ, then CONSEQ" Circumscription add abnormal predicates to rules x bird(x)¬abnormal1(x)→fly(x) x penguin(x) ¬abnormal2(x) →bird(x) x penguin(x) ¬abnormal3(x) →¬fly(x) algorithm: minimize number of abnormals needed to make KB consistent {bird(tweety),fly(tweety),bird(opus),penguin(opus), ¬fly(opus)} is INCONSISTENT {bird(tweety),fly(tweety),bird(opus),penguin(opus), ¬fly(opus), abnormal1(opus)} is CONSISTENT

Semantic Networks graphical representation of knowledge nodes, slots, edges, "isa" links procedural mechanism for answering queries follow links different than formal definition of "entailment" inheritance can override defaults

Description Logics decidable subset of FOL Tbox (terminological) efficient algorithms based on set relationships Tbox (terminological) Mother ⊑ Parent Parent ≡ Father ⊔ Mother parentOf ⊑ ancestorOf brotherOf ◦ parentOf ⊑ uncleOf ⊤ ⊑ Male ⊔ Female Male ⊓ Female ⊑ ⊥ PeopleWithDaughters ≡ ∀parentOf.Female Person ⊑ (≥2 childOf.Parent ⊓ ≤2 childOf.Parent) Abox (assertional) Mother(julia) parentOf(julia, john)

Protege

Fuzzy Logic some expressions involve "degrees" of truth, like "John is tall" membership function "most students with high SATs have high GPAs" inference by computing with membership funcs. "only days that are warm and not windy are good for playing frisbee" suppose today is 85 and the wind is 15 kts NE T(A^B) = min(T(A),T(B)) T(AvB) = max(T(A),T(B)) popular for control applications (like thermostats...)

warm not windy windy 1.0 wind speed 0.4 15 85 temp: 30 100 0kts 50 kts wind: speed temp

Probability conditional probabilities play role of rules people with a toothache are likely to have a cavity p(cavity|toothache) = 0.6 joint probabilities, priors Bayes Rule

Bayesian Networks graphical models where edges represent conditional probabilities popular for modern AI systems (expert systems) important for handling uncertainty =