trustgraph/tests/unit/test_retrieval
cybermaggedon e81418c58f
fix: preserve literal types in focus quoted triples and document tracing (#769)
The triples client returns Uri/Literal (str subclasses), not Term
objects.  _quoted_triple() treated all values as IRIs, so literal
objects like skos:definition values were mistyped in focus
provenance events, and trace_source_documents could not match
them in the store.

Added to_term() to convert Uri/Literal back to Term, threaded a
term_map from follow_edges_batch through
get_subgraph/get_labelgraph into uri_map, and updated
_quoted_triple to accept Term objects directly.
2026-04-08 13:37:02 +01:00
..
test_structured_diag Pub/sub abstraction: decouple from Pulsar (#751) 2026-04-01 20:16:53 +01:00
test_document_rag.py Enhance retrieval pipelines: 4-stage GraphRAG, DocRAG grounding (#697) 2026-03-16 12:12:13 +00:00
test_document_rag_provenance_integration.py Forward missing explain_triples through RAG clients and agent tool callback (#768) 2026-04-08 11:41:17 +01:00
test_document_rag_service.py Add unified explainability support and librarian storage for (#693) 2026-03-12 21:40:09 +00:00
test_graph_rag.py fix: preserve literal types in focus quoted triples and document tracing (#769) 2026-04-08 13:37:02 +01:00
test_graph_rag_explain_forwarding.py Forward missing explain_triples through RAG clients and agent tool callback (#768) 2026-04-08 11:41:17 +01:00
test_graph_rag_provenance_integration.py Forward missing explain_triples through RAG clients and agent tool callback (#768) 2026-04-08 11:41:17 +01:00
test_graph_rag_service.py GraphRAG Query-Time Explainability (#677) 2026-03-10 10:00:01 +00:00
test_nlp_query.py Fix/sys integration issues (#494) 2025-09-05 08:38:15 +01:00
test_structured_query.py Structured data 2 (#645) 2026-02-23 15:56:29 +00:00