There are several such libraries listed on the Related Projects page:
http://wordnet.princeton.edu/wordnet/related-projects/#SQL
While still working at WordNet, I took Bernard Bou's WNSQL¹ for a test
drive, and found it to be pretty complete.
--
Best,
Ben
¹: http://wnsql.sf.net/ is the link from the related projects page.
Probably WordNet SQL Builder is a better starting point:
http://wnsqlbuilder.sf.net/