Alternative representations: Semantic networks

Slides:



Advertisements
Similar presentations
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)
Advertisements

1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
Knowledge Representation
Intelligent systems Lection 7 Frames, selection of knowledge representation, its combinations.
So What Does it All Mean? Geospatial Semantics and Ontologies Dr Kristin Stock.
Frame-Based Expert Systems
Frame Based Expert System
CPSC 322 Introduction to Artificial Intelligence November 5, 2004.
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
Semantic Nets, Frames, World Representation. Knowledge Representation as a medium for human expression An intelligent system must have KRs that can be.
For Friday Finish chapter 10 No homework (get started on program 2)
Intelligent systems Lecture 6 Rules, Semantic nets.
14th September 2006 Dr Bogdan L. Vrusias
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio LECTURE 4: Semantic Networks and Description Logics.
Knowledge Engineering
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Knowledge Representation
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
Knowledge representation methods جلسه سوم. KR is AI bottleneck The most important ingredient in any expert system is knowledge. The power of expert systems.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Knowledge Representation
1 Semantic Web Semantic Web DL Relationships with other Formalisms Habib Rostami.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
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.
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.
USCISIUSCISI Background Description Logic Systems Thomas Russ.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Artificial Intelligence Knowledge Representation.
An Introduction to Description Logics (chapter 2 of DLHB)
CMSC 471 Spring 2014 Class #22 Thursday, April 17 Knowledge Representation Professor Marie desJardins,
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Semantic Nets, Frames, World Representation CS – W February, 2004.
1 Knowledge Representation (continue). 2 Knowledge Representation Logic isn’t the only method of representing knowledge. There are other methods which.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Intelligent Control Methods Lecture 7: Knowledge representation Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Knowledge Representation
For Friday Read Chapter 11, sections 1 and 2 Homework: –Chapter 10, exercises 1 and 5.
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?
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
ece 627 intelligent web: ontology and beyond
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Reasoning Systems For Categories By Franklyn O. Reasoning Systems For Categories Categories are the primary building blocks of any large-scale knowledge.
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.
Artificial Intelligence Knowledge Representation.
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
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.
1 Representing and Reasoning on XML Documents: A Description Logic Approach D. Calvanese, G. D. Giacomo, M. Lenzerini Presented by Daisy Yutao Guo University.
Module 5 Other Knowledge Representation Formalisms
Knowledge Representation
Knowledge Representation Techniques
Artificial Intelligence
Common MBSE Modeling Questions and How Ontology Helps
ece 720 intelligent web: ontology and beyond
Knowledge Representation
Knowledge Representation
The Entity-Relationship Model
Artificial Intelligence (CS 370D)
Weak Slot-and-Filler Structures
Semantic Nets and Frames
Logical reasoning systems
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Alternative representations: Semantic networks
Logical reasoning systems
Habib Ullah qamar Mscs(se)
Presentation transcript:

Alternative representations: Semantic networks A semantic net is a labeled directed graph, where each node represents an object (a proposition), and each link represents a relationship between two objects. Example: sister-of husband-of wife-of husband-of mother-of father-of mother-of wife-of father-of mother-of father-of Ann Carol David Bill Tom Susan John

Semantic nets can represent only propositional information Semantic nets can represent only propositional information. Relations between propositions are of primary interest because they provide the basic structure for organizing knowledge. Some important relations are: “IS-A” (is an instance of). Refers to a member of a class, where a class is a group of objects with one or more common attributes (properties). For example, “Tom IS-A bird”. “A-KIND-OF”. Relates one class to another, for example “Birds are A-KIND-OF animals”. “HAS-A”. Relates attributes to objects, for example “Mary HAS-A cat”. “CAUSE”. Expresses a causal relationship, for example “Fire CAUSES smoke”. Note that semantic nets can be easily converted into a set of FOL formulas, and vice versa. Semantic nets, however, have two important advantages, which makes them a representation of choice in some applications (for example, in natural language understanding): A very simple execution model. Very readable representation, which makes its easy to visualize inference steps.

Inference in semantic networks. The inference procedure in semantic nets is called inheritance, and it allows one node’s characteristics to be duplicated by a descendent node. Example: Consider a class “aircraft”, and assume that “balloons”, “propeller-driven objects” and “jets” are subclasses of it, i.e. “Balloons are A-KIND-OF aircrafts” “Propeller-driven objects are A-KIND-OF aircrafts”, etc. Assume that the following attributes are assigned to aircrafts: “Aircraft IS-A flying object”, “Aircraft HAS-A wings”, “Aircraft HAS-A engines” All properties assigned to the superclass, “aircraft”, will be inherited by its subclasses, unless there is an “exception” link capturing a non-monotonic inference relation.

