RMLio / rmlmapper-java

The RMLMapper executes RML rules to generate high quality Linked Data from multiple originally (semi-)structured data sources
http://rml.io
MIT License
144 stars 61 forks source link

Example 3.1 from the RML Spec #213

Closed vchaudhri closed 10 months ago

vchaudhri commented 11 months ago

I tried to run the example 3.1 from the spec, but it fails with the following cryptic error:

$ java -jar rmlmapper-6.2.1-r368-all.jar -m 3.1.rml -o 3.1.ttl 17:41:37.748 [main] ERROR be.ugent.rml.cli.Main .run(416) - Mapping for id not found, expected one of [null]

Other examples run just fine, so I believe that my setup is correct and there might be some issue with the mapping rules.

DylanVanAssche commented 10 months ago

Hi!

Apologies for the late reply. Could you upload here the mapping and input data you used?

vchaudhri commented 10 months ago

This is resolved now. The issue was that my JSON had a new line character in it. Getting rid of newline solved the problem.