As an editor I want to restrict the entity type to which a constraint applies in order to avoid false constraint violations.
**Problem:**
It is currently not possible to restrict the entity type (Item, Property, Lexeme, Form, Sense) to which a constraint should apply. This would be useful because a Property is sometimes used in different contexts in the different entity types.
**Example:**
https://www.wikidata.org/wiki/Property:P443#P443$8116725c-4f59-8b08-31bc-99eeb5dd52df should be checked on Items but not on Lexemes
**BDD**
GIVEN a constraint definition
WHEN it includes a restriction on the entity type it applies to
THEN no constraint violations are triggered on the excluded entity types
**Acceptance criteria:**
[ ] no constraint violations are triggered on entity types that are excluded by the constraint definition
**Open questions:**
* Should we exclude certain entity types or include? So should we have a allow or deny list?
* What should this be called?