Skip to content

Lookup function doesn't use correct datatype #220

@MathiasVDA

Description

@MathiasVDA

Hello,

I have this csv file:
https://gitlab.com/mathias.vanden.auweele/infrabel-opendata-to-rdf/-/blob/main/src/operational-points/map-opType.csv?ref_type=heads

And this rml file:
https://gitlab.com/mathias.vanden.auweele/infrabel-opendata-to-rdf/-/blob/main/src/operational-points/map.rml.ttl?ref_type=heads

Running with this json file:
https://gitlab.com/mathias.vanden.auweele/infrabel-opendata-to-rdf/-/blob/main/src/operational-points/operationele-punten-van-het-netwerk.json?ref_type=heads

A partial result is :

<https://data.infrabel.be/data/OperationalPoint/2000> a era:OperationalPoint;
  era:opName "FOREST-M"@fr, "VORST-M"@nl;
  era:opType "http://data.europa.eu/949/concepts/op-types/rinf/10"^^rr:IRI;
  era:tafTAPCode "BE02000";
  gsp:hasGeometry <https://data.infrabel.be/data/Geometry/OperationalPoint/2000>;
  owl:sameAs era:BE_FOVM;
  prov:wasGeneratedBy <https://data.infrabel.be/mapping/opendata/operationele-punten-van-het-netwerk/1> .

I expected to see era:opType <http://data.europa.eu/949/concepts/op-types/rinf/10>;

I tried multiple version where I don't define a datatype or put <...> in the csv file. But it all translates to string type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions