Knowledge Representation II Praveen Paritosh CogSci 207: Fall 2003: Week 2 Tue, Oct 5, 2004.

Slides:



Advertisements
Similar presentations
Computer Science CPSC 322 Lecture 25 Top Down Proof Procedure (Ch 5.2.2)
Advertisements

Copyright © 2002 Cycorp Introduction Fundamental Expression Types Top Level Collections Time and Dates Spatial Properties and Relations Event Types Information.
Knowledge Representation
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
For Friday Finish chapter 10 No homework (get started on program 2)
Ontologies - Design principles Cartic Ramakrishnan LSDIS Lab University of Georgia.
ACT Science Reasoning Test Prep Opening Questions
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Copyright © 2002 Cycorp Why use logic? CycL Syntax Collections and Individuals (#$isa and #$genls) Microtheories Foundations of Knowledge Representation.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Copyright © 2002 Cycorp Why use logic? CycL Syntax Collections and Individuals (#$isa and #$genls) Microtheories Foundations of Knowledge Representation.
Overview of Cyc Tom O'Hara NMSU AI Seminar 18 February 2002.
Seminar /workshop on cognitive attainment ppt Dr Charles C. Chan 28 Sept 2001 Dr Charles C. Chan 28 Sept 2001 Assessing APSS Students Learning.
The Semantic Web – WEEK 5: RDF Schema + Ontologies The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse]
Copyright © 2002 Cycorp Why use logic? CycL Syntax Collections and Individuals (#$isa and #$genls) Microtheories Foundations of Knowledge Representation.
Copyright © 2002 Cycorp Introduction Fundamental Expression Types Top Level Collections Time and Dates Spatial Properties and Relations Event Types Information.
Copyright © 2002 Cycorp A Bundle of Assertions Think of a microtheory (mt) as a set of assertions. Each microtheory bundles assertions based on –a shared.
Copyright © 2002 Cycorp Why use logic? CycL Syntax Collections and Individuals (#$isa and #$genls) Microtheories Foundations of Knowledge Representation.
USCISIUSCISI Loom: Basic Concepts Thomas A. Russ USC Information Sciences Institute.
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
Aesthetics: Diversity in Criticism and Analysis of the Arts Julie Van Camp Fulbright Lecturer Comenius University Professor of Philosophy California State.
Ontology Mapping with Cyc doug foxvog 14 July 2004
Test Taking Tips How to help yourself with multiple choice and short answer questions for reading selections A. Caldwell.
ACT Question Analysis and Strategies for Science Presentation A.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
Protege OWL Plugin Short Tutorial. OWL Usage The world wide web is a natural application area of ontologies, because ontologies could be used to describe.
Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the.
Author: William Tunstall-Pedoe Presenter: Bahareh Sarrafzadeh CS 886 Spring 2015.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
USCISIUSCISI Background Description Logic Systems Thomas Russ.
Namesys & Cyc. Namesys, Hans Reiser File system development File system is part of operating system File system puts information.
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 3 (26/01/2006) Instructor: Haifeng YU.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
SCIENTIFIC INQUIRY Cornell Notes.
1 Knowledge Representation CS 171/CS How to represent reality? Use an ontology (a formal representation of reality) General/abstract domain Specific.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
CogSci 207 Midterm Review Fall 2004 Praveen Paritosh 10/18/04.
Artificial Intelligence 2004 Ontology
Scientific Method. Science Science: A way of learning about the natural world – Includes all of the knowledge gained by exploring the natural world –
Ontology Engineering Lab #3 – September 16, 2013.
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?
Computer Science CPSC 322 Lecture 22 Logical Consequences, Proof Procedures (Ch 5.2.2)
Knowledge Representation. Keywordsquick way for agents to locate potentially useful information Thesaurimore structured approach than keywords, arranging.
ONTOLOGY ENGINEERING Lab #3 – September 15,
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Context sensitivity for networked ontologies Igor Mozetič, Marko Grobelnik, Damjan Bojadžijev Jozef Stefan Institute Slovenia.
1 CSC 384 Lecture Slides (c) , C. Boutilier and P. Poupart CSC384: Intro to Artificial Intelligence  Jan 12 th  Announcements: Tutorial splits.
Cyc Jaehui Park Summarized by Jaehui Park, IDS Lab., Seoul National University Presented by Jaehui Park, IDS Lab., Seoul National University.
KNOWLEDGE REPRESENTATION Ziyang Lin March 17, 2011.
ACT Science ACT Test Prep Goals – 1. Become familiar with many of the concepts that are tested on the official test 2. Be able to target the item-types.
Knowledge Representation Part I Ontology Jan Pettersen Nytun Knowledge Representation Part I, JPN, UiA1.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
COP Introduction to Database Structures
Knowledge Representation Techniques
Knowledge and reasoning – second part
Ontology From Wikipedia, the free encyclopedia
Knowledge Representation
Survey of Knowledge Base Content
Ontology.
Knowledge and reasoning – second part
Knowledge Representation (Introduction)
Knowledge Representation (Introduction)
Knowledge Representation (Introduction)
CGS 2545: Database Concepts Summer 2006
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

Knowledge Representation II Praveen Paritosh CogSci 207: Fall 2003: Week 2 Tue, Oct 5, 2004

These slides draw heavily from Cycorp’s tutorial materials. They have been simplified for the purpose of this course Knowledge Representation II

Concepts and Categories Widely used ideas in accounts of mental representation –How we talk about things in general, apart from specific individuals Much controversy about what they really are and how they work –Where do they come from? –How stable over time are they?

Common Assumptions in AI Concepts are organized into hierarchies, similar to taxonomies –Animals versus plants; Animals, Mammals, Dogs… Some concepts are grounded in perceptual apparatus Other concepts are constructed by combining more primitive concepts –Our mental representation language is compositional

Cyc as a cognitive model Goal is overall functional equivalence, not axiom-by-axiom modeling –Knowledge differs across people, and in the same person across time –Overlap must be high enough to reason as we do, over the range of topics that we do. Concepts and categories in Cyc are modeled as collections.

Collections and Individuals A collection is a kind or class. Collections have instances. Each collection is characterized by some feature(s) that all of its instances share. Some collections –Tower –SpaceStation –Director-Movie –Person Person Instances of Person AbrahamLincoln MarioAndretti Cher BillClinton

Individuals An individual is a single thing, not a collection. Individuals do not have instances. Individuals may have parts. Some individuals : –EiffelTower –Mir –OrsonWelles –UnitedStatesMarineCorps * Cher

Joe The Marine UnitedStatesMarineCorps An individual organization A single, specific thing It has parts, but not instances UnitedStatesMarine The collection of all human members of the UnitedStatesMarineCorps Has instances, each of which is an individual marine UnitedStatesMarineCorps * UnitedStatesMarine * * * * * Joe

Remember... “Collections can have instances but not parts.” “Individuals can have parts but not instances.”

Everything Is An Instance of Something Every collection is, at minimum, an instance of Collection. Individual.... OrsonWelles EiffelTower UnitedStatesMarineCorps Mir Every individual is, at minimum, an instance of Individual. Collection..... Tower Collection MilitaryPerson SpaceStation Individual

Collections of Collections and Collections of Individuals Some collections whose instances are individuals: –Tower –Person –Dog Some collections whose instances are collections: –ArtifactType –Collection Some collections with instances of both types: –ProprietaryConstant –DocumentationConstant

Disjoint Collections Collections which have no instances in common are disjoint. (disjointWith Dog Cat) Dog Cat......

isa (isa X Y) means “X is an instance of collection Y.” –(isa EiffelTower Tower) –(isa Canada Country) –(isa Cher Person) –(isa UnitedStatesMarineCorps ModernMilitaryOrganization) Y. X

genls (genls X Y) means “Every instance of collection X is also an instance of collection Y.” –(genls Dog Mammal) –(genls Tower FixedStructure) –(genls ModernMilitaryOrganization Organization) Y X..... Sometimes expressed in Cyclish © as: “Y is a genls (generalization) of X.” “X is a spec (specialization) of Y.”

genls is transitive Animal Mammal DogElephantComputerComputerNetwork PhysicalDevice ComputationalSystem

A piece of the genls hierarchy Individual FixedStructure Tower Animal Mammal DogElephant BellTower Lighthouse

The top of the hierarchy (partial) Thing Intangible Individual SetOrCollection TemporalThing SpatialThing-Localized ExistingStuffType ExistingObjectType Event PartiallyTangible Collection genls typeGenls disjointWith

isa is NOT transitive Collection Cher Person 5 PositiveInteger InfiniteSetOrCollection

Remember... Because every instance of a collection is also an instance of the collection’s genls, the following statements are true: –“isa transfers through genls.” –“isa does NOT transfer through isa.”

What can we conclude about Rover the dog? Thing BiologicalSpecies BiologicalClass BiologicalKingdom Dog Mammal Animal Rover IndividualBiologicalTaxon Collection isa genls

Agent-Generic Agent AirBreathingVertebrate Animal AnimalBLO BilateralObject BiologicalLivingObject CanineAnimal Carnivore CompositeTangibleAndIntangibleObject Dog Eutheria Individual IndividualAgent LeftAndRightSidedObject Mammal NaturalTangibleStuff NonPersonAnimal OrganicStuff Organism-Whole PartiallyIntangible PartiallyIntangibleIndividual PartiallyTangible PerceptualAgent SentientAnimal SomethingExisting SpatialThing SpatialThing-Localized TemporalThing Thing Vertebrate A more complete list of collections of which Rover is an instance

Is genls reflexive? Consider (genls Dog Dog) This means “Every instance of Dog is an instance of Dog.” Yes!

Is isa reflexive? Consider (isa Dog Dog) NOT reflexive However, consider (isa Collection Collection) Not anti-reflexive, either

Collections vs. Individuals isa vs. genls genls is transitive genls is reflexive Summary

People know millions of things What we know isn’t globally consistent –Fiction –Alternate hypotheses, possible worlds –Alternate perspectives How do we keep everything straight? 3607 instances of Microtheory as of 02/05/01 –254 instances of GeneralMicrotheory Microtheories

A Bundle of Assertions Think of a microtheory (mt) as a set of assertions. Each microtheory bundles assertions based on –a shared set of assumptions on which the truth of the assertions depends, or –a shared topic (world geography, brain tumors, pro football), or –a shared source: (CIA World Fact Book 1997, FM101-5, USA Today) the Cyc KB, as a sea of assertions

Avoiding Inconsistencies The assertions within a microtheory must be mutually consistent –no monotonic contradictions allowed within a single microtheory Assertions in different microtheories may be inconsistent the Cyc KB, as a sea of assertions in MT1: tables, etc., are solid in MT2: tables are mostly space in MT1: Mandela is an elder statesman in MT2: Mandela is President of South Africa in MT3: Mandela is a political prisoner

Every Assertion is in a Microtheory Every assertion falls within at least one microtheory Currently, every microtheory is a reified (named) term, such as HumanActivitiesMt or OrganizationMt Mts are one way of indexing all the assertions in Cyc

Better/faster/more scalable knowledge base building Better/faster/more scalable inferencing, too. To focus development of the Cyc knowledge base To enable shorter and simpler assertions Mandela is president vs. Mandela is president throughout 1995 in South Africa Tables are solid vs. At granularity usually considered by humans, tables are solid To cope with global inconsistency in the KB, inevitable at this scale Each mt is locally consistent (content in unrelated mts is not visible) Good for handling divergence (different points of view, scientific theories, changes over time) Why Have Microtheories?

VocabularyMicrotheory -- each instance contains definitions of general concepts used in a knowledge domain (e.g., TransportationVocabMt, ComputerSoftwareVocabMt) TheoryMicrotheory -- each instance contains general assertions in a knowledge domain (e.g., TransportationMt,ComputerSoftwareMt). DataMicrotheory -- each instance contains assertions about specific individuals (e.g., TransportationDataMt, ComputerSoftwareDataMt) Some types of microtheories Microtheory TheoryMicrotheory DataMicrotheory CounterfactualContext PropositionalInformationThing genls VocabularyMicrotheory genls

Some types of microtheories Microtheory TheoryMicrotheory DataMicrotheory CounterfactualContext PropositionalInformationThing genls VocabularyMicrotheory genls PropositionalInformationThing --each instance of this collection contains assertions representing the propositional content of some InformationBearingThing (such as a picture, text, or database table). CounterfactualContext -- each instance of this collection contains at least one assertion which is not generally taken to be true in the real world (e.g., TheSimpsonsMt, SQ77bMt)

Explicitly relates a microtheory to a formula that is true in that microtheory. (ist MT FORMLA) means that the Cyc formula FORMLA is true in the microtheory MT. Microtheory predicates: ist (ist CyclistsMt (isa Lenat Person)) (ist NaiveStateChangeMt (implies (and (isa ?FREEZE Freezing) (outputsCreated ?FREEZE ?OBJ)) (stateOfMatter ?OBJ SolidStateOfMatter)))

Relates two microtheories such that one of them inherits the assertions in the other; i.e., the first microtheory has access to the assertions in the second microtheory. (genlMt MT-1 MT-2) means that every assertion which is true in MT-2 is also true in MT-1. genlMt is transitive. Microtheory predicates: genlMt (genlMt TransportationMt NaivePhysicsMt) (genlMt ModernMilitaryTacticsMt ModernMilitaryVehiclesMt) (genlMt EconomyMt TransportationMt)

genlMt Microtheory predicates, cont’d. BaseKB NaiveSpatialMt NaivePhysicsMtNaturalGeographyMt genlMt MovementMt genlMt TransportationMt genlMt

Finding the right microtheory Microtheory placement is important in both making assertions and asking queries. An assertion is visible in all and only the mts that inherit from the mt in which it is placed. A query is answered using all and only assertions in mts visible from the mt in which it is asked. Well-formedness requires visibility of definitional information (isa, genls, arity, arg1Isa...) for all the terms used. Good placement of assertions makes them visible in the microtheories in which they are needed. That is, good placement is not too specific. Good placement of assertions makes them invisible in microtheories in which they are not needed; otherwise, search space for inference in the lower microtheories is needlessly increased. That is, good placement is not too general.

Cycorp’s approach to building a human-sized KB Facts, Observations Upper Ontology Core Theories Domain Theories Create careful organization as framework Enlist specialists in other areas (biologists, analysts, …) to formalize what they know, building on core theories Accumulate from databases, sensors Use best available results from cognitive science to formally express key areas of human knowledge to support reasoning