Added wordnet analyzer.
Refactoring because of JENA SPARQL API changes.