Property talk:P9729
Latest comment: 3 years ago by Jura1 in topic Single value or multiple values?
Documentation
replacement value
value to use instead, use as qualifier for constraint definitions, with or without "replacement property (P6824)"
value to use instead, use as qualifier for constraint definitions, with or without "replacement property (P6824)"
Data type | Item | ||||||
---|---|---|---|---|---|---|---|
Domain | Wikidata property (Q18616576) | ||||||
Example | instance of (P31) → female (Q6581072) instance of (P31) → human (Q5) occupation (P106) → model (Q4610556) platform (P400) → Microsoft Windows (Q1406) | ||||||
Source | (note: this information should be moved to a property statement; use property source website for the property (P1896)) | ||||||
See also | constraint clarification (P6607), replacement property (P6824) | ||||||
Lists | |||||||
Proposal discussion | Proposal discussion | ||||||
Current uses |
| ||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
Scope is as qualifier (Q54828449): 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/P9729#Scope, SPARQL
Item “property constraint (P2302)”: Items with this property should also have “property constraint (P2302)”. (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/P9729#Item P2302, search, SPARQL
Allowed entity types are Wikibase property (Q29934218): 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/P9729#Entity types
Type “Wikidata property (Q18616576)”: item must contain property “instance of (P31)” with classes “Wikidata property (Q18616576)” 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/P9729#Type Q18616576, SPARQL
Qualifier for none-of constraint
This qualifier is generally used for none-of constraint (Q52558054). TODO: double-check (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P9729#Qualifier for none-of constraint
This qualifier is generally used for none-of constraint (Q52558054). TODO: double-check (Help)
Violations query:
SELECT ?item ?constraint ?repvalue { ?item p:P2302 [ pq:P9729 ?repvalue ; ps:P2302 ?constraint ] FILTER( ?constraint != wd:Q52558054 ) }
List of this constraint violations: Database reports/Complex constraint violations/P9729#Qualifier for none-of constraint
Qualifier for property constraint (P2302)
This qualifier is generally used only on property constraint (P2302) and Wikidata property example for properties (P2271). TODO: double-check (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P9729#Qualifier for property constraint (P2302)
This qualifier is generally used only on property constraint (P2302) and Wikidata property example for properties (P2271). TODO: double-check (Help)
Violations query:
SELECT ?item ?property { ?prop pq:P9729 ?qualifierP9729value . hint:Query hint:optimizer "None" . ?item ?p ?prop . ?property wikibase:claim ?p . ?property wikibase:statementProperty ?ps . ?prop ?ps ?value . FILTER( ?property != wd:P2302 ) FILTER( ?property != wd:P2271 ) }
List of this constraint violations: Database reports/Complex constraint violations/P9729#Qualifier for property constraint (P2302)
Single value or multiple values?
editCurrently, I mostly used this were instead of one or several values, one should use a single other value ( several → 1 ). A sample is Windows one of the platform property constraint. These can easily be convert with {{Autofix}}
or similar.
Supposedly we could also use this where one value is considered too general and one of several others shouuld be used ( 1 → several ). --- Jura 13:23, 16 July 2021 (UTC)