When processing JSON source, a couple of issues arise that hamper transformation to RDF
- escaped backslashes in strings aren't unescaped
- line breaks in strings using \n aren't retained
- leading spaces in strings are droppped
The real trouble is in the processing of JSON arrays
- JSON arrays using unquoted values (booleans, numerals etc.) always throw errors
See data below, transform using
java -jar RML-Mapper.jar -m multiple-datatypes/rdf/mosselenoesterhabitats.0.geojson/mosselenoesterhabitats.0.geojson.mapping.rml.ttl -o multiple-datatypes/rdf/mosselenoesterhabitats.0.geojson/mosselenoesterhabitats.0.geojson.nt -f ntriples
multiple-datatypes.tar.gz
When processing JSON source, a couple of issues arise that hamper transformation to RDF
The real trouble is in the processing of JSON arrays
See data below, transform using
java -jar RML-Mapper.jar -m multiple-datatypes/rdf/mosselenoesterhabitats.0.geojson/mosselenoesterhabitats.0.geojson.mapping.rml.ttl -o multiple-datatypes/rdf/mosselenoesterhabitats.0.geojson/mosselenoesterhabitats.0.geojson.nt -f ntriplesmultiple-datatypes.tar.gz