use of com.hp.hpl.jena.rdf.model.StmtIterator in project stanbol by apache.
the class JenaToClerezzaConverterTest method testGraphToJenaModel.
@Test
public void testGraphToJenaModel() {
/*
* Convert the Graph to a Jena Model.
*/
Model model = JenaToClerezzaConverter.clerezzaGraphToJenaModel(mGraph);
/*
* Print all the triples contained in the Jena Model.
*/
StmtIterator stmtIt = model.listStatements();
while (stmtIt.hasNext()) {
Statement statement = stmtIt.next();
log.info(statement.toString());
}
}
Aggregations