/// <summary> /// Executes a SPARQL Query on the Triple Store processing the results with an appropriate handler from those provided /// </summary> /// <param name="rdfHandler">RDF Handler</param> /// <param name="resultsHandler">Results Handler</param> /// <param name="query">SPARQL Query as unparsed String</param> public virtual void ExecuteQuery(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, SparqlQuery query) { query.Evaluate(rdfHandler, resultsHandler, this); }
/// <summary> /// Executes a SPARQL Query on the Triple Store /// </summary> /// <param name="query">SPARQL Query as a <see cref="SparqlQuery">SparqlQuery</see> instance</param> /// <returns></returns> public virtual Object ExecuteQuery(SparqlQuery query) { //Invoke Query's Evaluate method return query.Evaluate(this); }