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( (