Open kurzum opened 10 years ago
One small hint, I just put the log messages on stderr so you can do:
java -jar validator-2.0.1-SNAPSHOT-jar-with-dependencies.jar -i ../../../core/jena/src/test/resources/nif-correct-model.ttl > results.ttl
java -jar validator-2.0.1-SNAPSHOT-jar-with-dependencies.jar -i ../../../core/jena/src/test/resources/nif-correct-model.ttl 2>log.txt
the old component didn't have log messages if -o turtle was set: https://github.com/NLP2RDF/software/blob/master/java-maven/implementation/validator/src/main/java/org/nlp2rdf/implementation/validator/ValidateCLI.java#L45
This is so you can do ./validate.jar > result.ttl Maybe you can copy some stuff from here: https://github.com/NLP2RDF/software/blob/master/java-maven/core/jena/src/main/java/org/nlp2rdf/core/SPARQLValidator.java#L43