Property talk:P3209

From Wikidata
Jump to navigation Jump to search

Documentation

Heritage Railway Station of Canada ID
identifier of the Heritage Railway Station designated by the Historic Sites and Monuments Board of Canada
RepresentsHeritage Railway Station of Canada (Q3098283)
Associated itemHistoric Sites and Monuments Board of Canada (Q2986567)
Applicable "stated in" valueDirectory of Federal Heritage Designations (Q22344607)
Data typeExternal identifier
Domain
According to statements in the property:
railway station (Q55488)
When possible, data should only be stored as statements
Allowed values[1-9]\d{3,4}
ExampleGare du Palais (Q276785)2116
Glacier station (Q110204982)2106
Windsor Station (Q1328711)1995
Sourcehttps://www.pc.gc.ca/apps/dfhd/search-recherche_fra.aspx
Formatter URLhttps://www.pc.gc.ca/apps/dfhd/page_hrs_eng.aspx?id=$1
https://www.pc.gc.ca/apps/dfhd/page_hrs_fra.aspx?id=$1
Tracking: usageCategory:Pages using Wikidata property P3209 (Q27792833)
Related to country Canada (Q16) (See 160 others)
See alsoCanadian Register of Historic Places ID (P477), National Historic Sites of Canada ID (P2526)
Lists
Proposal discussionProposal discussion
Current uses
Total268
Main statement16461.2% of uses
Qualifier31.1% of uses
Reference10137.7% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[1-9]\d{3,4}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P3209#Format, hourly updated report, 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/P3209#Unique value, SPARQL (every item), SPARQL (by value)
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/P3209#Single value, 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/P3209#Item P17, hourly updated report, search, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (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/P3209#Item P625, SPARQL
Item “image (P18): Items with this property should also have “image (P18)”. (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/P3209#Item P18, SPARQL
Item “Canadian Register of Historic Places ID (P477): Items with this property should also have “Canadian Register of Historic Places ID (P477)”. (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/P3209#Item P477, search, SPARQL
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P3209#Scope, 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/P3209#Entity types
Type “railway station (Q55488): item must contain property “instance of (P31)” with classes “railway station (Q55488)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P3209#Type Q55488, hourly updated report, SPARQL


Constraints[edit]

Items without ID
Items that do have Heritage Railway Station of Canada (Q3098283) in heritage designation (P1435), but not Heritage Railway Station of Canada ID (P3209) (Help)
Violations query: SELECT DISTINCT ?item WHERE { VALUES ?value { wd:Q3098283 } . ?item wdt:P1435 ?value . MINUS { ?item wdt:P3209 [] } }
List of this constraint violations: Database reports/Complex constraint violations/P3209#Items without ID
Items with pictures but no Commons Category
Items that do have image (P18), but not Commons category (P373) (Help)
Violations query: SELECT DISTINCT ?item WHERE { ?item wdt:P3209 []; wdt:P18 [] . MINUS { ?item wdt:P373 [] } }
List of this constraint violations: Database reports/Complex constraint violations/P3209#Items with pictures but no Commons Category

Discussion[edit]