private SparqlResult SetValues(SparqlResult result, QuadOVStruct quad) { if (Subject == null) { result.Add(quad.Subject, sVariableNode); } if (Predicate == null) { result.Add(quad.Predicate, pVariableNode); } if (Object == null) { result.Add(quad.Object, oVariableNode); } if (!isGKnown) { result.Add(quad.Graph, variableDataSet.Variable); } return(result); }
private SparqlResult SetValues(SparqlResult result, QuadOVStruct quad) { if (this.Subject == null) { result.Add(quad.Subject, this.sVariableNode); } if (this.Predicate == null) { result.Add(quad.Predicate, this.pVariableNode); } if (this.Object == null) { result.Add(quad.Object, this.oVariableNode); } if (!this.isGKnown) { result.Add(quad.Graph, this.variableDataSet.Variable); } return(result); }