Multiple inheritance may result in a conflicting inference In some semantic networks, one class can inherit properties of more than one superclass. The “Nixon diamond” example: It is widely accepted that Quakers tend to be pacifists, and Republicans tend not to be. Nixon is known to be both - a Quaker, and a Republican. Not IS-A IS-A IS-A IS-A The resulting conflict can be resolved only if additional information stating a preference to one of the conflicting inferences is provided. Pacifists Republicans Quakers Nixon

Object-atribute-value triplets One problem with semantic nets is that there is no standard definition of link names. To avoid this ambiguity, we can restrict this formalism to a very simple kind of a semantic network, which has only two types of links, “HAS-A” and “IS-A”. Such a formalism is called Object-Attribute-Value (OAV) triplets, and it is a widely used mode of knowledge representation (especially for representing declarative knowledge). Example: Consider object “airplane”. Some of its attributes are: number of engines; type of engines; type of wing design. Possible values of these attributes are: number of engines: 2, 3, 4. type of engines: jet, propeller-driven. type of wing design: conventional, swept-back.

Difficulties with semantic nets and OAV triplets There is no standard definition of link and node names. This makes it difficult to understand the network, and whether or not it is designed in a consistent manner. Inheritance is a combinatorially explosive search, especially if the response to a query is negative. Plus, it is the only inference mechanism built in semantic nets, which may be insufficient for some applications. Initially, semantic nets were proposed as a model of human associative memory (Quinllian, 1968). But, are they an adequate model? It is believed that human brain contains about 10^10 neurons, and 10^15 links. Consider how long it takes for a human to answer “NO” to a query “Are there trees on the moon?” Obviously, humans process information in a very different way, not as suggested by the proponents of semantic networks. Semantic nets are logically and heuristically very weak. Statements such as “Some books are more interesting than others”, “No book is available on this subject”, “If a fiction book is requested, do not consider books on history, health and mathematics” cannot be represented in a semantic network.

Frames (Minsky, 1975) Semantic nets represent shallow knowledge, because all of the information must be represented in terms of nodes and links which are propositions. What if the objects in the domain are, in turn, complex structures? For example, consider object “animal”. We may want to incorporate as part of the object’s description all of the important properties of this object. Example: AIMA, page 318, Figure 10.7 Note that “frames” comprising the nodes of this frame-based network represent “typical examples” or “stereotypes” of described objects. Such typical example are called concepts, and they like data structures where data, in turn, contain data. The underlying assumption of the frame theory is that when one encounters a new situation (or a substantial change in one’s view of the situation occurs), one selects from his/her memory the frame representing a given concept and changes it to reflect the new reality.

Description logics Description logics are intended to represent categories and their definitions. Example: Consider category “Student”. One possible definition of this category is the following Student = And(takes-classes, does-homeworks, is-responsible) Note that this definition can be translated into the following FOL sentence  x (Student(x) <=> Takes-classes(x) & Does-homeworks(x) & & Is-responsible(x)) Example: Consider category of men with at least three sons who are all unemployed and married to doctors, and at most two daughters who are all professors in physics or chemistry departments. Man3SS2SD = And(Man, At-Least(3, Son), At-Most(2, Daughter), All(Son, And(Unemployed, Married, All(Spouse, Doctor))), All(Daughter, And(Professor, Fills(Department, Physics, Chemistry)))).

The CLASSIC language (Borgida, 1989) Both examples are written in a description logic language, called CLASSIC. The syntax of category descriptions in CLASSIC is the following: Concept --> Thing | ConceptName | And (Concept, Concept, …) | All (RoleName, Concept) | AtLeast (Integer, RoleName) | AtMost (Integer, RoleName) | Fills (RoleName, IndividualName, IndividualName, …) | SameAs (Path, Path) | OneOf (IndividualName, IndividualName, …) Path --> [RoleName, RoleName, …] Notice that in CLASSIC we cannot state that one category is a subset of another; this is supposed to be derivable from the descriptions of such categories.

Advantages and disadvantages of description logics The two inference tasks in DLs, subsumption (i.e. checking if one category is a subset of another based on their descriptions) and classification (i.e. checking if an object belongs to a category) have polynomial complexity. Disadvantage: Polynomial inference is assured by the definitions of categories. If the later are small are correctly defined, then testing if a given category is a subset of another one or checking if an object belongs to a given category, is an easy task. But, if categories are hard to define in a concise manner, then their descriptions may become (exponentially) large. DLs have clear semantics, which makes them a good KR formalism for applications with large declarative component. Lack means for representing negation and disjunction.