Skip to content

Base IRI for RMLMapper #30

Open
Open
@marioscrock

Description

@marioscrock

Hi everyone,
the YARRRML specification allows to specify a base IRI saying

This IRI will be used for the creation of the IRIs of the term maps and sources of the [R2]RML rules.

As far as I understand, the specified IRI is set as prefix ":" and added to the term maps. However, the RMLMapper parses the @base keyword in Turtle to extract the base IRI and therefore, no baseIRI is found if the file produced by the parser is directly used. Moreover, I would suggest to extend the YARRRML specification and to allow defining two different "base" prefixes, one for mappings (maybe a prefix + IRI can be specified and used for mappings) and the other one to be used as base IRI for triples generated in the mapping procedure (set as @base IRI in the resulting RML file and therefore considered by the RMLMapper as base IRI to complete relative IRIs). Please correct me if I got it wrong or let me know if there is already a way to specify prefixes as described. Thank you in advance.

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