-
Notifications
You must be signed in to change notification settings - Fork 165
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
Repository export operation does not provide any valid .trig #5093
Comments
Did this used to work before? Do you know which version it worked on before? |
Btw. Trig isn't a particularly good format for exporting a lot of data since the trig writer needs to know a lot about your data to format it correctly. Have you tried with NQUADS? That should hopefully be a fully streaming data format. |
Sadly the last working version is something I din't know about. The only difference is the size of the repositories. Your saying I can export/convert my current repository(.ttl) as NQUADS? |
Here is also an error I get when using eclipse-rdf4j-console console: `root@ip-172-31-38-149:~# bash /home/ubuntu/eclipse-rdf4j-4.3.2/bin/console.sh
|
Glad to know it's not a regression at least. Any chance you can confirm that this is still an issue on RDF4J 5.0.1? Other than that it looks like there is something that should be streaming the output but is actually writing it to a byte array output stream instead. |
I updated the files for it and it happens with 5.0.1 too. Here is my config.ttl: `cat /var/lib/tomcat8/.RDF4J/server/repositories/myRepoName/config.ttl <#MyRepoName> a rep:Repository; |
Thanks for checking. And just to be sure. Is this also the case when using NQUADS? |
I tried exporting the current repo as .nq. But that did not work. |
Current Behavior
When I do:
curl "http://localhost:8080/rdf4j-workbench/repositories/repositoryName/export?Accept=application%2Ftrig" --compressed -o ./repositoryName.trig
I get only 15k files, while my repo is 145G.
And my previous exports used to be 3G or more.
Have also tried using console.sh:
/home/ubuntu/eclipse-rdf4j-4.3.2/bin/console.sh and I get java.lang.OutOfMemoryError exceptions.
Expected Behavior
Get valid file exports by either using console.sh or rdf4j API.
Steps To Reproduce
curl "http://localhost:8080/rdf4j-workbench/repositories/repositoryName/export?Accept=application%2Ftrig" --compressed -o ./repositoryName.trig
/home/ubuntu/eclipse-rdf4j-4.3.2/bin/console.sh
Version
4.3.2
Are you interested in contributing a solution yourself?
None
Anything else?
No response
The text was updated successfully, but these errors were encountered: