From bedf9ebbfcda1051acc3c8cd99b1183e8dfccbd8 Mon Sep 17 00:00:00 2001 From: Colleen Xu Date: Wed, 18 Oct 2023 22:54:15 -0700 Subject: [PATCH] biothings ttd: fix field name subject.pubchem_compound --- ttd/smartapi.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ttd/smartapi.yaml b/ttd/smartapi.yaml index 14d5ff61..78a549c0 100644 --- a/ttd/smartapi.yaml +++ b/ttd/smartapi.yaml @@ -681,7 +681,7 @@ components: # requestBody: ## no prefix # body: >- # {"q": {{ queryInputs | replPrefix('association.predicate:"biolink:treats" - # AND (NOT _exists_:subject.pubchem) AND (NOT _exists:object.mondo) AND subject.chebi')| dump}}, + # AND (NOT _exists_:subject.pubchem_compound) AND (NOT _exists:object.mondo) AND subject.chebi')| dump}}, # "scopes": [] # } # outputs: @@ -713,7 +713,7 @@ components: # requestBody: ## no prefix # body: >- # {"q": {{ queryInputs | replPrefix('association.predicate:"biolink:treats" - # AND (NOT _exists_:subject.pubchem) AND (NOT _exists:object.mondo) AND object.icd11')| dump}}, + # AND (NOT _exists_:subject.pubchem_compound) AND (NOT _exists:object.mondo) AND object.icd11')| dump}}, # "scopes": [] # } # outputs: @@ -938,7 +938,7 @@ components: requestBody: ## no prefix body: >- {"q": {{ queryInputs | replPrefix('association.predicate:"biolink:treats" - AND (NOT _exists_:subject.pubchem) AND (NOT _exists_:object.mondo) AND subject.ttd_drug_id')| dump}}, + AND (NOT _exists_:subject.pubchem_compound) AND (NOT _exists_:object.mondo) AND subject.ttd_drug_id')| dump}}, "scopes": [] } outputs: @@ -970,7 +970,7 @@ components: requestBody: ## no prefix body: >- {"q": {{ queryInputs | replPrefix('association.predicate:"biolink:treats" - AND (NOT _exists_:subject.pubchem) AND (NOT _exists:object.mondo) AND object.icd11')| dump}}, + AND (NOT _exists_:subject.pubchem_compound) AND (NOT _exists:object.mondo) AND object.icd11')| dump}}, "scopes": [] } outputs: