请不要再发给我垃圾邮件了,OK?
126邮箱
From: Uri Shani
Date: 2013-06-03 20:23
To: users
Subject: ResIterator contains null URIs
Issuing this statement: ResIterator iter = model.listSubjects(); for a
Jena Model,
and than iterating as in:
while (iter.hasNext()) {
String uri = iter.next().getURI();
System.out.Println(uri);
}
produces a lot of nulls.
the model is an OntModel, accessed as a plain default Model.
Any explanation for that?
Thanks,
- Uri
