Property talk:P11631
Latest comment: 1 year ago by Infrastruktur in topic Map of ERA IDs
Documentation
ERA ID
identifier of an operational point for the European Union Agency for Railways
identifier of an operational point for the European Union Agency for Railways
[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/P11631#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/P11631#Unique value, SPARQL (every item), SPARQL (by value)
Scope is as main value (Q54828448): 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/P11631#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/P11631#Entity types
Type “station (Q12819564), railway station (Q55488), dead-end railway station (Q55485), last station (Q11606300), operation point (Q124817561)”: item must contain property “instance of (P31)” with classes “station (Q12819564), railway station (Q55488), dead-end railway station (Q55485), last station (Q11606300), operation point (Q124817561)” 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/P11631#Type Q12819564, Q55488, Q55485, Q11606300, Q124817561, SPARQL
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/P11631#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P11631#Format, SPARQL
|
Map of ERA IDs
editMap of ERA IDs for one country taken from the ERA endpoint and plotted on a map
#defaultView:Map
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX era: <http://data.europa.eu/949/>
PREFIX geo2: <http://www.w3.org/2003/01/geo/wgs84_pos#>
SELECT DISTINCT ?opid ?label ?coord ?entity
WHERE {
SERVICE <https://linked.ec-dataplatform.eu/sparql> {
?entity a era:OperationalPoint ;
geo2:location ?geo ;
era:opType <http://data.europa.eu/949/concepts/op-types/rinf/10> ;
era:inCountry <http://publications.europa.eu/resource/authority/country/NOR> ;
era:uopid ?opid ;
rdfs:label ?label .
}
BIND(REPLACE(wikibase:decodeUri(STR(?geo)), "http://data.europa.eu/949/locations/(.*)/(.*)", "$1") AS ?long)
BIND(REPLACE(wikibase:decodeUri(STR(?geo)), "http://data.europa.eu/949/locations/(.*)/(.*)", "$2") AS ?lat)
BIND(STRDT(CONCAT("Point(", ?long, " ", ?lat, ")"), geo:wktLiteral) AS ?coord)
}