[Wikidata-tech] RDF: improving wb_terms performance