I was wondering if there is any api or library available that provides a taxonomy for a given term in jSON.

For instance, if the argument is Shoes, it should return a data structure consisting of all the synonmys or types of shoes like Boots, Flip-flops, Slippers, Stilettos, and so on..

Thanks :)