Property talk:P5321
Latest comment: 5 years ago by Multichill in topic Constraints
Documentation
Museo del Prado artist ID
identifier of an artist in the Museo del Prado web page
identifier of an artist in the Museo del Prado web page
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “human (Q5), group of humans (Q16334295)”: item must contain property “instance of (P31)” with classes “human (Q5), group of humans (Q16334295)” or their subclasses (defined using subclass of (P279)). (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/P5321#Type Q5, Q16334295, SPARQL
Single value: this property generally contains a single value. (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/P5321#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P5321#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)Format “
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). [0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P5321#Format, SPARQL
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/P5321#Item P31, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P5321#Item P31, search, SPARQL
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/P5321#Item P106, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P5321#Item P106, search, SPARQL
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/P5321#Item P21, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P5321#Item P21, search, SPARQL
Item “date of birth (P569)”: Items with this property should also have “date of birth (P569)”. (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/P5321#Item P569, SPARQL
Item “has works in the collection (P6379): Museo del Prado (Q160112)”: Items with this property should also have “has works in the collection (P6379): Museo del Prado (Q160112)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P5321#Item P6379, hourly updated report, search, SPARQLAllowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (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/P5321#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (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/P5321#Scope, SPARQL
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
Works with creator missing link
List of works that are in collection (P195) Museo del Prado (Q160112) and have creator (P170) set, but that creator doesn't have a Museo del Prado artist ID (P5321) link (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P5321#Works with creator missing link
List of works that are in collection (P195) Museo del Prado (Q160112) and have creator (P170) set, but that creator doesn't have a Museo del Prado artist ID (P5321) link (Help)
Violations query:
SELECT ?item ?creator { ?item wdt:P195 wd:Q160112 . ?item wdt:P170 ?creator . MINUS { ?creator wdt:P5321 [] } . MINUS { ?item wdt:P170 wd:Q4233718 } . # Filter out anonymous SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } ORDER BY ?creatorLabel
List of this constraint violations: Database reports/Complex constraint violations/P5321#Works with creator missing link
No profession in visual art or design
People with occupation (P106) but without a visual artist (Q3391743) or designer (Q5322166) profession (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P5321#No profession in visual art or design
People with occupation (P106) but without a visual artist (Q3391743) or designer (Q5322166) profession (Help)
Violations query:
SELECT DISTINCT ?item WHERE { ?item wdt:P5321 [] . ?item wdt:P106 [] . ?item wdt:P31 wd:Q5 . MINUS {?item wdt:P106/wdt:P279* wd:Q3391743} . MINUS {?item wdt:P106/wdt:P279* wd:Q5322166} } LIMIT 1000
List of this constraint violations: Database reports/Complex constraint violations/P5321#No profession in visual art or design
|
|
Constraints
editI added a bunch of standard and complex constraint to help improve quality. The numbers are pretty low and most should be easy to solve. Numbers might increase a bit because User:Escudero is adding a lot of missing Prado paintings! :-) Multichill (talk) 14:38, 9 December 2018 (UTC)