Converting DBpediaSpotlightClient to scala (exceptions to be fixed)