Hello
Can you allow any origin for reading the error ?
It's more simple for debuging a query.
Error :
XMLHttpRequest cannot load https://query.wikidata.org/bigdata/namespace/wdq/sparql?format=text%2Fhtml&…dserviceParam%20wikibase%3Alanguage%20%22en%22%20.%0A%20%20%20%7D%0A%20%7D. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1' is therefore not allowed access. The response had HTTP status code 400.
Thanks
Karima