Property talk:P2305

Documentation

item of property constraint
qualifier to define a property constraint in combination with "property constraint" (P2302)
Representsallowed-entity-types constraint (Q52004125)
Data typeItem
DomainWikidata property (Q18616576)
Examplemass (P2067)kilogram (Q11570)
video (P10)Wikibase item (Q29934200)
See alsoproperty constraint (P2302), property (P2306)
Lists
Proposal discussionProposal discussion
Current uses
Total31,954
Main statement3<0.1% of uses
Qualifier31,947>99.9% of uses
Reference4<0.1% of 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)
List of violations of this constraint: Database reports/Constraint violations/P2305#Scope, hourly updated report, SPARQL
Allowed entity types are Wikibase property (Q29934218): the property may only be used on a certain entity type (Help)
List of violations of this constraint: Database reports/Constraint violations/P2305#Entity types, hourly updated report
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)
List of violations of this constraint: Database reports/Constraint violations/P2305#Type Q18616576, hourly updated report, SPARQL
Item “property constraint (P2302): Items with this property should also have “property constraint (P2302)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2305#Item P2302, hourly updated report, search, SPARQL
 
Items of an "allowed entity types constraint" must be Wikidata datatypes
The only allowed items for the item of property constraint (P2305) qualifier to the allowed-entity-types constraint (Q52004125) are Wikibase item (Q29934200), Wikibase property (Q29934218), Wikibase MediaInfo (Q59712033), Wikibase lexeme (Q51885771), Wikibase form (Q54285143) and Wikibase sense (Q54285715). (Help)
Violations query: SELECT ?item ?itemLabel ?datatype ?datatypeLabel WHERE { ?item p:P2302 [ ps:P2302 wd:Q52004125; pq:P2305 ?datatype; wikibase:rank ?rank ]. FILTER (?datatype NOT IN (wd:Q29934200, wd:Q29934218, wd:Q59712033, wd:Q51885771, wd:Q54285143, wd:Q54285715)). FILTER (?rank != wikibase:DeprecatedRank) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P2305#Items of an "allowed entity types constraint" must be Wikidata datatypes
 
Items of an "lexeme requires language constraint" must be human languages
The only allowed items for the item of property constraint (P2305) qualifier to the allowed-entity-types constraint (Q52004125) are instances of human language (Q20162172) or instances of a subclass of human language (Q20162172). (Help)
Violations query: SELECT ?item ?itemLabel ?language ?languageLabel WHERE { ?item p:P2302 [ ps:P2302 wd:Q55819106; pq:P2305 ?language; wikibase:rank ?rank ]. FILTER NOT EXISTS { ?language wdt:P31/wdt:P279* wd:Q20162172. } FILTER (?rank != wikibase:DeprecatedRank) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P2305#Items of an "lexeme requires language constraint" must be human languages
 
Items of an "allowed units constraint" must be units of measurement
The only allowed values for the item of property constraint (P2305) qualifier to allowed units constraint (Q21514353) are instances of unit of measurement (Q47574) or instances of a subclass of unit of measurement (Q47574). Use applies to part (P518), applies to people (P6001) or other similar qualifiers to distinguish counts. (Help)
Violations query: SELECT ?item ?itemLabel ?unit ?unitLabel WHERE { ?item p:P2302 [ps:P2302 wd:Q21514353; pq:P2305 ?unit ]. MINUS { ?unit wdt:P2442 []. } MINUS { ?unit wdt:P279* wd:Q8142. } MINUS { ?unit wdt:P31/wdt:P279* wd:Q47574. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P2305#Items of an "allowed units constraint" must be units of measurement
Title ID Data type Description Examples Inverse
property constraintP2302Itemproperty constraint: constraint applicable to a Wikidata propertyIMDb ID <property constraint> distinct-values constraint-
exception to constraintP2303Itemitem that is an exception to the constraint, qualifier to define a property constraint in combination with P2302IUCN conservation status <exception to constraint> Varia jamoerensis-
group byP2304PropertyGROUP BY: qualifier to define a property constraint in combination with P2302 (Wikidata property constraint) that is used to group constraint violations in constraint violation reportsProperty talk:P2304-
item of property constraintP2305Itemallowed-entity-types constraint: qualifier to define a property constraint in combination with "property constraint" (P2302)mass <item of property constraint> kilogram-
propertyP2306PropertyWikidata property: qualifier to define a property constraint in combination with P2302 (property constraint), or to limit the scope of Q44292881 (wikidata statement)Property talk:P2306-
Wikimedia Commons namespaceP2307Stringqualifier used with the Commons link property constraint (Q21510852) to specify acceptable Wikimedia Commons namespaces that a property value can link toProperty talk:P2307-
classP2308Itemclass: qualifier to define a property constraint in combination with "property constraint" (P2302)Property talk:P2308-
relationP2309Itemrelation and relation: qualifier to define a property constraint in combination with P2302. Possibly values are: "instance of", "subclass of" or "instance or subclass of". The qualifier to use with the property "relative" is "type of kinship" (P1039), not thisProperty talk:P2309-
minimum date (property constraint)P2310Point in timequalifier to define a property constraint in combination with "property constraint" (P2302)Property talk:P2310-
maximum date (property constraint)P2311Point in timequalifier to define a property constraint in combination with "property constraint" (P2302). Use "unknown value" for current date.Property talk:P2311-
maximum valueP2312Quantitymaximum: qualifier to define a property constraint in combination with P2302. "no value" can be used to specify no upper boundrange constraint <maximum value> 1,234-
minimum valueP2313Quantityminimum: qualifier to define a property constraint in combination with P2302range constraint <minimum value> 0-
format as a regular expressionP1793Stringregular expression: regex describing an identifier or a Wikidata property. When using on property constraints, ensure syntax is a PCREISO 639-3 <format as a regular expression> [a-z]{3} and IMDb ID <format as a regular expression> ev\d{7}\/\d{4}(-\d)?|(ch|co|ev|nm|tt)\d{7}-
constraint statusP2316ItemWikidata constraint status: qualifier to define a property constraint in combination with P2302. Use values "mandatory constraint" or "suggestion constraint"property scope constraint <constraint status> mandatory constraint-
syntax clarificationP2916Monolingual textsyntax: qualifier for P1793 (regular expression): to provide a textual description of the regex syntax of a value. Should be displayable after the text "The value for the property should match" and be followed by the regex.Yandex Music artist ID <syntax clarification> numerisk streng, 1 til 7 tall-

Label edit

I think this was first created with the label "item". This is clear in the context of constraint, but too generic outside. The current "qualifier of property constraint" isn't ideal either. Maybe we can come up with a better one.
--- Jura 07:23, 13 July 2017 (UTC)Reply

How do you allow an property to be in a property edit

e.g. GitHub topic (P9100) could be set on a property --> that we have code in GITHUB related to that WD property eg. GitHub username (P2037) --> Github topic wdp2037 - Salgo60 (talk) 11:09, 31 January 2021 (UTC)Reply

Return to "P2305" page.