Page MenuHomePhabricator

The item requires statement constraint (Q21503247) should accept multiple properties as OR
Open, Needs TriagePublic

Description

The item requires statement constraint (Q21503247) (https://www.wikidata.org/wiki/Help:Property_constraints_portal/Item) currently only accepts one property. It would be nice to have it accept multiple properties which should act as an OR. For example https://www.wikidata.org/w/index.php?title=Property%3AP2014&type=revision&diff=595537123&oldid=595535304 the items using P2014 should have creator (P170) OR editor (P98) OR performer (P175) . This is useful for identifier properties that are used in multiple domains.

This is not new, the type constraint (Q21503250) (https://www.wikidata.org/wiki/Help:Property_constraints_portal/Type) also accepts multiple values.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 18 2017, 1:14 PM

A another Idea will be to create a new type of constraint that allow multiple properties and no specific items. For P1435, the best is that P276 or P131 have a item. It's not important what item, since it could be anyplace on Earth.