Interoperable-data / ERA_vocabulary

ERA vocabulary is an ontology defined by the European Union Agency for Railways (ERA) to describe the concepts and relationships related to the European railway infrastructure and the vehicles authorized to operate over it.
https://data-interop.era.europa.eu/era-vocabulary/
MIT License
4 stars 3 forks source link

Error in examples about navigability and positionOnA/B #3

Closed MathiasVDA closed 1 month ago

MathiasVDA commented 1 year ago

On the vocabulary description page under the title "Railway Infrastructure Topological Layer" there is this example:

@prefix era: <http://data.europa.eu/949/> .
@prefix era-res-op: <http://data.europa.eu/949/topology/operationalPoints/> .
@prefix era-res-ne: <http://data.europa.eu/949/topology/netElements/> .
@prefix era-res-nr: <http://data.europa.eu/949/topology/netRelations/> .
@prefix geo: <http://www.w3.org/2003/01/geo/> .
@prefix gsp: <http://www.opengis.net/ont/geosparql#> .

era-res-op:ATIz a era:OperationalPoint;
        era:hasImplementation <http://data.europa.eu/949/topology/netElements/ATIz>.        
era-res-ne:ATIz a era:NetElement;
        era:elementPart <http://data.europa.eu/949/topology/netElements/10601_ATAa_1_ATIz_1_ATId_10601>;
        .....
        era:elementPart 
        <http://data.europa.eu/949/topology/netElements/10601_ATAa_1_ATIz_1_ATIzo_12401>.        
era-res-nr:10601_ATAa_1_ATIz_1_ATId_10601_10601_ATIz_1_ATId a era:NetRelation;
        era:elementA <http://data.europa.eu/949/topology/netElements/10601_ATAa_1_ATIz_1_ATId_10601>;
        era:elementB <http://data.europa.eu/949/topology/netElements/1>;
        era-nv-rinf:navigability "Both";
        era-pos-rinf:positionOnA "End";
        era-pos-rinf:positionOnB "Start".

The era:positionOnA and era:positionOnB predicates expect as value, one of the concepts from the RelationPositions Concept Scheme, instead of string Literals.

The same goes for the era:navigability predicate. It should be a concept from the Navigabilities Concept Scheme.

ednaru commented 1 year ago

The values belong to the corresponding concept schemes. Fixed. Changes will be published in release 3.0.1. Commit has been done in internal ERA repository https://git.fpfis.tech.ec.europa.eu/datateam/ERA/era-vocabulary/-/merge_requests/148/diffs?commit_id=661397be88d5ba93bf833506e8b1845cf7305985 (cannot be accessed by external users).

ednaru commented 1 month ago

Fixes to examples can be seen in https://dev.ld4rail.fpfis.tech.ec.europa.eu/era-vocabulary.