Hi, today, I needed to use RIOT infer command with an N-Quads file.
This is what I did to being able to use an N-Quads instead of an N-Triples file: - Sink<Triple> sink = new SinkTripleOutput(System.out) ; - sink = InfFactory.infTriples(sink, vocab) ; - LangRIOT parser = RiotReader.createParserNTriples(System.in, sink) ; + Sink<Quad> sink = new SinkQuadOutput(System.out) ; + sink = InfFactory.infQuads(sink, vocab) ; + LangRIOT parser = RiotReader.createParserNQuads(System.in, sink) ; Everything was already there, thank you Andy. Could we do this and support N-Quads with RIOT infer command? Paolo
