public override IEnumerable <T> ExecuteQuery <T>(SparqlLinqQueryContext sparqlLinqQuery) { _lastQuery = sparqlLinqQuery.SparqlQuery; _lastLinqQueryContext = sparqlLinqQuery; yield break; }
public override IEnumerable <T> ExecuteInstanceQuery <T>(string instanceIdentifier, string typeIdentifier) { _lastQuery = String.Format("ASK {{ <{0}> a <{1}>. }}", instanceIdentifier, typeIdentifier); _lastLinqQueryContext = null; yield break; }
/// <summary> /// Method to execute a SPARQL query against the underlying store and bind its results to instances of a class /// </summary> /// <typeparam name="T">The type that the SPARQL query results are to be bound to</typeparam> /// <param name="sparqlLinqQueryContext">The context object that specifies the SPARQL query and constructor and member mappings</param> /// <returns>An enumeration over the bound result objects</returns> public abstract IEnumerable <T> ExecuteQuery <T>(SparqlLinqQueryContext sparqlLinqQueryContext);