Nikki created this task. Nikki added projects: Wikidata Query UI, Wikidata. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format uses the prefix "cc:" in the examples and explicitly lists it as a prefix which can be used in SPARQL queries. However, trying to use the prefix in a SPARQL query gives an error: `QName 'cc:license' uses an undefined prefix` and when displaying a predicate which would use the prefix, it shows the full URI rather than the "pretty" name used in the documentation. Example using `cc:` in a query: Wikidata <https://query.wikidata.org/#select%20*%20%7B%20wikibase%3ADump%20cc%3Alicense%20%3Fv%20%7D>, Commons <https://wcqs-beta.wmflabs.org/#select%20*%20%7B%20wikibase%3ADump%20cc%3Alicense%20%3Fv%20%7D> Example displaying the predicate: Wikidata <https://query.wikidata.org/#select%20*%20%7B%20wikibase%3ADump%20%3Fp%20%3Chttp%3A%2F%2Fcreativecommons.org%2Fpublicdomain%2Fzero%2F1.0%2F%3E%20%7D>. Commons <https://wcqs-beta.wmflabs.org/#select%20*%20%7B%20wikibase%3ADump%20%3Fp%20%3Chttp%3A%2F%2Fcreativecommons.org%2Fpublicdomain%2Fzero%2F1.0%2F%3E%20%7D> Expected behaviour: Prefixes used in the documentation are supported in queries, meaning the `cc:` prefix should either be supported in queries and used when displaying results, or should not be included in the documentation. TASK DETAIL https://phabricator.wikimedia.org/T288334 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Nikki, Aklapper, Invadibot, MPhamWMF, maantietaja, CBogen, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org