literal.getLanguageTag());
} else if (object instanceof Literal) {
final Literal literal = (Literal) object;
addStatement(result, context, subject, predicate, literal.getValue());
} else {
addStatement(result, context, subject, predicate, object.asURI());
}
}
private void addStatement(RDFDataset result, URI context, Resource subject, URI predicate,
URI object) {