filter triples by subject