From f7db1d3fd37b17e02799f7cc143dee7344e4b48f Mon Sep 17 00:00:00 2001 From: ugur Date: Tue, 2 Jul 2024 13:51:43 +0300 Subject: [PATCH] Updated annotated property name --- pandasaurus_cxg/graph_generator/graph_generator.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pandasaurus_cxg/graph_generator/graph_generator.py b/pandasaurus_cxg/graph_generator/graph_generator.py index 8fba3fb..6c65edc 100644 --- a/pandasaurus_cxg/graph_generator/graph_generator.py +++ b/pandasaurus_cxg/graph_generator/graph_generator.py @@ -264,9 +264,7 @@ def add_metadata_nodes(self, metadata_fields: List[str]): bnode_axiom = BNode() self.graph.add((bnode_axiom, RDF.type, OWL.Axiom)) self.graph.add((bnode_axiom, OWL.annotatedSource, s)) - self.graph.add( - (bnode_axiom, OWL.annotatedProperty, self.ns["has_" + metadata]) - ) + self.graph.add((bnode_axiom, OWL.annotatedProperty, self.ns[metadata])) self.graph.add((bnode_axiom, OWL.annotatedTarget, annotated_target)) self.graph.add( (