From 9b1bed2a2079d4c4ca208a50eeb15964d6d1c13e Mon Sep 17 00:00:00 2001 From: Gaurav Vaidya Date: Thu, 19 May 2022 14:19:34 -0400 Subject: [PATCH] Added note re: cache. --- src/main/scala/org/renci/cam/QueryService.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/scala/org/renci/cam/QueryService.scala b/src/main/scala/org/renci/cam/QueryService.scala index 0f1cd1d2..67ed0735 100644 --- a/src/main/scala/org/renci/cam/QueryService.scala +++ b/src/main/scala/org/renci/cam/QueryService.scala @@ -566,6 +566,8 @@ object QueryService extends LazyLogging { nodeMap } + // TODO: + // - Change this to cached queries (see mapQueryBiolinkPredicatesToRelations for example) def mapRelationsToLabelAndBiolink(relations: Set[IRI]): RIO[ZConfig[AppConfig] with HttpClient, Map[IRI, (Option[String], IRI)]] = { final case class RelationInfo(relation: IRI, biolinkSlot: IRI, label: Option[String]) val queryText = sparql"""