Skip to main content

run_sparql_query

Function run_sparql_query 

Source
pub fn run_sparql_query(vault: &Path, query_str: &str)
Expand description

Execute a SPARQL (or SPARQL-Star) query string against a .q42 vault.

Range operators are tried first. Vaults larger than [RESIDENT_QUERY_MAX_BYTES] never call read_q42_quins / read_all_quins; they fail if no range plan applies. Smaller files may still use the resident executor.