| Lucas_Werkmeister_WMDE added a comment. |
The federated query used to work as of April
That would be before MWAPI was added to WDQS.
The character violates the grammar rules for URIs/IRIs.
I’m not sure if it’s correct for Jena to reject this query – an IRI http://wikiba.se/ontology#api#whatever violates the grammar of RFC 3987, but not the grammar of SPARQL – but it probably doesn’t matter, since we have no influence over it.
As MWAPI is a WDQS-internal service, we could probably stop sending the mwapi: prefix to external services without breaking any queries. More generally, it seems to be there’s an optimization opportunity here – we’re sending plenty of prefixes to external services that they don’t need, since (unless I’m missing something) a prefix is only required if any prefixed names using that prefix occur in the query text. Can we remove all the unused prefixes from the query before sending it to the external service? (I suppose that’s a feature request for Blazegraph…)
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jheald, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
