Revise the language filtering from RDF. Create unit tests.