Remove dependency on rdf libs