service for writing topic to graphdb