Introduction to Artificial Intelligence 2 nd semester 2016/2017. Chapter 8: First-Order Logic (FOL)
|
|
- Paul Harrison
- 5 years ago
- Views:
Transcription
1 Introduction to Artificial Intelligence 2 nd semester 2016/2017 Chapter 8: First-Order Logic (FOL) Mohamed B. Abubaker Palestine Technical College Deir El-Balah 1
2 Introduction Propositional logic is used as a representation language to illustrate the basic concepts of logic and knowledge-based agents. is a declarative language because its semantics is based on a truth relation between sentences and possible worlds. is a compositional language The meaning of a sentence is a function of the meaning of its parts The meaning of S 1,4 S 1,2 is related to the meanings of S 1,4 and S 1,2 lacks the expressive power to concisely describe an environment with many objects Cannot say: Squares adjacent to pits are breezy. write a separate rule about breezes and pits for each square, such as 2
3 First-Order Logic (FOL) formal and natural languages We can adopt the foundation of propositional logic and build a more expressive logic on that foundation, borrowing representational ideas from natural language. FOL assumes the world contains: Objects: people, houses, numbers, colors, squares, pits, wumpuses, baseball games, Relations: these can be unary relations or properties such as red, round, prime, or more general n-ary relations such as brother of, bigger than, part of, comes between, Functions: (relations in which there is only one value for a given input) father of, best friend, one more than, plus, 3
4 First-Order Logic (FOL) formal and natural languages The language of first-order logic is built around objects and relations Examples One plus two equals three Objects: one, two, three, one plus two; Relation: equals; Function: plus. ( One plus two is a name for the object that is obtained by applying the function plus to the objects one and two. Three is another name for this object.) Squares neighboring the wumpus are smelly. Objects: wumpus, squares; Property: smelly; Relation: neighboring. 4
5 Formal Languages 5
6 Relationships Models for first-order logic 6
7 First-order Logic (FOL) Syntax 7
8 First-order Logic (FOL) More on Syntax Three kinds of Symbols Constants: objects Predicate: relations Function: functions (can return values other than truth values) Predicates and Functions have arity. Symbols have an interpretation Terms: LeftLeg(Ali), instead of using a constant symbol. Atomic Sentences states facts: Brother(Omar,Ali) P(x,y) is read as x is a P of y Complex Sentences: Brother(Omar,Ali) Brother(Ali,Omar) / King(Omar) King(Ali) 8
9 First-order Logic (FOL) More on Syntax Universal Quantifiers: All kings are persons x King(x) Person(x) is usually pronounced For all.... For all x, if x is a king, then x is a person Typically, is the main connective with A common mistake is to use conjunction instead of implication 9
10 First-order Logic (FOL) More on Syntax Existential Quantifiers: Make a statement about some object in the universe without naming it King Ali has a crown on his head x Crown(x) OnHead(x,Ali) x is pronounced There exists an x such that... or For some x.... x P is true in a given model if P is true in at least one extended interpretation that assigns x to a domain element. Typically, ^ is the main connective with! x means There exists a unique x There exists one and only one x There exists exactly one x Sometimes! is written as 1 10
11 First-order Logic (FOL) Properties of quantifiers x y is the same as y x x y is the same as y x x y is not the same as y x x y Teaches(x,y) For everyone ( all x ) there is someone ( exists y ) whom they teach. i.e, Everybody teaches somebody There might be a different y for each x (y is inside the scope of x) y x Teaches(x,y) There is someone ( exists y ) whom everyone teaches ( all x ). i.e There is someone who is taught by everyone Every x teaches the same y (x is inside the scope of y) 11
12 First-order Logic (FOL) Connections between and Asserting that all x have property P is the same as asserting that does not exist any x that does not have the property P x Likes(x, AI class) is equivalent to x Likes(x, AI class) Everyone likes AI class means that there is no one who does not like AI class Asserting that there exists an x with property P is the same as asserting that not all x do not have the property P x Likes(x, IceCream) is equivalent to x Likes(x, IceCream) The De Morgan rules 12
13 First-order Logic (FOL) Equality term 1 = term 2 is true under a given interpretation if and only if term 1 and term 2 refer to the same object. Father (Ali)=Ahmed To say that Omar has at least two brothers, we would write x,y Brother(x,Omar) Brother(y,Omar) (x=y) x,y Brother(x,Omar) Brother(y,Omar) it is true in the model where Omar has only one brother. 13
14 First-order Logic (FOL) More facts Omar has only two brothers, Ali and Anas Brother(Ali,Omar) Brother(Anas,Omar) Ali = Anas x Brother(x,Omar) (x=ali x=anas) No region in South America borders any region in Europe. x,y In(x, South America) ^ In(y, Europe) border(x, y) No two adjacent countries have the same map color. x,y Country(x)^Country(y)^Adjacent(x,y) (Color(x) = Color(y)) ^ (x=y) 14
15 Using First-order Logic (FOL) Assertions and queries in first-order logic 15
16 Using First-order Logic (FOL) Kinship Domain The son of my father is my brother; One s grandmother is the mother of one s parent; etc.. Domain: People Unary predicates: Male, Female Relations: Parent, Sibling, Brother, Sister, Child, Daughter, Son, Spouse, Wife, Husband, Grandparent, Grandchild, Cousin, Aunt, and Uncle Functions: Mother, Father 16
17 Using First-order Logic (FOL) Kinship Domain one s mother is one s female parent: m,c Mother(c)=m Female(m) Parent(m,c) Male and female are disjoint categories: x Male(x) Female(x) Parent and child are inverse relations: p,c Parent(p,c) Child(c,p) A grandparent is a parent of one s parent: g,c Grandparent(g,c) p Parent(g,p) Parent(p,c) 17
18 Using First-order Logic (FOL) Wumpus World The wumpus agent receives a percept vector with five elements The corresponding first-order sentence stored in the knowledge base must include both the percept and the time at which it occurred. Percept([Stench,Breeze,Glitter,None,None],5) The actions in the wumpus world can be represented by logical terms: Turn(Right), Turn(Left), Forward, Shoot, Grab, Climb To determine which is best, the agent program executes the query ASKVARS( a BestAction(a,5)) 18
19 Using First-order Logic (FOL) Wumpus World The raw percept data implies certain facts about the current state t,s,b,m,c Percept([s,b,Glitter,m,c ],t) Glitter(t) Simple reflex actions: t Glitter(t) BestAction(Grab,t) Instead of encoding: Adjacent(Square 1,1, Square 2,1 ) Adjacency of any two squares can be defined as: x,y,a,b Adjacent([x,y],[a,b]) (x = a (y = b 1 y = b + 1)) (y = b (x = a 1 x = a + 1)). The agent s location changes over time: At(Agent,s,t) to mean that the agent is at square s at time t 19
20 Using First-order Logic (FOL) Wumpus World We can then say that objects can only be at one location at a time: x,s1,s2,t At(x,s1,t) At(x,s2,t) s1 = s2 if the agent is at a square and perceives a breeze, then that square is breezy: s,t At(Agent,s,t) Breeze(t) Breezy(s) first-order logic just needs one axiom: s Breezy(s) r Adjacent(r,s) Pit(r) 20
21 First-order Logic (FOL) Knowledge Engineering 1. Identify the task 2. Assemble the relevant knowledge 3. Decide on a vocabulary of predicates, functions, and constants 4. Encode general knowledge about the domain 5. Encode a description of the specific problem instance 6. Pose queries to the inference procedure and get answers 7. Debug the knowledge base 21
22 END 22
E.g., Brother(KingJohn,RichardTheLionheart)
First-Order Logic Chapter 8 Outline Why FOL? Syntax and semantics of FOL Using FOL Wumpus world in FOL Knowledge engineering in FOL 1 Pros and cons of propositional logic Propositional logic is declarative
More informationQuestion about Final Exam. CS 416 Artificial Intelligence. What do we like about propositional logic? First-order logic
Page 1 Question about Final Exam CS 416 Artificial Intelligence I will have a date for you by Tuesday of next week. Lecture 13 First-Order Logic Chapter 8 First-order logic We saw how propositional logic
More informationITCS 6150 Intelligent Systems. Lecture 13 First-Order Logic Chapter 8
ITCS 6150 Intelligent Systems Lecture 13 First-Order Logic Chapter 8 First-order logic We saw how propositional logic can create intelligent behavior But propositional logic is a poor representation for
More informationCOMP3411: Artificial Intelligence 8. First Order Logic
COMP9414/9814/3411 16s1 First Order Logic 1 COMP3411: Artificial Intelligence 8. First Order Logic Overview First Order Logic Universal and Existential Quantifiers Russell & Norvig, Chapter 8. Fun with
More informationSet 7: Predicate logic Chapter 8 R&N. ICS 271 Fall 2015
Set 7: Predicate logic Chapter 8 R&N ICS 271 Fall 2015 Outline New ontology objects, relations, properties, functions New Syntax Constants, predicates, properties, functions New semantics meaning of new
More informationVibhav Gogate University of Texas, Dallas Artificial Intelligence: CS 4365 First-order Logic
Artificial Intelligence: CS 4365 First-order Logic Vibhav Gogate University of Texas, Dallas First-order Logic Course Outline: Where are we? Introduction and Agents Search, Heuristics and CSPs Adversarial
More informationFirst-Order Predicate Logic. Introduction to Intelligent Systems
First-Order Predicate Logic Introduction to Intelligent Systems First-Order (Predicate) Logic Propositional logic assumes the world contains facts Predicate logic (like natural language) assumes the world
More informationINF5390 Kunstig intelligens. First-Order Logic. Roar Fjellheim
INF5390 Kunstig intelligens First-Order Logic Roar Fjellheim Outline Logical commitments First-order logic First-order inference Resolution rule Reasoning systems Summary Extracts from AIMA Chapter 8:
More informationFirst-Order Logic Syntax
First-Order Logic Syntax Reading: Chapter 8, 9.1-9.2, 9.5.1-9.5.5 FOL Syntax and Semantics read: 8.1-8.2 FOL Knowledge Engineering read: 8.3-8.5 FOL Inference read: Chapter 9.1-9.2, 9.5.1-9.5.5 (Please
More informationCSE 473 Lecture 12 Chapter 8. First-Order Logic. CSE AI faculty
CSE 473 Lecture 12 Chapter 8 First-Order Logic CSE AI faculty What s on our menu today? First-Order Logic Definitions Universal and Existential Quantifiers Skolemization Unification 2 Propositional vs.
More informationFor next Tuesday. Read chapter 8 No written homework Initial posts due Thursday 1pm and responses due by class time Tuesday
For next Tuesday Read chapter 8 No written homework Initial posts due Thursday 1pm and responses due by class time Tuesday Any questions? Program 1 Imperfect Knowledge What issues arise when we don t know
More informationKnowledge Representation. CS 486/686: Introduction to Artificial Intelligence
Knowledge Representation CS 486/686: Introduction to Artificial Intelligence 1 Outline Knowledge-based agents Logics in general Propositional Logic& Reasoning First Order Logic 2 Introduction So far we
More informationCS 8520: Artificial Intelligence
CS 8520: Artificial Intelligence Logical Agents and First Order Logic Paula Matuszek Spring 2013 1 References These slides draw from a number of sources, including: Hwee Tou Ng, http://aima.eecs.berkeley.edu/
More informationARTIFICIAL INTELLIGENCE (CS 370D)
Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) (CHAPTER-7) LOGICAL AGENTS Outline Agent Case (Wumpus world) Knowledge-Representation Logic in general
More informationPRACTICAL file. Department: Computer Science and Engineering. Semester:
PRACTICAL file Department: Computer Science and Engineering Session: Subject: January - June SLLP Subject Code: Semester: CS-416 8 th Syllabus 1. Study of Propositional Logic 2. Study of First Order Predicate
More informationLast time: Logic and Reasoning
Last time: Logic and Reasoning Knowledge Base (KB): contains a set of sentences expressed using a knowledge representation language TELL: operator to add a sentence to the KB ASK: to query the KB Logics
More information(More) Propositional Logic and an Intro to Predicate Logic. CSCI 3202, Fall 2010
(More) Propositional Logic and an Intro to Predicate Logic CSCI 3202, Fall 2010 Assignments Next week: Guest lectures (Jim Martin and Nikolaus Correll); Read Chapter 9 (but you can skip sections on logic
More informationFirst Order Logic Part 1
First Order Logic Part 1 Yingyu Liang yliang@cs.wisc.edu Computer Sciences Department University of Wisconsin, Madison [Based on slides from Burr Settles and Jerry Zhu] slide 1 Problems with propositional
More informationPredicate Calculus. Problems? Syntax. Atomic Sentences. Complex Sentences. Truth
Problems? What kinds of problems exist for propositional logic? Predicate Calculus A way to access the components of an individual assertion Predicate Calculus: used extensively in many AI programs, especially
More informationWeek 7 Prolog overview
Week 7 Prolog overview A language designed for A.I. Logic programming paradigm Programmer specifies relationships among possible data values. User poses queries. What data value(s) will make this predicate
More informationRELATIONSHIP TO PROBAND (RELATE)
RELATIONSHIP TO PROBAND (RELATE) Release 3.1 December 1997 - ii - RELATE Table of Contents 1 Changes Since Last Release... 1 2 Purpose... 3 3 Limitations... 5 3.1 Command Line Parameters... 5 4 Theory...
More informationPrinciples of Knowledge Representation and Reasoning
Principles of Knowledge Representation and Semantic Networks and Description Logics II: Description Logics Terminology and Notation Albert-Ludwigs-Universität Freiburg Bernhard Nebel, Stefan Wölfl, and
More informationNotes. Notes. Introduction. Notes. Propositional Functions. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry.
Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 1 / 1 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 1.3 1.4 of Rosen cse235@cse.unl.edu Introduction
More informationSRI VIDYA COLLEGE OF ENGINEERING & TECHNOLOGY REPRESENTATION OF KNOWLEDGE PART A
UNIT II REPRESENTATION OF KNOWLEDGE PART A 1. What is informed search? One that uses problem specific knowledge beyond the definition of the problem itself and it can find solutions more efficiently than
More information! model construction
Logics of Image Interpretation 1 Describing Image Interpretation in Logical Terms In 2D images (with possible occlusions) we never see the complete 3D reality.? deduction! model construction "from the
More informationCS-171, Intro to A.I. Mid-term Exam Summer Quarter, 2016
CS-171, Intro to A.I. Mid-term Exam Summer Quarter, 2016 YOUR NAME: YOUR ID: ID TO RIGHT: ROW: SEAT: The exam will begin on the next page. Please, do not turn the page until told. When you are told to
More informationFirst-Order Logic PREDICATE LOGIC. Syntax. Terms
First-Order Logic PREDICATE LOGIC Aim of this lecture: to introduce first-order predicate logic. More expressive than propositional logic. Consider the following argument: all monitors are ready; X12 is
More informationa. Given that we search depth first from left to right, list all leaf nodes above that we need to search/expand. (35 Points)
Name: Course: CAP 4601 Semester: Summer 2013 Assignment: Assignment 06 Date: 08 JUL 2013 Complete the following written problems: 1. Alpha-Beta Pruning (40 Points). Consider the following min-max tree.
More informationOverview. CS389L: Automated Logical Reasoning. Lecture 6: First Order Logic Syntax and Semantics. Constants in First-Order Logic.
Overview CS389L: Automated Logical Reasoning Lecture 6: First Order Logic Syntax and Semantics Işıl Dillig So far: Automated reasoning in propositional logic. Propositional logic is simple and easy to
More informationTopic A: Introduction to Prolog
Topic A: Introduction to Prolog Recommended Exercises and Readings From Programming in Prolog (5 th Ed.) Exercises: 1.2, 1.3, 1.4, Readings: Chapters 1 and 2 1 2 Prolog Prolog: Programming in Logic A logic
More informationCSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/27
CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 2.1-2.7 p. 1/27 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer
More informationFirst Order Predicate Logic CIS 32
First Order Predicate Logic CIS 32 Functionalia Demos? HW 3 is out on the web-page. Today: Predicate Logic Constructing the Logical Agent Predicate Logic First-order predicate logic More expressive than
More informationSEMANTICS. Retrieval by Meaning
SEMANTICS 1 Retrieval by Meaning Query: "Accident of a Mercedes" Retrieved image: Methods for retrieval by meaning: high-level image understanding beyond state-of-the-art except easy cases natural language
More informationOntologies and the Web Ontology Language OWL
Chapter 7 Ontologies and the Web Ontology Language OWL vocabularies can be defined by RDFS not so much stronger than the ER Model or UML (even weaker: no cardinalities) not only a conceptual model, but
More informationECE Spring 2018 Problem Set #2 Due: 3/14/18
ECE 45234 - Spring 2018 Problem Set #2 Due: 3/14/18 The purpose of this problem set is to gain experience with logic-based methods. In the engineering design section you will be simulating the wumpus world.
More informationl A family of logic based KR formalisms l Distinguished by: l Decidable fragments of FOL l Closely related to Propositional Modal & Dynamic Logics
What Are Description Logics? Description Logics l A family of logic based KR formalisms Descendants of semantic networks and KL-ONE Describe domain in terms of concepts (classes), roles (relationships)
More informationCSC242: Intro to AI. Lecture 8 LOGIC
CSC242: Intro to AI Lecture 8 LOGIC Propositional Logic Fly Problem-solving state Transition Model World state Action Arad Sibiu Timosoara Zerind Rimnicu Vilcea Arad Arad Lugoj Arad Oradea Faragas Oradea
More informationSemantic Web Test
Semantic Web Test 24.01.2017 Group 1 No. A B C D 1 X X X 2 X X 3 X X 4 X X 5 X X 6 X X X X 7 X X 8 X X 9 X X X 10 X X X 11 X 12 X X X 13 X X 14 X X 15 X X 16 X X 17 X 18 X X 19 X 20 X X 1. Which statements
More informationIntroduction to Artificial Intelligence 2 nd semester 2016/2017. Chapter 4: Beyond Classical Search
Introduction to Artificial Intelligence 2 nd semester 2016/2017 Chapter 4: Beyond Classical Search Mohamed B. Abubaker Palestine Technical College Deir El-Balah 1 Outlines local search algorithms and optimization
More informationLogic (or Declarative) Programming Foundations: Prolog. Overview [1]
Logic (or Declarative) Programming Foundations: Prolog In Text: Chapter 12 Formal logic Logic programming Prolog Overview [1] N. Meng, S. Arthur 2 1 Logic Programming To express programs in a form of symbolic
More informationIntroduction to Logic Programming
Introduction to Logic Programming Foundations, First-Order Language Temur Kutsia RISC, Johannes Kepler University Linz, Austria kutsia@risc.jku.at What is a Logic Program Logic program is a set of certain
More informationChapter 1.3 Quantifiers, Predicates, and Validity. Reading: 1.3 Next Class: 1.4. Motivation
Chapter 1.3 Quantifiers, Predicates, and Validity Reading: 1.3 Next Class: 1.4 1 Motivation Propositional logic allows to translate and prove certain arguments from natural language If John s wallet was
More informationlogic importance logic importance (2) logic importance (3) specializations of logic Horn logic specializations of logic RDF and OWL
logic importance - high-level language for expressing knowledge - high expressive power - well-understood formal semantics - precise notion of logical consequence - systems that can automatically derive
More informationFirst Order Logic and Resolution
Artificial Intelligence CS 6364 Professor Dan Moldovan Section 6 First Order Logic and Resolution First Order Logic (First Order Predicate Calculus) n n There is need to access components of a sentence.
More informationWhat is a Logic Program. Introduction to Logic Programming. Introductory Examples. Introductory Examples. Foundations, First-Order Language
What is a Logic Program Introduction to Logic Programming Foundations, First-Order Language Temur Kutsia Research Institute for Symbolic Computation Johannes Kepler University Linz, Austria kutsia@risc.jku.at
More informationA review of First-Order Logic
Knowledge Interchange Format A review of First-Order Logic Using KIF Knowledge Interchange Format Material adapted from Professor Richard Fikes Stanford University Sys 3 Know. Base in Lang3 KIF ~ First
More informationOWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages
OWL a glimpse OWL Web Ontology Language describes classes, properties and relations among conceptual objects lecture 7: owl - introduction of#27# ece#720,#winter# 12# 2# of#27# OWL a glimpse (2) requirements
More informationCSC242: Intro to AI. Lecture 10. Tuesday, February 26, 13
CSC242: Intro to AI Lecture 10 No Quiz Propositional Logic Propositional Logic Fly Problem-solving state Transition Model World state Action Arad Sibiu Timosoara Zerind Rimnicu Vilcea Arad Arad Lugoj
More informationmond and a square both go to the number 4.
A function machine is called one-to-one if every one of its inputs goes to a dierent output. Let's determine which of our functions from last week are one-to-one. 1. Is Katja's function machine one-to-one?
More informationProgramming Paradigms
PP 2017/18 Unit 6 Prolog Basics 1/42 Programming Paradigms Unit 6 Prolog Basics J. Gamper Free University of Bozen-Bolzano Faculty of Computer Science IDSE PP 2017/18 Unit 6 Prolog Basics 2/42 Outline
More informationCS-171, Intro to A.I. Mid-term Exam Winter Quarter, 2014
CS-171, Intro to A.I. Mid-term Exam Winter Quarter, 2014 YOUR NAME: YOUR ID: ID TO RIGHT: ROW: SEAT NO.: The exam will begin on the next page. Please, do not turn the page until told. When you are told
More informationIntroduction to Prolog
Introduction to Prolog David Woods dwoods@scss.tcd.ie Week 3 - HT Declarative Logic The Prolog programming language is, at its theoretical core, a declarative language. This is unlike more commonly used
More informationLogic as a Programming Language
Logic as a Programming Language! Logic can be considered the oldest programming language! Aristotle invented propositional logic over 2000 years ago in order to prove properties of formal arguments! Propositions
More informationMulti-agent and Semantic Web Systems: RDF Data Structures
Multi-agent and Semantic Web Systems: RDF Data Structures Fiona McNeill School of Informatics 31st January 2013 Fiona McNeill Multi-agent Semantic Web Systems: RDF Data Structures 31st January 2013 0/25
More informationMathematical Logic
Mathematical Logic - 2017 Exercises: DPLL and First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia, Rui Zhang, Vincenzo Maltese and Mattia Fumagalli
More informationSWEN-220 Mathematical Models of Software
SWEN-220 Mathematical Models of Software Introduction to Alloy Signatures, Fields, Facts, Predicates, and Assertions 2017 - Thomas Reichlmayr & Michael Lutz 1 Topics What is Alloy? Atoms, Sets, Relations
More informationLogic Languages. Hwansoo Han
Logic Languages Hwansoo Han Logic Programming Based on first-order predicate calculus Operators Conjunction, disjunction, negation, implication Universal and existential quantifiers E A x for all x...
More informationProgramming Languages Week 6 Exercises
Programming Languages Week 6 Exercises 1 Logic programming in Python 1.1 Unification Unification is the process of making two things the same. Unifying an unbound variable and a value makes them the same
More informationFoundations of AI. 9. Predicate Logic. Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution
Foundations of AI 9. Predicate Logic Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution Wolfram Burgard, Andreas Karwath, Bernhard Nebel, and Martin Riedmiller 09/1 Contents Motivation
More informationSOFTWARE ENGINEERING DESIGN I
2 SOFTWARE ENGINEERING DESIGN I 3. Schemas and Theories The aim of this course is to learn how to write formal specifications of computer systems, using classical logic. The key descriptional technique
More informationTHE PREDICATE CALCULUS
2 THE PREDICATE CALCULUS Slide 2.1 2.0 Introduction 2.1 The Propositional Calculus 2.2 The Predicate Calculus 2.3 Using Inference Rules to Produce Predicate Calculus Expressions 2.4 Application: A Logic-Based
More informationLecture 4: January 12, 2015
32002: AI (First Order Predicate Logic, Interpretation and Inferences) Spring 2015 Lecturer: K.R. Chowdhary Lecture 4: January 12, 2015 : Professor of CS (VF) Disclaimer: These notes have not been subjected
More informationFirst-Order Predicate Logic. CSCI 5582, Fall 2007
First-Order Predicate Logic CSCI 5582, Fall 2007 What Can t We Do in FOPL? We can t take anything back once we ve asserted it. We can t make statements about relations themselves (e.g., Brother is a commutative
More informationFirst order logic (Ch. 8)
First order logic (Ch. 8) Announcements Test in 12 days (not next Tuesday but the one after) Nov. 14 is Midterm 2... covers: -Game theory -CSP (constraint satisfaction) -Propositional logic Review: Propositional
More informationChapter 2 & 3: Representations & Reasoning Systems (2.2)
Chapter 2 & 3: A Representation & Reasoning System & Using Definite Knowledge Representations & Reasoning Systems (RRS) (2.2) Simplifying Assumptions of the Initial RRS (2.3) Datalog (2.4) Semantics (2.5)
More informationOntologies and OWL. Riccardo Rosati. Knowledge Representation and Semantic Technologies
Knowledge Representation and Semantic Technologies Ontologies and OWL Riccardo Rosati Corso di Laurea Magistrale in Ingegneria Informatica Sapienza Università di Roma 2016/2017 The Semantic Web Tower Ontologies
More informationDescription Logics. Structural Description Logics (Acknowledgement: Enrico Franconi) Object-Oriented Representations. Applications
Description Logics Structural Description Logics (Acknowledgement: Enrico Franconi) The need for a formalism Ambiguities of object-oriented representations A structure upon FOL A predicate level language
More informationLecture 7: January 15, 2014
32002: AI (First order Predicate Logic, Syntax and Semantics) Spring 2014 Lecturer: K.R. Chowdhary Lecture 7: January 15, 2014 : Professor of CS (GF) Disclaimer: These notes have not been subjected to
More informationPersonal Data Change Form US
Instructions This form is used for employees to change personal data. Please ensure to complete Section A and only those fields where data will change. If the section requires supporting documentation,
More informationCSCI 4150: Intro. to Artificial Intelligence Midterm Examination
CSCI 4150: Intro. to Artificial Intelligence Midterm Examination Tuesday October 17, 000 Name: 1 Assorted search questions The following questions explore differences in the number of nodes evaluated for
More informationSoftware Paradigms (Lesson 6) Logic Programming
Software Paradigms (Lesson 6) Logic Programming Table of Contents 1 Introduction... 2 2 Facts... 3 3 Predicates (Structured Terms)... 4 3.1 General Structures... 4 3.2 Predicates (Syntax)... 4 3.3 Simple
More informationCOMP4418 Knowledge Representation and Reasoning
COMP4418 Knowledge Representation and Reasoning Week 3 Practical Reasoning David Rajaratnam Click to edit Present s Name Practical Reasoning - My Interests Cognitive Robotics. Connect high level cognition
More informationFirst-Order Logic. George Konidaris
First-Order Logic George Konidaris gdk@cs.brown.edu Spring 2017 Knowledge Representation and Reasoning Represent knowledge about the world. Representation language. Knowledge base. Declarative - facts
More informationFirst order logic (Ch. 8)
First order logic (Ch. 8) Announcements Writing 3 due wednesday Projects talk! Review: Propositional logic Propositional logic builds sentences that relate various symbols with true or false Each symbol
More informationIntroduction to Description Logics
Introduction to Description Logics Outline History of DLs Informal introduction to DLs A Simple DL: ALC Semantics of ALC Reasoning problems in ALC The DLs ALCN, ALCQ and ALCQO Translating DLs to FOL DLs:
More informationResolution (14A) Young W. Lim 6/14/14
Copyright (c) 2013-2014. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free
More informationStructured Knowledge Representation
Intelligent Systems: Reasoning and Recognition James L. Crowley ENSIMAG 2 / MoSIG M1 Second Semester 2015/2016 Lesson 17 15 April 2016 Structured Knowledge Representation Object Oriented Programming...2
More informationAgenda. Database Systems. Session 5 Main Theme. Relational Algebra, Relational Calculus, and SQL. Dr. Jean-Claude Franchitti
Database Systems Session 5 Main Theme Relational Algebra, Relational Calculus, and SQL Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences
More informationProgramming Language Concepts (20013) Preparation for the Final Exam
Programming Language Concepts (20013) Preparation for the Final Exam This is a collection of 12 questions which are close to what is to be expected within the final exams for PLC. Sample answers to the
More informationDescription Logics as Ontology Languages for Semantic Webs
Description Logics as Ontology Languages for Semantic Webs Franz Baader, Ian Horrocks, and Ulrike Sattler Presented by:- Somya Gupta(10305011) Akshat Malu (10305012) Swapnil Ghuge (10305907) Presentation
More informationFirst Order Logic. Introduction to AI Bert Huang
First Order Logic Introduction to AI Bert Huang Review Propositional logic syntax and semantics Inference in propositional logic: table, inference rules, resolution Horn clauses, forward/backward chaining
More informationCS:5810 Formal Methods in Software Engineering
CS:5810 Formal Methods in Software Engineering Introduction to Alloy Part 1 Copyright 2001-17, Matt Dwyer, John Hatcliff, Rod Howell, Laurence Pilard, and Cesare Tinelli. Created by Cesare Tinelli and
More informationProlog. Reading: Sethi, Chapter 11. Overview. Predicate Calculus. Substitution and Unication. Introduction to Prolog. Prolog Inference Rules
Prolog Reading: Sethi, Chapter 11. Overview Predicate Calculus Substitution and Unication Introduction to Prolog Prolog Inference Rules Programming in Prolog - Recursion - List Processing - Arithmetic
More informationDescription Logic. Eva Mráková,
Description Logic Eva Mráková, glum@fi.muni.cz Motivation: ontology individuals/objects/instances ElizabethII Philip Philip, Anne constants in FOPL concepts/classes/types Charles Anne Andrew Edward Male,
More informationPredicate Logic and Quan0fies
Predicate Logic and Quan0fies Sec0ons 1.4, and 1.5 of Rosen Spring 2017 CSCE 235H Introduc7on to Discrete Structures (Honors) Course web-page: cse.unl.edu/~cse235h All ques7ons: Piazza LaTeX Using the
More informationKnowledge Representation
Knowledge Representation What is knowledge? Is knowledge the same thing as facts? some define knowledge as the fact or condition of knowing something with familiarity gained through experience or association.
More informationResolution in FO logic (Ch. 9)
Resolution in FO logic (Ch. 9) Review: CNF form Conjunctive normal form is a number of clauses stuck together with ANDs Each clause can only contain ORs, and logical negation must appears right next to
More informationCS:5810 Formal Methods in Software Engineering
CS:5810 Formal Methods in Software Engineering Introduction to Alloy Part 2 Copyright 2001-17, Matt Dwyer, John Hatcliff, Rod Howell, Laurence Pilard, and Cesare Tinelli. Created by Cesare Tinelli and
More informationKnowledge Representation
Knowledge Representation References Rich and Knight, Artificial Intelligence, 2nd ed. McGraw-Hill, 1991 Russell and Norvig, Artificial Intelligence: A modern approach, 2nd ed. Prentice Hall, 2003 Outline
More informationOntological Modeling: Part 2
Ontological Modeling: Part 2 Terry Halpin LogicBlox This is the second in a series of articles on ontology-based approaches to modeling. The main focus is on popular ontology languages proposed for the
More informationKnowledge Engineering with Semantic Web Technologies
This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0) Knowledge Engineering with Semantic Web Technologies Lecture 3 Ontologies and Logic 3.7 Description Logics
More informationSemantic Nets, Frames, World Representation. CS W February, 2004
Semantic Nets, Frames, World Representation CS W4701 24 February, 2004 Knowledge Representation as a medium for human expression An intelligent system must have KRs that can be interpreted by humans. We
More informationData Integration: Logic Query Languages
Data Integration: Logic Query Languages Jan Chomicki University at Buffalo Datalog Datalog A logic language Datalog programs consist of logical facts and rules Datalog is a subset of Prolog (no data structures)
More informationModule 8. Other representation formalisms. Version 2 CSE IIT, Kharagpur
Module 8 Other representation formalisms 8.1 Instructional Objective The students should understand the syntax and semantic of semantic networks Students should learn about different constructs and relations
More informationAppendix 1. Description Logic Terminology
Appendix 1 Description Logic Terminology Franz Baader Abstract The purpose of this appendix is to introduce (in a compact manner) the syntax and semantics of the most prominent DLs occurring in this handbook.
More informationCSE 20 DISCRETE MATH. Fall
CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Final exam The final exam is Saturday December 16 11:30am-2:30pm. Lecture A will take the exam in Lecture B will take the exam
More informationReview Material: First Order Logic (FOL)
Information Integration on the WEB with RDF, OWL and SPARQL Review Material: First Order Logic (FOL) Grant Weddell October 7, 2013 Syntax of FOL Signatures Vocabularies are called signatures in FOL. The
More informationLTCS Report. Concept Descriptions with Set Constraints and Cardinality Constraints. Franz Baader. LTCS-Report 17-02
Technische Universität Dresden Institute for Theoretical Computer Science Chair for Automata Theory LTCS Report Concept Descriptions with Set Constraints and Cardinality Constraints Franz Baader LTCS-Report
More informationAppendix 1. Description Logic Terminology
Appendix 1 Description Logic Terminology Franz Baader Abstract The purpose of this appendix is to introduce (in a compact manner) the syntax and semantics of the most prominent DLs occurring in this handbook.
More informationFirst-Order Logic. George Konidaris
First-Order Logic George Konidaris gdk@cs.duke.edu Spring 2016 First-Order Logic More sophisticated representation language. World can be described by: Color( ) functions Adjacent(, ) IsApple( ) relations
More information