oeg-upm / yatter

Translate YARRRML into easy-to-read [R2]RML mappings

Home Page:https://doi.org/10.5281/zenodo.7024500

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mappings need rr:TriplesMap to transform [R2]RML into YARRRML

DiegoCondeHerreros opened this issue · comments

Describe the bug
When attempting to transform the mappings from the "Base topológica nacional BTN100" dataset from RML into YARRRML formt the file is created but the mappings section is empty.

To Reproduce

  1. Execute the command "python3 -m yatter -i btn100mappings.ttl -o btn_yarrrml.yml" as stated in the tutorial present in the repository.

Input Data
btn100mappings.zip

Screenshot of the output.
yarmlecreenshot

This is not a bug... the mapping is in R2RML, not RML, so needs to indicate the input format:
python3 -m yatter -i btn100mappings.ttl -o btn_yarrrml.yml -f R2RML
mapping.yml.txt

This has been solved!