Rewritten using RDFLib instead of JENA