mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
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.
7 lines
231 B
Python
7 lines
231 B
Python
|
|
RDF_TYPE = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
|
|
RDF_LABEL = "http://www.w3.org/2000/01/rdf-schema#label"
|
|
DEFINITION = "http://www.w3.org/2004/02/skos/core#definition"
|
|
|
|
TRUSTGRAPH_ENTITIES = "http://trustgraph.ai/e/"
|
|
|