Plan a SPARQL ontology query
Useontology__get_query_plan to resolve a read-only SPARQL 1.1 SELECT
query against one exact immutable ontology release.
- Required inputs:
release_idandquery. - Optional inputs:
max_operations,include_definitions,session_id, and Gateway’srationale. - Limits:
queryis at most 65,536 bytes andmax_operationsis 1-256. The default operation limit is 128. - Effect: read only.
include_definitions to true only when the caller needs the
matching logical definitions in resolved_resources.
SERVICE.
Ontology-metadata queries return is_executable: false with a planning_only
diagnostic. Instance-data queries also return requires_bindings: true.
The exact release is the dataset. Queries that declare FROM or FROM NAMED,
non-SELECT operations, unsupported graph patterns, or plans outside the
bounds return an error instead of a partial executable result.