Property talk:P3012
Jump to navigation
Jump to search
Documentation
Statistics Canada Geographic code
system by Statistics Canada for categorizing and enumerating the census geographic units of Canada
system by Statistics Canada for categorizing and enumerating the census geographic units of Canada
Data type | External identifier | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Domain | According to this template:
geographical feature (Q618123)
According to statements in the property:
When possible, data should only be stored as statementsprovince 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) | ||||||||||||
Allowed values | (1[0-3]|24|35|4[6-8]|59|6[0-2])(\d{2,5})? | ||||||||||||
Example | Ontario (Q1904) → 35 Ottawa (Q1930) → 3506 Ottawa Centre (Q3357743) → 35075 Chalk River (Q5068811) → 350066 Ottawa (Q1930) → 3506008 | ||||||||||||
Source | https://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 URL | https://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: usage | Category:Pages using Wikidata property P3012 (Q62022562) | ||||||||||||
Related to country | Canada (Q16) (See 159 others) | ||||||||||||
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]
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)
Type “province or territory of Canada (Q2879), census division of Canada (Q18810091), census subdivision (Q17457753), federal electoral district of Canada (Q17202187), designated place of Canada (Q956318)”: item must contain property “instance of (P31)” with classes “province or territory of Canada (Q2879), census division of Canada (Q18810091), census subdivision (Q17457753), federal electoral district of Canada (Q17202187), designated place of Canada (Q956318)” 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/P3012#Type Q2879, Q18810091, Q17457753, Q17202187, Q956318, SPARQL
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, SPARQLFormat “
List of violations of this constraint: Database reports/Constraint violations/P3012#Format, hourly updated report, SPARQL(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)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
This property is being used by: 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)
Categories:
- Canada-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on type
- Properties with constraints on items using them
- Properties with format constraints
- Properties with entity type constraints
- Properties with scope constraints