public synchronized void receiveTriple(Resource s, URI p, Value o, URI g, ExtractionContext context)
throws TripleHandlerException {
try {
contextQueues.get(context.getUniqueID()).receiveTriple(s, p, o, g);
} catch (ValvedTriplePipeException e) {
throw new TripleHandlerException(
String.format("Error while receiving triple %s %s %s", s, p, o),
e
);
}
}