Property talk:P3858

From Wikidata
Jump to navigation Jump to search

Documentation

DescriptionWikimedia route diagram template
RepresentsWikimedia route diagram (Q17146139)
Data typeItem
Template parameter"map" in Template:Infobox rail line (Q6289216) (on English Wikipedia)
Domain
According to this template: Wikimedia route diagram templates, which should be templates or list articles using icons from the BSicon (Q21152830) project through Template:Routemap (Q14609945) or Template:BS-map (Q6708710)
According to statements in the property:
transport service itinerary (Q1067164), railway line (Q728937) or railway station (Q55488)
When possible, data should only be stored as statements
Allowed valuesitems with instance of (P31)Wikimedia template (Q11266439) or Wikimedia list article (Q13406463), as well as instance of (P31)Wikimedia route diagram (Q17146139) (note: this should be moved to the property statements)
ExampleCentral line (Q205355)Template:Central line RDT (Q6048051)
6 (Q126192)Template:6 (New York City Subway service) (Q22746496)
Line 1 (Q1047385)Template:Line 1 (Guangzhou Metro) RDT (Q14403186)
See alsoroute map (P15)
Lists
Proposal discussionProposal discussion
Current uses
Total3,771
Main statement3,768>99.9% of uses
Qualifier3<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Value type “Wikimedia route diagram (Q17146139): 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 Wikimedia route diagram (Q17146139) (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/P3858#Value type Q17146139, SPARQL
Item “country (P17): Items with this property should also have “country (P17)”. (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/P3858#Item P17, search, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P3858#Scope, 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). Known exceptions: Line 6d (CFL) (Q2491200), Line 6c (CFL) (Q4442849), Red Line (Q7304502), Gold Line (Q5578774), Blue Line (Q4929368), Green Line (Q5602819)
List of violations of this constraint: Database reports/Constraint violations/P3858#Unique value, SPARQL (every item), SPARQL (by value)
Item “instance of (P31): Items with this property should also have “instance of (P31)”. (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/P3858#Item P31, search, SPARQL
Value type “Wikimedia template (Q11266439), Wikimedia route diagram (Q17146139): This property should use items as value that contain property “instance of (P31), subclass of (P279)”. On these, the value for instance of (P31), subclass of (P279) should be an item that uses subclass of (P279) with value Wikimedia template (Q11266439), Wikimedia route diagram (Q17146139) (or a subclass thereof). (Help)
List of violations of this constraint: Database reports/Constraint violations/P3858#Value type Q11266439, Q17146139, 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/P3858#Entity types

Constraints[edit]

Discussion[edit]

There should be an inverse property to this[edit]

I've now added this property to most railways in Norway, but I find it a bit odd to only have a one-way connection, so we need an inverse property. I see that it was mentioned in the property proposal back then, but nothing seems to have happened since then. But I'm not sure if we actually need to have a new property only for that purpose. Since Wikimedia route diagram template (P3858) is set as a subproperty of topic's main template (P1424), then can't we just use template has topic (P1423)? I tried this at one item, and it now has a inverse constraints issue, but wouldn't just fixing the constraints fix this? Or could there be some logical problem related to use P1423 for this purpose?

Also, I could probably go through the same RDTs and add this property if it is okay to use P1423, but could this be done by a bot? It seems to me like a relatively small botjob that can't go very much wrong. (But I could be wrong too!) Anyhow, I have no knowledge of bots (and don't intend to learn it either), so if this should be done by a bot, someone else has to do it. Bergenga (talk) 08:58, 3 October 2018 (UTC)[reply]