trustgraph/specs/api/paths/flow
cybermaggedon d9dc4cbab5
SPARQL query service (#754)
SPARQL 1.1 query service wrapping pub/sub triples interface

Add a backend-agnostic SPARQL query service that parses SPARQL
queries using rdflib, decomposes them into triple pattern lookups
via the existing TriplesClient pub/sub interface, and performs
in-memory joins, filters, and projections.

Includes:
- SPARQL parser, algebra evaluator, expression evaluator, solution
  sequence operations (BGP, JOIN, OPTIONAL, UNION, FILTER, BIND,
  VALUES, GROUP BY, ORDER BY, LIMIT/OFFSET, DISTINCT, aggregates)
- FlowProcessor service with TriplesClientSpec
- Gateway dispatcher, request/response translators, API spec
- Python SDK method (FlowInstance.sparql_query)
- CLI command (tg-invoke-sparql-query)
- Tech spec (docs/tech-specs/sparql-query.md)

New unit tests for SPARQL query
2026-04-02 17:21:39 +01:00
..
agent.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
document-embeddings.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
document-load.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
document-rag.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
embeddings.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
graph-embeddings.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
graph-rag.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
mcp-tool.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
nlp-query.yaml Structured data 2 (#645) 2026-02-23 15:56:29 +00:00
prompt.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
row-embeddings.yaml Row embeddings APIs exposed (#646) 2026-02-23 21:52:56 +00:00
rows.yaml Structured data 2 (#645) 2026-02-23 15:56:29 +00:00
sparql-query.yaml SPARQL query service (#754) 2026-04-02 17:21:39 +01:00
structured-diag.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
structured-query.yaml Structured data 2 (#645) 2026-02-23 15:56:29 +00:00
text-completion.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00
text-load.yaml fix(gateway): accept raw utf-8 text in text-load (#729) 2026-03-30 17:00:10 +01:00
triples.yaml REST API OpenAPI spec (#612) 2026-01-15 11:04:37 +00:00