apache jena ObjectFileStorage and TupleLib error handling
问题 When trying out Apache Jena with the following code: dataset = TDBFactory.createDataset(directory); Model model = dataset.getDefaultModel(); dataset.begin(ReadWrite.WRITE); Resource r=model.createResource(NS+"subject"); Property p = model.createProperty(NS + "predicate"); r.addProperty(p, "object"); model.write(System.out, "Turtle"); dataset.close(); Jena chokes on this. I am in the process of fixing this and purposely not showing what the content was but I am much more concerned with the way