//first validate Media Resource Ontology
UriRef hasLocation = new UriRef(NamespaceEnum.media+"hasLocation");
UriRef locationLatitude = new UriRef(NamespaceEnum.media+"locationLatitude");
UriRef locationLongitude = new UriRef(NamespaceEnum.media+"locationLongitude");
//UriRef locationAltitude = new UriRef(NamespaceEnum.media+"locationAltitude");
ContentItem ci = createContentItem("testJPEG_GEO.jpg", OCTET_STREAM.toString());//"video/x-ms-asf");
assertFalse(engine.canEnhance(ci) == CANNOT_ENHANCE);
engine.computeEnhancements(ci);
Iterator<Triple> it = ci.getMetadata().filter(ci.getUri(),hasLocation, null);
assertTrue(it.hasNext());
Resource r = it.next().getObject();
assertFalse(it.hasNext());
assertTrue(r instanceof NonLiteral);
NonLiteral location = verifyNonLiteral(ci, hasLocation);