Property talk:P11631

From Wikidata
Jump to navigation Jump to search

Documentation

ERA ID
identifier of an operational point for the European Union Agency for Railways
Associated itemEuropean Union Agency for Railways (Q369273)
Data typeExternal identifier
Domainstation (Q12819564), railway station (Q55488), dead-end railway station (Q55485), terminal train station (Q11606300) or operation point (Q124817561)
Allowed values[A-Z]{2}[A-Z0-9-]+
ExampleGare de Paris-Est (Q757180)FR0000016314 (RDF)
El Escorial train station (Q11681645)ES10203 (RDF)
Siena railway station (Q3971002)IT06809 (RDF)
Suderburg station (Q23054637)DE0HSUD (RDF)
Sourcehttps://www.era.europa.eu/domains/registers/era-knowlege-graph-rinf_en
Formatter URLhttps://data.europa.eu/949/functionalInfrastructure/operationalPoints/$1
Lists
Proposal discussionProposal discussion
Current uses
Total1,562
Main statement1,557 out of 59,176 (3% complete)99.7% of uses
Qualifier40.3% of uses
Reference1<0.1% of uses
Search for values
[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
Format “[A-Z]{2}[A-Z0-9-]+: value must be formatted using this pattern (PCRE syntax). (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#Format, SPARQL

Map of ERA IDs[edit]

Map 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)
}
Try it!

Infrastruktur (talk) 20:16, 4 March 2023 (UTC)[reply]