Draft of the metadata service

also fixed usage of the built-in Jena RDF/RDFS terms