language filtering for triples