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