On 18/04/17 10:19, Laura Morales wrote:
riot sets the Unix return code to 0 on success and 1 on failure in the
usual Unix fashion.

So build up a list of valid files by looping on the input files then
load all the valid ones in one go with tdbloader.

Thank you.
Unfortunately however, running "riot --validate" on each file doesn't seem much 
faster than running tdbloader on each single file. Processing all files seem to take 
approximately the same time.


running tdbloader with bad data can corrupt the database.

It's a bulk loader - not a fix-up-the data tool.

If they take about the same time, then the parse costs dominate - which is possible with RDF/XML on small data files.

If performance matters, parse/validate and output N-triples, then load the N-triples.

    Andy

Reply via email to