Is there any open source/free software available that gives you semantically related keywords for a given word. for example the word dog: it should give the keywords like: animal, mammal, ...
or for the word France it should give you keywords like: country, Europe ... . 
basically a set of keywords related to the given word.

or if there is not, has anybody an idea of how this could be implemented and how complex this would be.

best regards