From b95118b15e0a3c9ddb40653a045c5321323ce948 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 29 Oct 2024 21:16:01 +0000 Subject: [PATCH] Fixed graph label metadata confusion, was created incorrect subjectOf edges. --- trustgraph-flow/trustgraph/extract/kg/relationships/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trustgraph-flow/trustgraph/extract/kg/relationships/extract.py b/trustgraph-flow/trustgraph/extract/kg/relationships/extract.py index 4daf6859..d2dea062 100755 --- a/trustgraph-flow/trustgraph/extract/kg/relationships/extract.py +++ b/trustgraph-flow/trustgraph/extract/kg/relationships/extract.py @@ -189,7 +189,7 @@ class Processor(ConsumerProducer): # 'Subject of' for o triples.append(Triple( s=o_value, - p=RDF_LABEL_VALUE, + p=SUBJECT_OF_VALUE, o=Value(value=v.metadata.id, is_uri=True) ))