JSON-LD statement iterator while parsing #4676
Unanswered
jjkoehorst
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I think that our JSON-LD implementation needs to parse the entire file before it can return anything. I haven't check though, so I might be wrong. How big is your file? Maybe you can find a passable solution by increasing the amount of memory you give your program? |
Beta Was this translation helpful? Give feedback.
0 replies
-
At the moment a few million statements. Maybe there is a way for bulk / speed loading it into an empty instance not sure what I have now is the fastest approach. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a rather big JSON-LD file with basic context on which I want to apply some modifications before streaming it to a triple store.
However every approach I take it first loads or at least tries to load the entire file.
Is there a way either by fast conversion to ntriples or loading it through a statement iterator to process such a file on the fly?
I tried something like
but it remains busy before the res.hasNext step...
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions