Dipsacus_fullonum created this task.
Dipsacus_fullonum added a project: Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue** (include links if applicable):
These two queries show the problem:
SELECT * WHERE {
VALUES ?val { 1 1 1 1 2 2 9 9 9 9 }
SERVICE wikibase:label { bd:serviceParam wikibase:language
"[AUTO_LANGUAGE],en" . }
}
SELECT ?item ?itemLabel ?dob WHERE {
VALUES ?item { wd:Q42 wd:Q42 }
?item wdt:P569 ?dob.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
?item rdfs:label ?itemLabel.
}
}
**What happens?**:
The first query above gives 36 results: 1 (16 times), 2 (4 times), 9 (16
times)
The second query gives 4 identical results
**What should have happened instead?**:
The first query should have given 10 results: 1 (4 times), 2 (2 times), 9 (4
times)
The second should have given 2 identical results
**Software version** (skip for WMF-hosted wikis like Wikipedia):
**Other information** (browser name/version, screenshots, etc.):
This only happens if a query uses:
- the label service (either in automatic and manual mode), and
- a VALUES clause with non-unique inline data
The issue was discovered by User:Infrastruktur on Wikidata. It is reported
at
https://www.wikidata.org/wiki/Wikidata:Report_a_technical_problem/WDQS_and_Search#Label_service_seems_to_have_problems_with_'values'_statements.
TASK DETAIL
https://phabricator.wikimedia.org/T317941
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Dipsacus_fullonum
Cc: Aklapper, Dipsacus_fullonum, AWesterinen, MPhamWMF, CBogen, Namenlos314,
Gq86, Lucas_Werkmeister_WMDE, EBjune, merbst, Jonas, Xmlizer, jkroll,
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]