Skip to main content

Module daemon_query

Module daemon_query 

Source
Expand description

Shared query execution for HTTP /query, MCP query_sparql, and WS /qualia-bridge.

Routes full SPARQL (SELECT/ASK/PREFIX/RDF-Star) through sparql_library; simple N-Triples patterns continue to use the bytecode fast path.

Structs§

SparqlQueryStats

Enums§

QueryEngine
QueryExecError

Constants§

QUERY_OUT_SLOTS

Functions§

detect_query_engine
Detect whether a query should use the SPARQL library instead of the bytecode VM.
execute_ntriples_metrics
Metrics-only path for WebSocket benchmarks (no result serialisation).
execute_ntriples_pattern_on_graph
Compile and run a single N-Triples pattern against graph.
execute_query_on_graph
Unified graph query entry point.
execute_sparql_on_graph
Execute SPARQL SELECT/ASK via the library planner + executor.
make_star_annotation
Build RDF-Star annotation quins for tests: <<s p o>> ann pred val.