I thank you for the query. This is absolutely useful to ameliorate data mining methods for Wikidata. I always said that Wikidata Query Service is still misused.
Houcemeddine Turki (he/him)
Medical Student, Faculty of Medicine of Sfax, University of Sfax, Tunisia
GLAM, Research and Education Coordinator, Wikimedia TN User Group
Member, Wiki Project Med
Member, WikiIndaba Steering Committee
Member, Wikimedia and Library User Group Steering Committee
____________________
+21629499418
Hello Thomas,
You can perform a full text search with the API, but not yet with SPARQL AFAIK. However, it is possible to call the API in a SPARQL query. For example,
here is a query that looks for "human (Q5)" whose label contains the string "einst".
Hope this helps,