Exemplo n.º 1
0
 protected Collection<Triple> getTriplesForSubject(Object subj) {
   Collection<Triple> coll = store.getAll(tripleFactory.newTriple(subj, Variable.v, Variable.v));
   Iterator<Triple> iter = coll.iterator();
   while (iter.hasNext()) {
     if ((iter.next().getProperty()).equals(TripleStore.TYPE)) {
       iter.remove();
     }
   }
   return coll;
 }
Exemplo n.º 2
0
 protected Triple property(String property, Object value) {
   return tripleFactory.newTriple(getObject(), property, value);
 }
Exemplo n.º 3
0
 protected Triple propertyKey(String property) {
   return tripleFactory.newTriple(getObject(), property, Variable.v);
 }