return "FilterOutPartialMatches";
}
};
// Convert the BindingSet objects to actual RDF statements
final ValueFactory vf = getConnection().getValueFactory();
Cursor<Statement> stIter;
stIter = new ConvertingCursor<BindingSet, Statement>(bindingsIter) {
@Override
protected Statement convert(BindingSet bindingSet) {
Resource subject = (Resource)bindingSet.getValue("subject");
URI predicate = (URI)bindingSet.getValue("predicate");
Value object = bindingSet.getValue("object");
Resource context = (Resource)bindingSet.getValue("context");
if (context == null) {
return vf.createStatement(subject, predicate, object);
}
else {
return vf.createStatement(subject, predicate, object, context);
}
}
@Override
protected String getName() {