SubjectNode snode = new SimpleURIReference(new URI(resourceID));
PredicateNode pnode = new SimpleURIReference(new URI(attribute));
TripleIterator triples = m_resourceIndex.findTriples(snode, pnode, null, 0);
results = new HashSet<String>();
while (triples.hasNext()){
Triple triple = triples.next();
String object = triple.getObject().stringValue();
results.add(object);
}
}
catch (TrippiException e){
logger.warn("Error retreiving triples in attributeFinder",e);