public Model add(Statement[] sarr) { foreach (Statement stmt in sarr) { this._g.Assert(JenaConverter.FromJena(stmt, this._mapping)); } return(this); }
public Model add(Model m) { Graph h = new Graph(); JenaConverter.FromJena(m, h); this._g.Merge(h); return(this); }
public Model add(StmtIterator si) { while (si.hasNext()) { Statement stmt = si.nextStatement(); this._g.Assert(JenaConverter.FromJena(stmt, this._mapping)); } return(this); }
public Model add(Model m, bool b) { Graph h = new Graph(); JenaConverter.FromJena(m, h); if (b) { //TODO: Suppress reification triples } this._g.Merge(h); return(this); }
public Model add(List l) { ListIterator iter = l.listIterator(); while (iter.hasNext()) { Object obj = iter.next(); if (obj is Statement) { this._g.Assert(JenaConverter.FromJena((Statement)obj, this._mapping)); } } return(this); }
public bool contains(Statement s) { return(this._g.ContainsTriple(JenaConverter.FromJena(s, this._mapping))); }
public Model add(Statement s) { this._g.Assert(JenaConverter.FromJena(s, this._mapping)); return(this); }