コード例 #1
0
 public ReificationStyle getReificationStyle() {
   return reifier.getStyle();
 }
コード例 #2
0
 private ExtendedIterator<ReifiedStatement> findReifiedStatements(Triple t) {
   return reifier.allNodes(t).mapWith(mapToRS);
 }
コード例 #3
0
 /**
  * Remove a given reification from this model. Other reifications of the same statement are
  * untouched.
  *
  * @param rs the reified statement to be removed
  */
 public void removeReification(ReifiedStatement rs) {
   reifier.remove(rs.asNode(), rs.getStatement().asTriple());
 }
コード例 #4
0
 /**
  * Remove all the reifications of a given statement in this model, whatever their associated
  * resources.
  *
  * @param s the statement whose reifications are to be removed
  */
 public void removeAllReifications(FrontsTriple s) {
   reifier.remove(s.asTriple());
 }
コード例 #5
0
 /**
  * Answer true iff a given statement is reified in this model
  *
  * @param s the statement for which a reification is sought
  * @return true iff s has a reification in this model
  */
 public boolean isReified(FrontsTriple s) {
   return reifier.hasTriple(s.asTriple());
 }
コード例 #6
0
 private ExtendedIterator findReifiedStatements() {
   return reifier.allNodes().mapWith(mapToRS);
 }