/// This is similar to `prepare_query`, but useful if a SPARQL query has already been parsed, which is the case when building `ServiceHandler`s for federated queries with `SERVICE` clauses. For examples, look in the tests.
/// Prepares a [SPARQL 1.1 query](https://www.w3.org/TR/sparql11-query/) and returns an object that could be used to execute it.
///
/// See `MemoryStore` for a usage example.
pubfnprepare_query<'a>(
&'aself,
query: &str,
options: QueryOptions<'_>,
pubfnprepare_query(
&self,
query: implTryInto<Query,Error=implInto<Error>>,
options: QueryOptions,
)-> Result<SledPreparedQuery>{
Ok(SledPreparedQuery(SimplePreparedQuery::new(
(*self).clone(),
@ -100,10 +100,10 @@ impl SledStore {
}
/// This is similar to `prepare_query`, but useful if a SPARQL query has already been parsed, which is the case when building `ServiceHandler`s for federated queries with `SERVICE` clauses. For examples, look in the tests.