Richard-Degenne added a comment.
I perform the query through a Ruby application. While examining the code of
the SPARQL library I use, I managed to reproduce the error with a curl command:
curl -X POST -H 'Accept: application/sparql-results+json' \
-H 'Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3'
--compressed \
-H 'User-Agent: Ruby' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d
'query=SELECT+%3Furi+%3Flabel+%3Fdescription+%28sample%28%3Fimage%29+as+%3Fthumbnail%29+%28group_concat%28%3Ftype%3B+separator%3D%22%7C%22%29+as+%3Ftypes%29+WHERE+%7B%0A++VALUES+%3Furi+%7B+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ142794%3E+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ61901279%3E+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ53759004%3E+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ9500714%3E+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ42294058%3E+%7D%0A++++%3Furi+rdfs%3Alabel+%3Flabel%0A++++FILTER%28LANG%28%3Flabel%29+%3D+%27fr%27%29%0A++OPTIONAL+%7B%0A++++%3Furi+schema%3Adescription+%3Fdescription%0A++++FILTER%28LANG%28%3Fdescription%29+%3D+%27fr%27%29%0A++%7D%0A++OPTIONAL+%7B+%3Furi+wdt%3AP18+%3Fimage+%7D%0A++OPTIONAL+%7B+%3Furi+wdt%3AP31%3F%2Fwdt%3AP279*+%3Ftype+%7D%0A%7D%0AGROUP+BY+%3Furi+%3Flabel+%3Fdescription%0A'
\
https://query.wikidata.org/sparql
TASK DETAIL
https://phabricator.wikimedia.org/T226533
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Richard-Degenne
Cc: Addshore, Aklapper, Richard-Degenne, darthmon_wmde, Nandana, Lahi, Gq86,
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst,
LawExplorer, _jensen, rosalieper, Jonas, Xmlizer, jkroll, Smalyshev,
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs