Esempio n. 1
0
 /** Removes the triple t (if possible) from the set belonging to this graph. */
 public void performDelete(Triple t) {
   version++;
   if (!isPrepared) prepare();
   fdata.getGraph().delete(t);
 }
Esempio n. 2
0
 /**
  * Add one triple to the data graph, run any rules triggered by the new data item, recursively
  * adding any generated triples.
  */
 public synchronized void performAdd(Triple t) {
   version++;
   if (!isPrepared) prepare();
   // System.out.println(t.toString());
   fdata.getGraph().add(t);
 }