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
conftest.py
test_agent_extraction.py
test_agent_extraction_edge_cases.py
test_entity_extraction.py
test_graph_validation.py
test_object_extraction_logic.py
test_object_validation.py
test_relationship_extraction.py
test_triple_construction.py