RMLio / RMLStreamer

The RMLStreamer executes RML rules to generate high quality Linked Data from multiple originally (semi-)structured data sources in a streaming way.
http://rml.io/
MIT License
48 stars 18 forks source link

Error while processing #46

Open titoarrabal opened 1 year ago

titoarrabal commented 1 year ago

Hi, im trying to convert RML to RDF. But when im trying to execute it, it gaves me this error: Exception in thread "main" java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:347) at scala.None$.get(Option.scala:345) at io.rml.framework.Main$.main(Main.scala:124) at io.rml.framework.Main.main(Main.scala)

ghsnd commented 1 year ago

Hi, what are the program parameters? From the error message I'm guessing that you use the toFilecommand without the output-path parameter. Could that be the case?

titoarrabal commented 1 year ago

This are the program parameters java -jar rmlstreamer.jar toFile --mapping-file C:/Users/Usuario/Desktop/TFG/Mapping/ComunidadMadrid/Meteorologicos/map1.rml.ttl --output-path prueba.nt Its gaves me this error: image image

ghsnd commented 1 year ago

There is indeed an issue with relative paths that's not entirely fixed yet. In your case, it might help to add the "current directory" to the output path: --output-path ./prueba.nt or, if that doesn't work, the absolute directory.