Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while processing #46

Open
titoarrabal opened this issue May 15, 2023 · 3 comments
Open

Error while processing #46

titoarrabal opened this issue May 15, 2023 · 3 comments

Comments

@titoarrabal
Copy link

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
Copy link
Contributor

ghsnd commented May 16, 2023

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
Copy link
Author

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
Copy link
Contributor

ghsnd commented May 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants