added the type to the nearby objects
added a test to use the data in the triple store instead of fetch it from the uri