Page MenuHomePhabricator

Strange result in Wikidata query (full URLs given instead of identifiers)
Open, MediumPublic

Event Timeline

Restricted Application added a project: Wikidata. · View Herald TranscriptJun 17 2020, 10:33 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Epidosis updated the task description. (Show Details)Jun 17 2020, 10:34 AM

Query directly for this data:

SELECT * WHERE {
  wd:Q1410578 wdt:P5739 ?pusc;
              wdt:P19 ?pob.
}

Very strange. Wikibase RDF output looks normal. According to schema:dateModified the data was imported on 12 June 2020. I get the same response from wdqs1004, wdqs1005 and wdqs1006 (with various whitespace in the query text to bypass the cache), so it’s not just one server either (I believe wdqs1009 is supposed to test the new updater, either now or soon in the future).

Gehel triaged this task as High priority.Jun 17 2020, 12:37 PM
Gehel moved this task from All WDQS-related tasks to Small Bugs on the Wikidata-Query-Service board.
dcausse lowered the priority of this task from High to Medium.EditedJun 17 2020, 7:09 PM

Still trying to figure out what has happened.

  • tested the munger locally and it does not produce this
  • checked the dump that were used to load the data and it looked OK
  • re-synced manually the entity on wdqs1004 and the problem disappeared

This will need more investigations, lowering the prio as it does not seem like a widespread issue.

See also the query https://w.wiki/UUJ, which shows all the parts of the items (there are other properties which look strange).

Aklapper renamed this task from Strange result in Wikidata query to Strange result in Wikidata query (full URLs given instead of identifiers).Jun 18 2020, 11:59 AM
Nikki added a subscriber: Nikki.Jul 5 2020, 9:02 AM
dcausse removed dcausse as the assignee of this task.Mon, Jul 20, 12:54 PM
dcausse added a subscriber: dcausse.

This task has been put back in the backlog to reflect the fact that there's no active work on this.
I've recorded most of its triples to


for future investigations and will reload it to cleanup the wdqs instances.

Please let us know when you encounter this problem again.

Realized that the file I uploaded do not contain the culprit data even though I did not reload the item yet... Only wdqs1010 (non-public test server) does seem to have the culprit data which I uploaded here:

Nikki added a comment.Tue, Aug 4, 10:24 AM

Please let us know when you encounter this problem again.

I just came across some for the property P21 - https://w.wiki/Yhn

Change 618354 had a related patch set uploaded (by DCausse; owner: DCausse):
[wikidata/query/rdf@master] Add debug code to investigate T255657

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

Change 618354 merged by jenkins-bot:
[wikidata/query/rdf@master] Add debug code to investigate T255657

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