示例#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;
 }
示例#2
0
 protected Triple property(String property, Object value) {
   return tripleFactory.newTriple(getObject(), property, value);
 }
示例#3
0
 protected Triple propertyKey(String property) {
   return tripleFactory.newTriple(getObject(), property, Variable.v);
 }