diff --git a/data/templateGroups.json b/data/templateGroups.json index 237813ea..14ddfb62 100644 --- a/data/templateGroups.json +++ b/data/templateGroups.json @@ -10,6 +10,8 @@ ], "templates": [ "Chem-treats-DoP.json", + "Chem-applied_to_treat-DoP.json", + "Chem-in_clinical_trials_for-DoP.json", "Chem-treats-PhenoOfDisease.json", "Chem-regulates,affects-Gene-biomarker,associated_condition-DoP.json" ] diff --git a/data/templates/Drug-treats-Disease/Chem-applied_to_treat-DoP.json b/data/templates/Drug-treats-Disease/Chem-applied_to_treat-DoP.json new file mode 100644 index 00000000..807c0487 --- /dev/null +++ b/data/templates/Drug-treats-Disease/Chem-applied_to_treat-DoP.json @@ -0,0 +1,31 @@ +{ + "message": { + "query_graph": { + "nodes": { + "creativeQuerySubject": { + "categories":["biolink:ChemicalEntity"] + }, + "creativeQueryObject": { + "categories":["biolink:DiseaseOrPhenotypicFeature"] + } + }, + "edges": { + "eA": { + "subject": "creativeQuerySubject", + "object": "creativeQueryObject", + "predicates": [ + "biolink:applied_to_treat" + ], + "attribute_constraints": [ + { + "name": "evidence_count_constraint", + "id": "biolink:evidence_count", + "operator": ">", + "value": 20 + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/data/templates/Drug-treats-Disease/Chem-in_clinical_trials_for-DoP.json b/data/templates/Drug-treats-Disease/Chem-in_clinical_trials_for-DoP.json new file mode 100644 index 00000000..44ff997a --- /dev/null +++ b/data/templates/Drug-treats-Disease/Chem-in_clinical_trials_for-DoP.json @@ -0,0 +1,31 @@ +{ + "message": { + "query_graph": { + "nodes": { + "creativeQuerySubject": { + "categories":["biolink:ChemicalEntity"] + }, + "creativeQueryObject": { + "categories":["biolink:DiseaseOrPhenotypicFeature"] + } + }, + "edges": { + "eA": { + "subject": "creativeQuerySubject", + "object": "creativeQueryObject", + "predicates": [ + "biolink:applied_to_treat" + ], + "attribute_constraints": [ + { + "id": "elevate_to_prediction", + "name": "boolean_make_prediction_constraint", + "operator": "==", + "value": "True" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/data/templates/Drug-treats-Disease/Chem-treats-DoP.json b/data/templates/Drug-treats-Disease/Chem-treats-DoP.json index 663d467b..c99917aa 100644 --- a/data/templates/Drug-treats-Disease/Chem-treats-DoP.json +++ b/data/templates/Drug-treats-Disease/Chem-treats-DoP.json @@ -13,7 +13,9 @@ "eA": { "subject": "creativeQuerySubject", "object": "creativeQueryObject", - "predicates": ["biolink:treats_or_applied_or_studied_to_treat"] + "predicates": [ + "biolink:treats" + ] } } }