Property talk:P2371
Latest comment: 11 months ago by Tylwyth Eldar in topic Single value constraint
Documentation
FAO risk status
UN Food and Agriculture Organization designation of status for a domesticated breed
UN Food and Agriculture Organization designation of status for a domesticated breed
[create Create a translatable help page (preferably in English) for this property to be included here]
One of critical (Q21604267), critical-maintained (Q21604624), endangered (Q21604719), endangered-maintained (Q21604793), extinct (Q21604888), not at risk (Q21604923), somevalue: value must be one of the specified items. Please expand list if needed. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2371#One of, values statistics, hourly updated report, search, SPARQLSingle best value: this property generally contains a single value. If there are several, one would have preferred rank (Help)
List of violations of this constraint: Database reports/Constraint violations/P2371#single best value, hourly updated report, SPARQLType “breed (Q38829)”: item must contain property “instance of (P31)” with classes “breed (Q38829)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2371#Type Q38829, hourly updated report, SPARQLQualifiers “point in time (P585), location (P276), country (P17)”: this property should be used only with the listed qualifiers. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P2371#allowed qualifiers, SPARQL
Single value constraint edit
Hi @Tylwyth Eldar, Tsaag Valren, Arlo Barnes: (top-3 user of this property),
For the record, I replaced single-value constraint (Q19474404) by single-best-value constraint (Q52060874) as the status can change over space and/or time (and ideally, we could hope it will always change for the better at one point). I also added stability of property value (P2668) to reflect that.
I also added separator (separator (P4155)) qualifiers for cases like Q3349923#P2371 and Q7376727#P2371. PS: I added both location (P276) and country (P17) as separators but ideally we should have a consistent modeling for that...
What do you think?
Cheers, VIGNERON en résidence (talk) 14:04, 16 May 2023 (UTC)
- Bonjour @VIGNERON en résidence:, je ne maîtrise pas du tout les constraints sur Wikidata mais si j'ai bien compris la modif permet dorénavant de mettre plusieurs valeurs (au lieu d'une) pour différencier le statut par pays. À mes débuts, je n'avais pas trop fait attention et me contentais du pays d'origine de la race ; mais en consultant plus régulièrement la base DAD-IS (Q5204212), je m'étais posée la question pour les autres pays. Perso, je trouve la modif logique et je pourrai compléter. Merci , cordialement --Tylwyth Eldar (talk) 18:43, 17 May 2023 (UTC)