KeysInitQuery: {
    baseIRI: ActionContextKey<string>;
    cliArgsHandlers: ActionContextKey<ICliArgsHandler[]>;
    explain: ActionContextKey<QueryExplainMode>;
    extensionFunctionCreator: ActionContextKey<((functionNamedNode) => undefined | ((args) => Promise<Term>))>;
    extensionFunctions: ActionContextKey<Record<string, ((args) => Promise<Term>)>>;
    functionArgumentsCache: ActionContextKey<FunctionArgumentsCache>;
    graphqlSingularizeVariables: ActionContextKey<any>;
    initialBindings: ActionContextKey<Bindings>;
    jsonLdContext: ActionContextKey<any>;
    lenient: ActionContextKey<boolean>;
    noCache: ActionContextKey<boolean>;
    physicalQueryPlanLogger: ActionContextKey<IPhysicalQueryPlanLogger>;
    physicalQueryPlanNode: ActionContextKey<any>;
    query: ActionContextKey<Operation>;
    queryFormat: ActionContextKey<QueryFormat>;
    querySourcesUnidentified: ActionContextKey<QuerySourceUnidentified[]>;
    queryString: ActionContextKey<string>;
    queryTimestamp: ActionContextKey<Date>;
} = ...

Type declaration

  • baseIRI: ActionContextKey<string>

    The query's base IRI.

  • cliArgsHandlers: ActionContextKey<ICliArgsHandler[]>

    Enables manipulation of the CLI arguments and their processing.

  • explain: ActionContextKey<QueryExplainMode>

    Explain mode of the query. Can be 'parsed', 'logical', or 'physical'.

  • extensionFunctionCreator: ActionContextKey<((functionNamedNode) => undefined | ((args) => Promise<Term>))>

    Range

    Extension function creator for a given function IRI. Returned value should be an async function implementation. Undefined may be returned if no implementation exists for the given function IRI.

    The dictionary-based extensionFunctions context entry may be used instead, but not simultaneously.

  • extensionFunctions: ActionContextKey<Record<string, ((args) => Promise<Term>)>>

    Dictionary of extension functions. Key is the IRI of the function, and value is the async function implementation.

    The callback-based extensionFunctionCreator context entry may be used instead, but not simultaneously.

  • functionArgumentsCache: ActionContextKey<FunctionArgumentsCache>

    Object to cache function argument overload resolutions. Defaults to an object that is reused across query executions.

  • graphqlSingularizeVariables: ActionContextKey<any>

    Which GraphQL bindings should be singularized.

  • initialBindings: ActionContextKey<Bindings>

    Variables that have to be pre-bound to values in the query.

  • jsonLdContext: ActionContextKey<any>

    A JSON-LD context

  • lenient: ActionContextKey<boolean>

    If HTTP and parsing failures are ignored.

  • noCache: ActionContextKey<boolean>

    A boolean value denoting whether caching is disabled or not.

  • physicalQueryPlanLogger: ActionContextKey<IPhysicalQueryPlanLogger>

    Logs the used physical operators

  • physicalQueryPlanNode: ActionContextKey<any>

    The current physical operator within the query plan. This is used to pass parent-child relationships for invoking the query plan logger.

  • query: ActionContextKey<Operation>

    The original parsed query.

  • queryFormat: ActionContextKey<QueryFormat>

    The provided query's format. Defaults to { language: 'sparql', version: '1.1' }

  • querySourcesUnidentified: ActionContextKey<QuerySourceUnidentified[]>

    The unidentified sources to query over.

  • queryString: ActionContextKey<string>

    The original query string.

  • queryTimestamp: ActionContextKey<Date>

    A timestamp representing the current time. This is required for certain SPARQL operations such as NOW().