Merge pull request #2660 from OpenRefine/2659-type-constraint
Fix Wikidata entity type constraint violation message
This commit is contained in:
commit
16a7209b17
@ -15,6 +15,7 @@ public class EntityTypeScrutinizer extends SnakScrutinizer {
|
||||
PropertyIdValue pid = snak.getPropertyId();
|
||||
if(!_fetcher.usableOnItems(pid)) {
|
||||
QAWarning issue = new QAWarning(type, null, QAWarning.Severity.WARNING, 1);
|
||||
issue.setProperty("property_entity", pid);
|
||||
issue.setProperty("example_entity", entityId);
|
||||
addIssue(issue);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user