Ejemplo n.º 1
0
 public ReificationStyle getReificationStyle() {
   return reifier.getStyle();
 }
Ejemplo n.º 2
0
 private ExtendedIterator<ReifiedStatement> findReifiedStatements(Triple t) {
   return reifier.allNodes(t).mapWith(mapToRS);
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 6
0
 private ExtendedIterator findReifiedStatements() {
   return reifier.allNodes().mapWith(mapToRS);
 }