Пример #1
0
 private static MGraph createClerezzaModel() {
   TcManager manager = TcManager.getInstance();
   UriRef graphUri = new UriRef(HTTP_EXAMPLE_COM);
   if (manager.listMGraphs().contains(graphUri)) {
     manager.deleteTripleCollection(graphUri);
   }
   return manager.createMGraph(graphUri);
 }
 @AfterClass
 public static void cleanup() {
   tcManager.deleteTripleCollection(READ_ONLY_GRAPH_URI);
   tcManager.deleteTripleCollection(READ_WRITEGRAPH_URI);
 }