CSC266 Artificial Intelligence

Artificial IntelligenceTU Board 2078

Construct semantic network for following facts Ram is person. Persons are humans. All human have nose. Humans are instances of mammals. Ram has weight of 60 kg. Weight of Ram is less than weight of…

10

Construct semantic network for following facts

Ram is person. Persons are humans. All human have nose. Humans are instances of mammals. Ram has weight of 60 kg. Weight of Ram is less than weight of Sita.

Answer

A semantic network represents knowledge as a graph: nodes are objects, classes or values, and labelled arcs are the relations between them. instance-of links an individual to its class, and is-a links a class to a more general class, so properties are inherited down the links.

Facts: Ram is a person. Persons are humans. All humans have a nose. Humans are instances of mammals. Ram has weight 60 kg. Ram's weight is less than Sita's weight.

                 Mammal
                   ^
                   | instance-of
                 Human ----has-part----> Nose
                   ^
                   | is-a
                 Person
                ^       ^
    instance-of |       | instance-of
               Ram      Sita
                |         |
         weight |         | weight
                v         v
              W1 --less-than--> W2
                |
          value |
                v
              60 kg
  • Ram and Sita are instances of Person.
  • Person is-a Human, and Human is an instance of Mammal (as the facts state).
  • Human has-part Nose, so by inheritance Ram also has a nose.
  • Ram's weight is node W1, with value 60 kg. Sita's weight is node W2 (its value is not given), and the arc W1 less-than W2 records the comparison.

Using separate nodes W1 and W2 for the weights lets the network relate the two weights to each other, which a simple attribute link could not do.

Discussion

Loading…

More Artificial Intelligence questions

All Artificial Intelligence old questions