simple (not optimized) TripletGraph.removeMatches(s, p, o) implementation