public override SemWeb.Query.MetaQueryResult MetaQuery(Statement[] graph, SemWeb.Query.QueryOptions options, SelectableSource targetModel) { QueryCheckArg(graph); SemWeb.Query.MetaQueryResult ret = new SemWeb.Query.MetaQueryResult(); ret.QuerySupported = true; // TODO: Best to check also whether variables in the query are even known to us. return(ret); }
/// <summary> /// Returns a Meta Result that says that the Query is supported /// </summary> /// <param name="graph">Graph Pattern</param> /// <param name="options">Query Options</param> /// <returns></returns> /// <remarks> /// <para> /// The method does not actually do any analysis of the query, it assumes that all Graph Patterns expressible in SemWeb statement templates can be transformed to a SPARQL Algebra BGP (which generally they can) /// </para> /// </remarks> public SW.Query.MetaQueryResult MetaQuery(Statement[] graph, SW.Query.QueryOptions options) { SW.Query.MetaQueryResult metaResult = new SW.Query.MetaQueryResult(); metaResult.QuerySupported = true; return metaResult; }
/// <summary> /// Returns a Meta Result that says that the Query is supported /// </summary> /// <param name="graph">Graph Pattern</param> /// <param name="options">Query Options</param> /// <returns></returns> /// <remarks> /// <para> /// The method does not actually do any analysis of the query, it assumes that all Graph Patterns expressible in SemWeb statement templates can be transformed to a SPARQL Algebra BGP (which generally they can) /// </para> /// </remarks> public SW.Query.MetaQueryResult MetaQuery(Statement[] graph, SW.Query.QueryOptions options) { SW.Query.MetaQueryResult metaResult = new SW.Query.MetaQueryResult(); metaResult.QuerySupported = true; return(metaResult); }
public override SemWeb.Query.MetaQueryResult MetaQuery(Statement[] graph, SemWeb.Query.QueryOptions options, SelectableSource targetModel) { QueryCheckArg(graph); SemWeb.Query.MetaQueryResult ret = new SemWeb.Query.MetaQueryResult(); ret.QuerySupported = true; // TODO: Best to check also whether variables in the query are even known to us. return ret; }