Hi!
With the release of http://query.wikidata.org, this long address doesn't seem to work anymore, nor the same pattern in query.wikidata.org http://query.wikidata.org (i.e.: http://query.wikidata.org/bigdata/namespace/wdq/sparql) both return a http 301 header.
Should probably be https://query.wikidata.org/bigdata/namespace/wdq/sparql
That works for me.