Lectrician1 created this task. Lectrician1 added a project: Wikibase-Quality-Constraints. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): Property constraints should account for subproperties. This means that when a property is used on an item that is a subproperty of a property required by a constraint, this would not raise a constraint warning as it currently does. **Use case(s)** (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution): Taxon properties are an extension of the class system and when they intersect with the normal class system like when human is made a subclass of the taxon homo sapiens <https://www.wikidata.org/wiki/Q5#Q5$3374771a-4b4c-f014-fb31-d9a4f0c7f2da>, a constraint warning that homo sapiens does not have a "subclass of" statement is raised - when really it does "have a subclass of statement" because it has the parent taxon <https://www.wikidata.org/wiki/Property:P171> property which is a subproperty of subclass of <https://www.wikidata.org/wiki/Property:P171#P171$6fb788c6-4e81-8398-3a1a-68f8b98a8943>. Constraints that need to account for this: - value-requires-statement constraint - item-requires-statement constraint - allowed qualifiers constraint - required qualifier constraint **Benefits** (why should this be implemented?): Incorrect constraint warnings would not be raised. TASK DETAIL https://phabricator.wikimedia.org/T306267 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lectrician1 Cc: Aklapper, Lectrician1, Eihel, Lucas_Werkmeister_WMDE, Esc3300, Agabi10, abian, Wikidata-bugs
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org