SparqlQueryLogEntry: {
    durationMs: number;
    error?: string;
    id: string;
    query: string;
    queryKey?: string;
    queryType: SPARQLQueryType;
    timestamp: number;
}

Correlating TanStack Query keys with SPARQL log lines:

  • Tier A: semantic queryKey on datastore paths (see initSPARQLStore, sparql-schema/load).
  • Tier B: pass queryKey through more sparql-schema call sites.
  • Tier C: wrap queryFn with runWithSparqlQueryKey from @graviola/edb-core-utils (single-slot; parallel queries may mis-attribute).
  • Tier D: optional metadata on AbstractDatastore methods — only if you need strict parallelism.

Type declaration

  • durationMs: number
  • Optionalerror?: string
  • id: string
  • query: string
  • OptionalqueryKey?: string
  • queryType: SPARQLQueryType
  • timestamp: number