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

Generating metadata in different RDF format #68

Closed
AurisAudentis opened this issue Jul 3, 2020 · 1 comment
Closed

Generating metadata in different RDF format #68

AurisAudentis opened this issue Jul 3, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AurisAudentis
Copy link

AurisAudentis commented Jul 3, 2020

When specifying both a metadata file (-e option) and a format option (-s) the application crashes.

The following command works:
java -jar rmlmapper-4.8.0-r247.jar -m mapping.rml.ttl -s turtle

The following command does not work:
java -jar rmlmapper-4.8.0-r247.jar -m mapping.rml.ttl -s turtle -l triple -e metadata.turtle
and instead outputs:

Exception in thread "main" java.lang.Error: Serialization turtle not supported at be.ugent.rml.store.SimpleQuadStore.write(SimpleQuadStore.java:97)  
at be.ugent.rml.cli.Main.writeOutputUncompressed(Main.java:413)  
at be.ugent.rml.cli.Main.writeOutput(Main.java:379)
at be.ugent.rml.cli.Main.main(Main.java:295)                                                                                                                         
at be.ugent.rml.cli.Main.main(Main.java:35)  

I was able to work around this issue by changing the used store of the MetadataGenerator to RDF4JStore here:

-Mggeldho

@pheyvaer pheyvaer self-assigned this Jul 3, 2020
@pheyvaer
Copy link
Collaborator

pheyvaer commented Jul 3, 2020

Thanks! Will have a look at it.

@pheyvaer pheyvaer added the bug Something isn't working label Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants