oeg-upm / yatter

Translate YARRRML into easy-to-read [R2]RML mappings
https://doi.org/10.5281/zenodo.7024500
Apache License 2.0
22 stars 6 forks source link

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

Closed DiegoCondeHerreros closed 1 year ago

DiegoCondeHerreros commented 1 year ago

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

dachafra commented 1 year ago

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

dachafra commented 1 year ago

This has been solved!