oeg-upm / mapeathor

Translator of spreadsheet mappings into R2RML, RML or YARRRML
https://morph.oeg.fi.upm.es/tool/mapeathor
Apache License 2.0
30 stars 10 forks source link

Not considering datatype in predicateObjectMap #7

Closed ednaru closed 4 years ago

ednaru commented 4 years ago

Not considering datatype in predicateObjectMap. For example, a boolean should be: "false"^^http://www.w3.org/2001/XMLSchema#boolean, it is generated as "false". Similarly with numbers that should be generated as double, integer, float. All iri are generated as strings.

ednaru commented 4 years ago

The yarrml mapping that has been generated has "- [esautob:wifi, "false"]" and should have been generated with - [esautob:wifi, "false",xsd:boolean].

anaigmo commented 4 years ago

Done, now in yarrrml the datatypes are written, iris are correctly identified, and you can add more datatypes (if needed) in code/datatypes.json