Skip to content

Check that speed of XSLT processing for RUIAN update pipeline is improved #40

@tomas-knap

Description

@tomas-knap

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 {

}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions