When RDF data unit refactoring is done, check that "RUIAN update" pipeline is faster.
Currently, the problem is that XSLT generates TTL file as its result (which is quite fast) but then adding this file to output data unit is rather slow. This may be caused by method handleStatement (TripleCountHandler).
After refactoring, the Repository.add() of openRDF should be used directly. As a result, speed should be improved. Check that.
/**
* If given statement contains valid RDF data then the method calls
* {@link RDFInserter#handleStatement(org.openrdf.model.Statement)} on
* parent class, otherwise this problem statement is added to the specific
* problem collection of {@link TripleProblem}.
*
*
* @param st Statement that will be added to repostory.
* @throws RDFHandlerException if handler find out problem during execution
* this method.
*/
@OverRide
public void handleStatement(Statement st) throws RDFHandlerException {
When RDF data unit refactoring is done, check that "RUIAN update" pipeline is faster.
Currently, the problem is that XSLT generates TTL file as its result (which is quite fast) but then adding this file to output data unit is rather slow. This may be caused by method handleStatement (TripleCountHandler).
After refactoring, the Repository.add() of openRDF should be used directly. As a result, speed should be improved. Check that.
/**
* If given statement contains valid RDF data then the method calls
* {@link RDFInserter#handleStatement(org.openrdf.model.Statement)} on
* parent class, otherwise this problem statement is added to the specific
* problem collection of {@link TripleProblem}.
*
*
* @param st Statement that will be added to repostory.
* @throws RDFHandlerException if handler find out problem during execution
* this method.
*/
@OverRide
public void handleStatement(Statement st) throws RDFHandlerException {