Week2 Intro Knowledge Representation
Week2 Intro Knowledge Representation
Knowledge Representation
Contents
13th
Bogdan L. Vrusias
Knowledge Representation
'A representation is a set of conventions about how to
describe a class of things. A description makes use of the
conventions of a representation to describe some particular
thing.' (Winston 1992:16).
'Good representations make important objects and relations
explicit, expose natural constraints, and bring objects and
relations together' (ibid: 45)
The representation principle:
Once a problem is described using an appropriate representation,
the problem is almost solved.
13th
Bogdan L. Vrusias
The farmer must get a fox, a goose and a sack of grain across a
river, however his boat is small and he can only carry one thing at
a time. His problem is that if he leaves the fox with the goose the
goose will be eaten, and if he leaves the goose with the grain, the
grain will be eaten
13th
Bogdan L. Vrusias
Farmer
Fox
Goose
Grain
Grain
Farmer
Goose
Grain
Fox
Farmer
Goose
Fox
Fox
Grain
Farmer
Fox
Grain
Goose
Farmer
Goose
Farmer
Goose
Goose
Farmer
Fox
Grain
Fox
Grain
13th
Fox
Farmer
Fox
Goose
Farmer
Goose
Grain
Grain
Bogdan L. Vrusias
Farmer
Goose
Fox
Grain
Production Rules
Semantic Networks
Frames
Conceptual Dependency Grammar
Conceptual Graphs
Ontology
Predicate and Modal Logic
Conceptual or Terminological Logics
XML / RDF
13th
Bogdan L. Vrusias
Semantic Networks
Ross Quillian (1966 and 1968) was among the early AI
workers to develop a computational model which
represented 'concepts' as hierarchical networks.
This model was amended with some additional
psychological assumptions to characterise the structure of
[human] semantic memory.
13th
Bogdan L. Vrusias
Semantic Networks
Collins and Quillian (1969) proposed that:
Concepts can be represented as hierarchies of interconnected concept nodes (e.g. animal, bird, canary)
Any concept has a number of associated attributes at a given level
(e.g. animal --> has skin; eats etc.)
Some concept nodes are superordinates of other nodes (e.g.
animal > bird) and some are subordinates (canary < bird)
13th
Bogdan L. Vrusias
Semantic Networks
For reasons of cognitive economy, subordinates inherit
all the attributes of their superordinate concepts.
Some instances of a concept are excepted from the
attributes that help [humans] to define the superordinates
(e.g. ostrich is excepted from flying)
Various [psychological] processes search these hierarchies
for information about the concepts represented.
13th
Bogdan L. Vrusias
bird
is-a
ostrich
animal
can breathe, can eat,
has skin
is-a
13th
is-a
is-a
fish
can swim, has fins, has gills
salmon
lays eggs; swims upstream,
is pink, is edible
Bogdan L. Vrusias
is-a
10
13th
Bogdan L. Vrusias
11
Defining Inheritance
AI researchers have refined the notion of inheritance:
It is called a specialised inferencing technique 'for representing
properties of classes, exceptions to inherited properties, multiple
superclasses, and structured concepts with specific relations
among the structural elements' (Touretzky 1992:690).
13th
Bogdan L. Vrusias
12
Semantic Networks
A semantic network is a structure for representing knowledge as a
pattern of interconnected nodes and arcs. Nodes in the net represent
concepts of entities, attributes, events, values. Arcs in the network
represent relationships that hold between the concepts.
A semantic network is a graph theoretic data structure whose nodes
represent word senses and whose arcs express semantic relationships
between these word senses.
Quillian gave an account, perhaps first used by a computer scientist, of
the associate features of human memory that incorporated a spreading
activation model of computation.
13th
Bogdan L. Vrusias
13
13th
Bogdan L. Vrusias
14
SUGAR
MAPLE
BREAD
MOULD
INTESTINAL
BACTERIUM
POND ALGAE
KINGDOM
Animalia
(animals)
Prokaryotae
(bacteria)
Protoctista (algae,
protozoa, slim
moulds)
PHYLUM
Chordata
Magnoliophyta
Zygomycota
Omnibacteria
Chlorophyta
CLASS
Mammalia
Rosidae
Zygomycetes
Enterobacteria
Euconjugatae
ORDER
Carnivora
Sapindales
Macorales
Eubacteriales
Zygnematales
FAMILY
Canidae
Aceraceae
Mucoraceae
Zygnemataceae
GENUS
Canis
Acer
Rhizopus
Escherichia
Spirogyra
SPECIES
C. familiaris
A.saccharum
R. stolonifer
E. Coli
S. crassa
13th
Bogdan L. Vrusias
15
13th
Bogdan L. Vrusias
16
Ontology
Definition:
The science or study of being; that department of metaphysics
which relates to the being or essence of things, or to being in the
abstract. (OED online, http://www.oed.com/)
13th
Bogdan L. Vrusias
17
Ontology
AI experts, like Tom Gruber, suggest that:
'In the context of knowledge sharing, I use the term ontology to
mean a specification of a conceptualization. That is, an ontology is
a description (like a formal specification of a program) of the
concepts and relationships that can exist for an agent or a
community of agents. This definition is consistent with the usage
of ontology as set-of-concept-definitions, but more general. And it
is certainly a different sense of the word than its use in
philosophy.' (Cited from www-ksl.stanford.edu/kst/what-is-anontology.html; site visited 12/09/05)
13th
Bogdan L. Vrusias
18
Ontology
Also Tom Gruber, suggest that:
'An ontology is an explicit specification of a conceptualization. The term
is borrowed from philosophy, where an Ontology is a systematic account
of Existence. For AI systems, what "exists" is that which can be
represented. When the knowledge of a domain is represented in a
declarative formalism, the set of objects that can be represented is called
the universe of discourse. This set of objects, and the describable
relationships among them, are reflected in the representational vocabulary
with which a knowledge-based program represents knowledge. Thus, in
the context of AI, we can describe the ontology of a program by defining
a set of representational terms. In such an ontology, definitions associate
the names of entities in the universe of discourse (e.g., classes, relations,
functions, or other objects) with human-readable text describing what the
names mean, and formal axioms that constrain the interpretation and wellformed use of these terms. Formally, an ontology is the statement of a
logical theory.' (Cited from www-ksl.stanford.edu/kst/what-is-anontology.html; site visited 12/09/05)
13th
Bogdan L. Vrusias
19
13th
Bogdan L. Vrusias
20
Ontology
13th
Bogdan L. Vrusias
21
Closing
Questions???
Remarks???
Comments!!!
Evaluation!
13th
Bogdan L. Vrusias
22