Page MenuHomePhabricator

Extra prefixes not managed in query examples
Closed, ResolvedPublic

Description

When an example listed on https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Query_Examples has an extra prefix, it is not used when selecting this example through the "Query Examples" selector of https://query.wikidata.org. Thus, the query ends with a java exception "QName '<some label>' uses an undefined prefix".

You can try with the following examples:

  • Aliases of properties which are used more than once (should have the prefix for skos:)
  • French people with an article on the English Wikipedia but not on the French one (should have the prefix for schema:)

Event Timeline

Ash_Crow raised the priority of this task from to Needs Triage.
Ash_Crow updated the task description. (Show Details)
Ash_Crow subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 249974 had a related patch set uploaded (by Jonas Kress (WMDE)):
Insert extra prefixes from sample queries.

https://gerrit.wikimedia.org/r/249974

Jonas set Security to None.
Jonas added a subscriber: Lydia_Pintscher.

Change 249974 merged by jenkins-bot:
Insert extra prefixes from sample queries.

https://gerrit.wikimedia.org/r/249974