added a method to remove all triples in content-graph and a read lock