π - Empty file when transforming a mapping.
jatoledo opened this issue Β· comments
Shows the following result when performing the transformation of a mapping of GTFS-Madrid-Bench.
Introduce the .yml file you want to convert to RML
mappings/gtfs-csv.yml
Name for your file:
output-csv.rml
------------------------START RML-------------------------------
'list' object has no attribute 'replace'
------------------------END RML-------------------------------
FILE SUCCESSFULY CREATED!
Mapping : gtfs-csv.yml
Mappings: link
Fixed!
I have the same problem with these mappings:
../../kgc-eval/mappings/gtfs-rdb-r2rml-noselfjoin.yml
------------------------START RML-------------------------------
can only concatenate str (not "dict") to str
------------------------END RML-------------------------------
FILE SUCCESSFULY CREATED!
../../kgc-eval/mappings/gtfs-rdb-r2rml.yml
------------------------START RML-------------------------------
can only concatenate str (not "dict") to str
------------------------END RML-------------------------------
FILE SUCCESSFULY CREATED!
../../kgc-eval/mappings/gtfs-rdb-rml-noselfjoin.yml
------------------------START RML-------------------------------
list index out of range
------------------------END RML-------------------------------
FILE SUCCESSFULY CREATED!
../../kgc-eval/mappings/gtfs-rdb-rml.yml
------------------------START RML-------------------------------
list index out of range
------------------------END RML-------------------------------
I've fixed the problem in the last two files implementing query detection as logical source. Nonetheless I don't know how the mapping of the logical source should be in the first two files, for instance:
sources:
- table: STOP_TIMES
Hi,
Those mappings are in R2RML specification, so the correct mapping is:
rr:tableName "STOP_TIMES".
@dachafra Will this library/tool also support it?
let's close first the good generation of RML and then we can see if R2RML could be also covered
I think we can close this issue