Modelintro
Semantic network
Also called semantic net.
Represents knowledge as a graph whose nodes are concepts and individuals and whose labeled edges, such as is-a and has-part, are relations; properties are inherited along is-a.
A semantic network represents knowledge as a directed graph: nodes stand for concepts (classes) and individuals, and each edge has a label that names a relation, such as is-a, instance-of or has-part. Its main inference is inheritance: a node gets the properties of every node it reaches by is-a edges. This page treats the network as a model of reasoning, with a syntax, a meaning for the links and the cost of its queries. The frame page groups the edges of one node into a record of slots, and the description logic page gives the formal language that grew out of the attempt to fix the meaning of the links.
The machine
Syntax. A network is a finite set of nodes, split into concept nodes and individual nodes, and a finite set of labeled edges . Three kinds of labels are usual:
- between concepts: every is a ;
- from an individual to a concept: is an ;
- for any other role , such as has-part or color: an has an that is a .
Semantics. Early networks gave the links no fixed meaning, which Woods (1975) showed to be their main weakness. One reading, the one that description logics adopted, translates each edge into first-order logic, with a unary predicate for each concept and a binary predicate for each role:
| edge | first-order reading |
|---|---|
Under this reading the network is a set of axioms, and a question is answered by entailment from them. A second reading treats role edges as defaults: "a bird can fly" holds for a bird unless a more specific node says otherwise. This reading is not first-order, and it belongs to nonmonotonic reasoning.
Example. Take the nodes animal, bird, canary, penguin and the individual tweety, with the edges (bird, is-a, animal), (canary, is-a, bird), (penguin, is-a, bird), (tweety, instance-of, penguin), (animal, has, skin), (bird, has-part, wings), (bird, can, fly), (canary, can, sing) and the exception (penguin, cannot, fly). Stored this way, each property is written once, at the most general node to which it applies, as in Collins and Quillian (1969).
What it counts
The model answers three kinds of questions:
- Subsumption: is every a ? Under the strict reading this is the question whether is reachable from by is-a edges.
- Instance checking: is an ? Follow the instance-of edge from and ask whether is reachable from one of its concepts.
- Inherited properties: which role edges hold for ? Take the role edges of every node reachable from by is-a edges.
In the example, tweety is an animal and has skin and wings. With defaults, the edge (penguin, cannot, fly) is more specific than (bird, can, fly), because penguin is below bird, so the network concludes that tweety cannot fly. Without defaults, the two edges give a contradiction, and the strict reading has to drop (bird, can, fly) in favour of a weaker axiom.
Relation to other models
- Frames store the same information grouped by node: the role edges that leave a node become the slots of its frame, and the is-a edge becomes its parent.
- Description logics are the formal successor. The KL-ONE system (Brachman and Schmolze 1985) gave each concept a structured definition from roles and other concepts, and a classifier that computes the is-a edges from these definitions instead of taking them as given. The third row of the table above is the description logic axiom .
- Ontologies in the modern sense are often drawn as semantic networks but written in a description logic, so the drawing has a fixed meaning.
- Logic programs. The strict reading fits in Horn clauses: for each is-a edge, so inheritance is forward chaining. The existential in the third row does not fit in Horn clauses without new constants.
Known results in the model
- Strict inheritance is graph reachability. Under the first-order reading, with only is-a and instance-of edges, is subsumed by if and only if there is a directed path from to . One query is a breadth-first search in time for nodes and edges, and all queries together follow from the transitive closure of the is-a edges. Role edges of the form do not add new is-a consequences between named concepts, so the same bound holds for the inherited properties.
- Defeasible inheritance can be hard. With exceptions, there are several competing definitions of which paths count, and conflicts such as two parents with opposite defaults leave the answer open. Selman and Levesque (1993) showed that some of these path-based definitions give NP-hard questions.
- The is-a link is overloaded. Brachman (1983) listed the different relations that systems wrote as one is-a link, such as the subset relation between two classes and the membership of an individual in a class, and argued that mixing them gives wrong inheritance.
- Retrieval time in people. Collins and Quillian (1969) measured that people take longer to verify a property stored more levels up in such a hierarchy, for example "a canary has skin" against "a canary can sing". This is a measurement on people, not a property of the model.
References
- M. Ross Quillian, Semantic memory, in Marvin Minsky (ed.), Semantic Information Processing, MIT Press, 1968, pages 227 to 270, the memory model of word concepts as nodes joined by associative links, and the search that spreads from two nodes until the paths meet
- Allan M. Collins and M. Ross Quillian, Retrieval time from semantic memory, Journal of Verbal Learning and Verbal Behavior 8(2), 1969, pages 240 to 247, the hierarchy with properties stored at the most general level, and the measured verification times that grow with the number of levels
- William A. Woods, What's in a link: foundations for semantic networks, in Daniel G. Bobrow and Allan Collins (eds.), Representation and Understanding, Academic Press, 1975, pages 35 to 82, the lack of a semantics for links in early networks, and the distinction between structural links and assertions (general locator)
- Ronald J. Brachman, What IS-A is and isn't, an analysis of taxonomic links in semantic networks, Computer 16(10), 1983, pages 30 to 36, the many different relations that systems wrote as one is-a link (general locator)
- Ronald J. Brachman and James G. Schmolze, An overview of the KL-ONE knowledge representation system, Cognitive Science 9(2), 1985, pages 171 to 216, structured concepts with roles and a classifier that places a concept in the hierarchy (general locator)
- Bart Selman and Hector J. Levesque, The complexity of path-based defeasible inheritance, Artificial Intelligence 62(2), 1993, pages 303 to 339, NP-hardness results for path-based inheritance with exceptions (general locator)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag JN05T5 Edit this page History Report an error Markdown