trustgraph/tests/unit/test_knowledge_graph
cybermaggedon e6623fc915
Remove schema:subjectOf edges from KG extraction (#695)
The subjectOf triples were redundant with the subgraph provenance model
introduced in e8407b34. Entity-to-source lineage can be traced via
tg:contains -> subgraph -> prov:wasDerivedFrom -> chunk, making the
direct subjectOf edges unnecessary metadata polluting the knowledge graph.

Removed from all three extractors (agent, definitions, relationships),
cleaned up the SUBJECT_OF constant and vocabulary label, and updated
tests accordingly.
2026-03-13 12:11:21 +00:00
..
__init__.py Extending test coverage (#434) 2025-07-14 17:54:04 +01:00
conftest.py The id field in pipeline Metadata was being overwritten at each processing (#686) 2026-03-11 12:16:39 +00:00
test_agent_extraction.py Remove schema:subjectOf edges from KG extraction (#695) 2026-03-13 12:11:21 +00:00
test_agent_extraction_edge_cases.py Remove schema:subjectOf edges from KG extraction (#695) 2026-03-13 12:11:21 +00:00
test_entity_extraction.py Extending test coverage (#434) 2025-07-14 17:54:04 +01:00
test_graph_validation.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00
test_object_extraction_logic.py Remove redundant metadata (#685) 2026-03-11 10:51:39 +00:00
test_object_validation.py Structured data 2 (#645) 2026-02-23 15:56:29 +00:00
test_relationship_extraction.py Extending test coverage (#434) 2025-07-14 17:54:04 +01:00
test_triple_construction.py Remove redundant metadata (#685) 2026-03-11 10:51:39 +00:00