As a mismatch provider I want to be able to report mismatches on Mismatch Finder to data that is stored in qualifiers in order to improve data quality of all data, not just data stored in the main part of a statement.
Problem:
We currently don't allow reporting of mismatches on qualifiers on the Mismatch Finder. these should be accepted as important data is stored there as well.
Example for how the upload csv could look now:
CSV for a Q42 statement with qualifier, where both the statement and the qualifier are mismatched:
item_id,statement_guid,property_id,wikidata_value,external_value,external_url,type Q42,Q42$A3B1288B-67A9-4491-A3AA-20F881C292B9,P3373,Q14623673,”Shoshanna Adams”,example.com,statement Q42,Q42$A3B1288B-67A9-4491-A3AA-20F881C292B9,P1039,Q10943095,”cousin”,example.com,qualifier
CSV for a Q42 statement with qualifier, where only the qualifier is mismatched:
item_id,statement_guid,property_id,wikidata_value,external_value,external_url,type Q42,Q42$A3B1288B-67A9-4491-A3AA-20F881C292B9,P1039,Q10943095,”cousin”,example.com,qualifier
For uploaders to understand that qualifiers are now accepted in their csv files, we need to update the Mistmatch Finder User Guide documentation here: https://github.com/wmde/wikidata-mismatch-finder/blob/main/docs/UserGuide.md#importing
Screenshots/mockups:
1a:
BDD
GIVEN a qualifier
AND a mismatch
WHEN a CSV of a mismatch is uploaded to the Mismatch Finder
AND it contains mismatches for a qualifier
THEN they are accepted
AND shown on the Mismatch Finder website
Acceptance criteria:
- mismatches on qualifiers are accepted from the upload CSV
- mismatches on qualifiers are correctly shown in the Mismatch Finder website
- the Mismatch Finder User Guide is updated to reflect that qualifiers are accepted as mismatches
Open questions:
How do we display qualifier mismatches on the results page?
- Should we show claim as statement in the table, or change the type in the csv to statement? As there is no type available yet, it won't break anything if we make one of the available types statement instead of claim so that it reflects the UI on Wikidata.
- Do we require two tickets here (one for uploaders and one for reviewers)? For uploaders we would need to update the documentation here: https://github.com/wmde/wikidata-mismatch-finder/blob/main/docs/UserGuide.md#importing
- Should the title of the first column be Mismatch? No, UX will look into some other options that are more clear
Notes
For previous uploads with no type value, the value should be statement