Loading

Quipoin Menu

Learn • Practice • Grow

ai-foundation / Knowledge Representation
exercise
1/5
Exercise 1Ai-foundation
Question

Write a Python dictionary representing a simple ontology for animals: Mammal has legs, Bird has wings, Dog is a Mammal, Penguin is a Bird. Then write a function that given an animal returns its characteristics by traversing the ontology.