Semantic Nets and Frames
(alias: Weak Slot-and-Filler Structures)
Weak because no commitments are made about the content --
here we are looking at the form of the knowledge representation
attributes are slots
values are fillers
Knowledge structures
knowledge: data about a particular domain
structures: organization
(e.g., schema ... frames, scripts )
Barlett (1932) Minsky(1975) Schank(1977)
psych AI
read Chapter 9, 10 for interesting perspectives and insights
AI considerations:
(1) are there properties of objects that are ubiquitous
*basic over problem domains
(2) what level should knowledge be represented
*primitives
(3) access
(remember AI: * what is knowledge
* how organized
* so accessed and used)
Examples:
(1) properties of objects
ISA (instances), ISPART, AKO (subclasses)
(or some books (this one) say ISA is subclass
INSTANCE means instance)
allows property inheritance and transitivity
In predicate logic: ISA(arg, predicate)
How get this transitive property?
ISA(x,y) and ISA(y,z) then ISA(x,z)
(2) level of detail
primitives - small number of low-level primitives from which to build larger structures
(e.g.)
John spotted Sue
spotted( agent( John)
object (Sue) )
roles in the event "spotted"
nl. spotted => saw ...? distinct? keep both?
advantage of primitives:
* rules can be written considering a small number of primitives for inferences
arguments against:
*what are they really... finite? definative? reducable? best?
*conversion - how much work to convert to primitives
*simple high-level facts may require unreasonable storage when converted (get rid of redundancy using arguments)
(e.g. primitives)
represent aunt/uncle/cousin using
mother/father/son/ daughter
cousin
* Mary = daughter(brother(mother(Sue)))
Mary = daughter(sister(mother(Sue)))
Mary = daughter(sister(father(Sue)))
Mary = daughter(brother(father(Sue)))
using parent/child/sibling/male/female
Mary = child(sibling(parent(Sue)))
* correct set is not obvious
e.g., John broke the window ... meaning ambiguous ...
primitive is the action - how?
Functional representation - primitives are "types" of function
(3)access
Finding "right" structures as needed
Script for restaurants
- how index ... how identify (Schank "all of AI is indexing (reminding)")
- what expected ... how much
Methods to invoke
- index structure directly by content words
(e.g., verbs -> e.g., meanings of fly
- consider each content word as pointer to (all) "script"
parallel exploration ...movie: Hollywood, date, etc.
- locate a major clue in text to select structure
(>1 word)
same questions: what to represent, how to represent, access