Skip to content

Commit

Permalink
Updated annotated property name
Browse files Browse the repository at this point in the history
  • Loading branch information
ubyndr committed Jul 2, 2024
1 parent 2574af3 commit f7db1d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pandasaurus_cxg/graph_generator/graph_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
(
Expand Down

0 comments on commit f7db1d3

Please sign in to comment.