From 46e829894a1598700b69cdbc1f71e8112bdcf049 Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Fri, 12 Apr 2024 12:49:58 -0400 Subject: [PATCH] fix: biolink prefix --- src/graph/graph.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graph/graph.ts b/src/graph/graph.ts index 6657ce16..2124882e 100644 --- a/src/graph/graph.ts +++ b/src/graph/graph.ts @@ -105,10 +105,10 @@ export default class BTEGraph { this.edges[recordHash].addAdditionalAttributes(item, record.mappedResponse[item]); }); if (record.knowledge_level) { - this.edges[recordHash].addAdditionalAttributes('knowledge_level', record.knowledge_level); + this.edges[recordHash].addAdditionalAttributes('biolink:knowledge_level', record.knowledge_level); } if (record.agent_type) { - this.edges[recordHash].addAdditionalAttributes('agent_type', record.agent_type); + this.edges[recordHash].addAdditionalAttributes('biolink:agent_type', record.agent_type); } this.edges[recordHash].addSource(record.provenanceChain); Object.entries(record.qualifiers).forEach(([qualifierType, qualifier]) => {