Lucas_Werkmeister_WMDE added a comment.
I think there’s two unrelated issues here, and neither of them is directly
about the query service. The first is that the Wikibase RDF exports encodes
spaces as pluses in geoshape values (and probably also tabular data, if I had
to guess):
$ curl -s 'https://www.wikidata.org/wiki/Special:EntityData/Q550.json' | jq
. | grep -F .map
"value": "Data:Avenue des Champs-Élysées.map",
$ curl -s 'https://www.wikidata.org/wiki/Special:EntityData/Q550.ttl' |
grep -F .map
wdt:P3896
<http://commons.wikimedia.org/data/main/Data:Avenue+des+Champs-%C3%89lys%C3%A9es.map>
;
ps:P3896
<http://commons.wikimedia.org/data/main/Data:Avenue+des+Champs-%C3%89lys%C3%A9es.map>
.
The query service just faithfully represents those pluses (as far as I can
tell), that’s not Blazegraph’s fault. We should probably fix that in Wikibase.
And the second issue is that `action=raw` returns something that looks like
an internal server error for any missing title. That doesn’t have to be those
pluses: https://commons.wikimedia.org/w/index.php?title=missing&action=raw
F34641681: Screenshot 2021-09-13 at 11-38-01 Wikimedia Error.png
<https://phabricator.wikimedia.org/F34641681>
The “error” is apparently “404, Not Found”, so I’m guessing the layer above
MediaWiki (Varnish?) just isn’t expecting a 404 status code here.
TASK DETAIL
https://phabricator.wikimedia.org/T289912
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Mbch331, Aklapper, Valeriummaximum, Invadibot,
MPhamWMF, maantietaja, CBogen, Akuckartz, Alilje, Nandana, Namenlos314, Lahi,
Gq86, Looniverse, GoranSMilovanovic, QZanden, EBjune, Orienteerix, merbst,
LawExplorer, _jensen, rosalieper, JGirault, Scott_WUaS, Jonas, phabyogi,
Xmlizer, Susannaanas, lxbarth, jkroll, Planemad, Wikidata-bugs, Jdouglas, aude,
Tobias1984, Manybubbles, Yurik, TheDJ, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]