VIA2RDF conversion in Java