public override SparqlResultSet Run() { ResultSet.Variables = base.q.Variables; ResultSet.Results = Enumerable.Repeat(new SparqlResult(q), 1); ResultSet.Results = sparqlWhere.Run(ResultSet.Results); if (SparqlSolutionModifier != null) { ResultSet.Results = SparqlSolutionModifier.Run(ResultSet.Results, ResultSet); } return(ResultSet); }
public virtual SparqlResultSet Run() { ResultSet.Variables = q.Variables; Seed = Enumerable.Repeat(new SparqlResult(q), 1); ResultSet.Results = Seed; if (valueDataBlock != null) { ResultSet.Results = valueDataBlock.Run(ResultSet.Results); } ResultSet.Results = sparqlWhere.Run(ResultSet.Results); if (SparqlSolutionModifier != null) { ResultSet.Results = SparqlSolutionModifier.Run(ResultSet.Results, ResultSet); } return(ResultSet); }