wrap rdfstore-js in service with promise contract