trustgraph/tests/unit/test_query
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
..
conftest.py Knowledge core processing updated for embeddings interface change (#681) 2026-03-10 13:28:16 +00:00
test_doc_embeddings_milvus_query.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_doc_embeddings_pinecone_query.py Knowledge core processing updated for embeddings interface change (#681) 2026-03-10 13:28:16 +00:00
test_doc_embeddings_qdrant_query.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_graph_embeddings_milvus_query.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_graph_embeddings_pinecone_query.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_graph_embeddings_qdrant_query.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_memgraph_user_collection_query.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00
test_neo4j_user_collection_query.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00
test_rows_cassandra_query.py Structured data 2 (#645) 2026-02-23 15:56:29 +00:00
test_sparql_expressions.py SPARQL query service (#754) 2026-04-02 17:21:39 +01:00
test_sparql_parser.py SPARQL query service (#754) 2026-04-02 17:21:39 +01:00
test_sparql_solutions.py SPARQL query service (#754) 2026-04-02 17:21:39 +01:00
test_triples_cassandra_query.py GraphRAG Query-Time Explainability (#677) 2026-03-10 10:00:01 +00:00
test_triples_falkordb_query.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00
test_triples_memgraph_query.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00
test_triples_neo4j_query.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00