Semantic network data structure

Hi, I need an opinion on how to implement a semantic network type data structure for the following example.

http://upload.wikimedia.org/wikipedia/commons/6/67/Semantic_Net.svg

I thought of creating structures for both relationship types and entity types and then to include two pointers in relationship types structure, where entity types can be linked (e.g.: left right)

But I'm not sure whether this will lead to a successful data structure.

Please I need your help on this.
1
2
3
4
5
6
class Mammal: public Animal
{
    Vertebra v;
public:
    //...
};


Any ideas pop up?
Topic archived. No new replies allowed.