Property talk:P3012

Latest comment: 7 months ago by Tompw in topic Format constraint

Documentation

Statistics Canada Geographic code
system by Statistics Canada for categorizing and enumerating the census geographic units of Canada
Data typeExternal identifier
Domain
According to this template: geographical feature (Q618123)
According to statements in the property:
province or territory of Canada (Q2879), census division of Canada (Q18810091), census subdivision (Q17457753), federal electoral district of Canada (Q17202187) or designated place of Canada (Q956318)
When possible, data should only be stored as statements
Allowed values(1[0-3]|24|35|4[6-8]|59|6[0-2])(\d{2,5})?
ExampleOntario (Q1904)35
Ottawa (Q1930)3506
Ottawa Centre (Q3357743)35075
Chalk River (Q5068811)350066
Ottawa (Q1930)3506008
Sourcehttps://www12.statcan.gc.ca/census-recensement/2021/dp-pd/prof/index.cfm?Lang=E
https://www12.statcan.gc.ca/census-recensement/2021/dp-pd/prof/index.cfm?Lang=F
Formatter URLhttps://wikidata-externalid-url.toolforge.org/?p=3012&id=$1
https://www12.statcan.gc.ca/census-recensement/2021/dp-pd/prof/details/page.cfm?Lang=E&DGUIDlist=2013A0004$1
https://www12.statcan.gc.ca/census-recensement/2021/dp-pd/prof/details/page.cfm?Lang=E&DGUIDlist=2021A0003$1
https://www12.statcan.gc.ca/census-recensement/2021/dp-pd/prof/details/page.cfm?Lang=E&DGUIDlist=2021A0006$1
https://www12.statcan.gc.ca/census-recensement/2021/dp-pd/prof/details/page.cfm?Lang=E&DGUIDlist=2021A0005$1
https://www12.statcan.gc.ca/census-recensement/2021/dp-pd/prof/details/page.cfm?Lang=E&DGUIDlist=2021A0002$1
Tracking: usageCategory:Pages using Wikidata property P3012 (Q62022562)
Related to country  Canada (Q16) (See 160 others)
Lists
Proposal discussionProposal discussion
Current uses
Total5,806
Main statement5,73198.7% of uses
Qualifier5<0.1% of uses
Reference701.2% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P3012#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P3012#Unique value, SPARQL (every item), SPARQL (by value)
Item “country (P17): Canada (Q16): Items with this property should also have “country (P17): Canada (Q16)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P3012#Item P17, hourly updated report, search, SPARQL
Format “(1[0-3]|24|35|4[6-8]|59|6[0-2])(\d{2,5})?: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P3012#Format, hourly updated report, SPARQL
Allowed 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/P3012#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/P3012#Scope, SPARQL
 

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Format constraint edit

The current format constraint prohibits the use of "01" for Canada. Can this be changed? Tompw (talk) 15:12, 23 October 2023 (UTC)Reply

Return to "P3012" page.