final ValueFactory factory = new Any23ValueFactoryWrapper(ValueFactoryImpl.getInstance(), out);
BNode point = factory.createBNode();
out.writeTriple(extractionContext.getDocumentURI(), expand("dcterms:related"), point);
out.writeTriple(point, expand("rdf:type"), expand("geo:Point"));
out.writeTriple(point, expand("geo:lat"), factory.createLiteral(Float.toString(lat)));
out.writeTriple(point, expand("geo:long"), factory.createLiteral(Float.toString(lon)));
}
private URI expand(String curie) {
return factory.getPrefixes().expand(curie);