Property talk:P5051

From Wikidata
Jump to navigation Jump to search

Documentation

towards
qualifier for "adjacent station" (P197) to indicate the terminal station(s) of a transportation line or service in that direction
Representsterminal train station (Q11606300)
Data typeItem
Domainpublic transport stop (Q548662)
Allowed valuesitems with instance of (P31)station (Q719456) (or its children, such as railway station (Q55488)) (note: this should be moved to the property statements)
Usage notesThis property replaces usages of "direction" (P560) whose values are "instance of" (P31) "station" (Q719456) or its subclasses. Uses of P560 when their values are of type "direction" (Q2151613) should not be replaced. Set to 'novalue' for loop/circular lines.
Example
According to statements in the property:
Pakenham (Q7125456)Flinders Street (Q260986)
Futamata Station (Q864284)Hakodate Station (Q1151274)
Subang Jaya station (Q7630760)Tanjung Malim railway station (Q6124725)
Tuen Mun station (Q2106644)Nam Cheong station (Q3082875)
Tuen Mun station (Q2106644)Hung Hom station (Q996591)
When possible, data should only be stored as statements
Robot and gadget jobsReplace uses of direction (P560) as qualifier, where value is instance of station (Q719456) or a subclass, with this property as qualifier
See alsodirection (P560), direction relative to location (P654), adjacent station (P197), terminus (P559)
Lists
Proposal discussionProposal discussion
Current uses
Total203,849
Main statement66<0.1% of uses
Qualifier203,756>99.9% of uses
Reference27<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/P5051#Scope, hourly updated report, SPARQL
Property “adjacent station (P197)” declared by target items of “towards (P5051): If [item A] has this property with value [item B], [item B] is required to have property “adjacent station (P197)”. (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/P5051#Target required claim P197, SPARQL, SPARQL (by value)
Type “public transport stop (Q548662): item must contain property “instance of (P31)” with classes “public transport stop (Q548662)” 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/P5051#Type Q548662, SPARQL
Value type “public transport stop (Q548662): This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value public transport stop (Q548662) (or a subclass thereof). (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/P5051#Value type Q548662, SPARQL
Item “adjacent station (P197): Items with this property should also have “adjacent station (P197)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P5051#Item P197, hourly updated report, search, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
List of violations of this constraint: Database reports/Constraint violations/P5051#Entity types, hourly updated report
Contemporaries:
if [item A] has this property (P5051) linked to [item B],
then [item A] and [item B] have to coincide or coexist at some point of history.
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/P5051#Contemporary, SPARQL

mass paths[edit]

I'm using this for mass paths, because it helps to organize them by their destination. I'm getting a warning about it, though, but it would be great if it was "legal" to use the statement for mass paths as well. If there is an alternative, I'd be happy to learn about it. A.-K. D. (talk) 12:33, 31 October 2023 (UTC)[reply]