public class ExRIOT_7 {
public static void main(String... argv) {
final String filename = "data.ttl";
CollectorStreamTriples inputStream = new CollectorStreamTriples();
RDFDataMgr.parse(inputStream, filename);
for (Triple triple : inputStream.getCollected()) {
System.out.println(triple);
}
}