Closed candlecao closed 2 months ago
I solved it. Please see:
Tutorial 1. https://vos.openlinksw.com/owiki/wiki/VOS/VirtBulkRDFLoaderScript
Tutorial 2. https://vos.openlinksw.com/owiki/wiki/VOS/VirtBulkRDFLoaderExampleMultiple
Be cautious:
Assuming there is a folder with name "tmp" in your FS and it is under a directory specified in the [DirsAllowed] param defined in your virtuoso.ini file. I adjusted the param but it didn't take effect. So I created the "tmp" folder directly under the folder "my_virtdb". That path is recognizable by
ld_dir ()
function.
https://github.com/openlink/virtuoso-opensource/issues/1319 @Yueqiao12Zhang here it talked about "load the parts using multiple loaders to better utilize your CPU", for your reference
Be cautious: Afaik,
.n3
format, please don't use .ttl
format, or there might be reported with errors in terminal.Therefore, you had better make it secure that all the RDF files(e.g.,
.ttl
format) are syntactically correct. To validate RDF files. There are usually 2 tools on Visual Studio Code:
RDF Sketch: For visualization of RDF as well as validating the data. But it can not spot some local errors.
Turtle Language Server: This is more rigorous. It will underline red where it's syntactically wrong.
It follows #195