Stardog data add a folder?

how do i import a folder of ttl files?

it looks this work

find . -type f -exec stardog data add app {} \;

That would work. You might also look at using xargs and executing it as a single add or batching up several files. Each add will be run in its own transaction and depending on how many files and how big they are there might be a big overhead just starting the jvm for each file.

You can also zip the folder and import that.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.