public StardogQueryResult(StardogStore store, ISparqlQuery query, StardogResultHandler resultHandler) { _resultHandler = resultHandler; string s = null; string p = null; string o = null; if (query.ProvidesStatements()) { // A list of global scope variables without the ?. Used to access the // subject, predicate and object variable in statement providing queries. string[] vars = query.GetGlobalScopeVariableNames(); s = vars[0]; p = vars[1]; o = vars[2]; } _query = query; if (_resultHandler.SparqlResultSet != null) { _tripleProvider = new SparqlResultSetTripleProvider(_resultHandler.SparqlResultSet, s, p, o); } _model = query.Model; _resultHandler = resultHandler; _store = store; }
/// <summary> /// Create an instance of the class <c>StardogUpdateSparqlConvertor</c>. /// </summary> /// <param name="store">Startdog store instance.</param> public StardogUpdateSparqlConverter(StardogStore store) { _store = store; }