OpenRefine / OpenRefine/OpenRefine
Inadequate Wikibase constraint checks for MediaInfo entities
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 27
Description
I when updating the Wikimedia Commons manifest I have added the constraint ids from the Wikidata manifest.
This generates irrelevant issues on Wikimedia Commons.
To Reproduce
Steps to reproduce the behavior:
Create a Wikibase schema on Commons adding depicts statements to files.
Current Results
Irrelevant constraint violations:
- "depicts (P180) added on items" -> this is wrong, we are adding it on media
- "depicts (P180) used as statements" -> this should not be reported as an issue
- depicts (P180) requires statement" -> I suspect this is also wrong
Expected Behavior
no such constraint violations
Screenshots

Versions
- OpenRefine: 3.7-SNAPSHOT
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reproducing it with a Wikibase schema on Wikimedia Commons containing depicts statements, then trace the constraint-checking path for MediaInfo entities. Done means the three listed constraint violations are no longer reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100