Property talk:P11109
Jump to navigation
Jump to search
Documentation
Onestop ID
identifier for public transporation-related entities in Transitland database
identifier for public transporation-related entities in Transitland database
Explanations [Edit]
Try it!
Type statistics[edit]
#Onestop ID type statistics
SELECT ?type (COUNT(?type) AS ?count)
(IRI(CONCAT("https://query.wikidata.org/#%23%20Onestop%20ID%20type%20",?type,"%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fid%0AWHERE%0A{%0A%09%3Fitem%20wdt%3AP11109%20%3Fid%20.%0A%20%20%20%20FILTER(SUBSTR(%3Fid%2C%201%2C%201)%20%3D%20%22",?type,"%22)%20.%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20{%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20}%20%20%20%20%0A}%0AORDER%20BY%20%3FitemLabel")) as ?instances)
WHERE {
?s wdt:P11109 ?id .
BIND (SUBSTR(?id, 1, 1) AS ?type) .
}
GROUP BY ?type
Items with multiple Onestop IDs[edit]
The following separators are used to disambiguate IDs:
- connecting service (P1192)
- towards (P5051): adjacent station (P197) that is the next stop
- transport network (P16)
- applies to part (P518): station (Q12819564) or platform (Q64896574)
Route with multiple IDs[edit]
- Opposite directions
- Onestop ID (P11109) → r-9q9-green~n
- Onestop ID (P11109) → r-9q9-green~s
- Daytime / nighttime
- Onestop ID (P11109) → r-dpz8-501
- Onestop ID (P11109) → r-dpz8-301
Station with multiple IDs[edit]
- Two transport networks
Burbank Airport–South station (Q3096094)
- Onestop ID (P11109) → s-9q5fdb9mj6-burbankamtrak
- Onestop ID (P11109) → s-9q5fdbd72w-burbankairport~southvclinemetrolinkstation
- Opposite directions with separate ID for the station
California Avenue station (Q5020256)
- Onestop ID (P11109) → s-9q9hutfctt-californiaavenuecaltrainstation
- Onestop ID (P11109) → s-9q9hutfcyg-californiaavenuecaltrainstation
- Onestop ID (P11109) → s-9q9hutewc2-californiaavenue
- Two transport networks, multiple routes
Los Angeles Union Station (Q198019)
- Onestop ID (P11109) → s-9q5ctrwxe7-losangeles
- Onestop ID (P11109) → s-9q5ctx8rwr-unionstation~metrored~purplelines
- Onestop ID (P11109) → s-9q5ctx8nfm-unionstation~metrogoldline
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/P11109#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). Known exceptions: Lakeland (Q14686092)List of violations of this constraint: Database reports/Constraint violations/P11109#Single value, SPARQL
Type “transport service itinerary (Q1067164), General Transit Feed Specification feed (Q113379415), public transport network (Q18325841), public transport stop (Q548662)”: item must contain property “instance of (P31)” with classes “transport service itinerary (Q1067164), General Transit Feed Specification feed (Q113379415), public transport network (Q18325841), 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/P11109#Type Q1067164, Q113379415, Q18325841, Q548662, SPARQL
Format “
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). [fosr]-([0123456789bcdefghjkmnpqrstuvwxyz]+-)?[\p{Ll}0-9~]+
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P11109#Format, SPARQL
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/P11109#Scope, 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/P11109#Entity types
Onestop IDs are not unique[edit]
per this discussion (GitHub), if multiple routes/stops/stations/platforms have the same coordinates and name, then the Onestop ID is the same. Bamyers99 (talk) 21:53, 22 December 2022 (UTC)
Categories:
- All Properties
- Properties with external-id-datatype
- Properties used on 10000+ items
- Properties with unique value constraints
- Properties with single value constraints
- Properties with constraints on type
- Properties with format constraints
- Properties with scope constraints
- Properties with entity type constraints