Skip to content

Commit

Permalink
templates: refine for treats-templates with gene intermediates
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenXu committed Aug 16, 2023
1 parent f62446b commit 182c0e1
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 2 deletions.
6 changes: 4 additions & 2 deletions data/templateGroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
],
"templates": [
"Chem-treats-DoP.json",
"Chem-regulates,affects-Gene-cause,contribute,affects-DoP.json",
"Chem-treats-PhenoOfDisease.json"
"Chem-decreaseGeneWithFunctionGainIn-Disease.json",
"Chem-increaseGeneWithFunctionLossIn-Disease.json",
"Chem-treats-PhenoOfDisease.json",
"Chem-regulates,affects-Gene-biomarker,associated_condition-DoP.json"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"message": {
"query_graph": {
"nodes": {
"creativeQuerySubject": {
"categories":["biolink:ChemicalEntity"]
},
"nA": {
"categories":["biolink:Gene"],
"is_set": true
},
"creativeQueryObject": {
"categories":["biolink:DiseaseOrPhenotypicFeature"]
}
},
"edges": {
"eA": {
"subject": "creativeQuerySubject",
"object": "nA",
"qualifier_constraints": [
{
"qualifier_set": [
{
"qualifier_type_id": "biolink:object_direction_qualifier",
"qualifier_value": "decreased"
},
{
"qualifier_type_id": "biolink:object_aspect_qualifier",
"qualifier_value": "activity_or_abundance"
}
]
}
]
},
"eB": {
"subject": "nA",
"object": "creativeQueryObject",
"qualifier_constraints": [
{
"qualifier_set": [
{
"qualifier_type_id": "biolink:subject_form_or_variant_qualifier",
"qualifier_value": "gain_of_function_variant_form"
}
]
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"message": {
"query_graph": {
"nodes": {
"creativeQuerySubject": {
"categories":["biolink:ChemicalEntity"]
},
"nA": {
"categories":["biolink:Gene"],
"is_set": true
},
"creativeQueryObject": {
"categories":["biolink:DiseaseOrPhenotypicFeature"]
}
},
"edges": {
"eA": {
"subject": "creativeQuerySubject",
"object": "nA",
"qualifier_constraints": [
{
"qualifier_set": [
{
"qualifier_type_id": "biolink:object_direction_qualifier",
"qualifier_value": "increased"
},
{
"qualifier_type_id": "biolink:object_aspect_qualifier",
"qualifier_value": "activity_or_abundance"
}
]
}
]
},
"eB": {
"subject": "nA",
"object": "creativeQueryObject",
"qualifier_constraints": [
{
"qualifier_set": [
{
"qualifier_type_id": "biolink:subject_form_or_variant_qualifier",
"qualifier_value": "loss_of_function_variant_form"
}
]
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"message": {
"query_graph": {
"nodes": {
"creativeQuerySubject": {
"categories":["biolink:ChemicalEntity"]
},
"nA": {
"categories":["biolink:Gene"],
"is_set": true
},
"creativeQueryObject": {
"categories":["biolink:DiseaseOrPhenotypicFeature"]
}
},
"edges": {
"eA": {
"subject": "creativeQuerySubject",
"object": "nA",
"predicates": ["biolink:regulates", "biolink:affects"]
},
"eB": {
"subject": "nA",
"object": "creativeQueryObject",
"predicates": [
"biolink:gene_associated_with_condition",
"biolink:biomarker_for"
]
}
}
}
}
}

0 comments on commit 182c0e1

Please sign in to comment.