generated from kevinxin90/typescript_template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
templates: add templates, not used for now
requires more dev review to decide whether to add to templateGroups
- Loading branch information
Showing
9 changed files
with
254 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
data/templates/Chem-decreases-Gene/Chem-negatively_correlated-Gene.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"message": { | ||
"query_graph": { | ||
"nodes": { | ||
"creativeQuerySubject": { | ||
"categories":["biolink:ChemicalEntity"] | ||
}, | ||
"creativeQueryObject": { | ||
"categories":["biolink:Gene", "biolink:Protein"] | ||
} | ||
}, | ||
"edges": { | ||
"eA": { | ||
"subject": "creativeQuerySubject", | ||
"object": "creativeQueryObject", | ||
"predicates": ["biolink:negatively_correlated_with"] | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
data/templates/Chem-increases-Gene/Chem-positively_correlated-Gene.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"message": { | ||
"query_graph": { | ||
"nodes": { | ||
"creativeQuerySubject": { | ||
"categories":["biolink:ChemicalEntity"] | ||
}, | ||
"creativeQueryObject": { | ||
"categories":["biolink:Gene", "biolink:Protein"] | ||
} | ||
}, | ||
"edges": { | ||
"eA": { | ||
"subject": "creativeQuerySubject", | ||
"object": "creativeQueryObject", | ||
"predicates": ["biolink:positively_correlated_with"] | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...Disease/Chem-interacts,correlated,associated-Gene-biomarker,associated_condition-DoP.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:interacts_with", "biolink:correlated_with", "biolink:associated_with"] | ||
}, | ||
"eB": { | ||
"subject": "nA", | ||
"object": "creativeQueryObject", | ||
"predicates": [ | ||
"biolink:gene_associated_with_condition", | ||
"biolink:biomarker_for" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
data/templates/Drug-treats-Disease/Chem-treats-DoP-causes,part-DoP.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:DiseaseOrPhenotypicFeature"], | ||
"is_set": true | ||
}, | ||
"creativeQueryObject": { | ||
"categories":["biolink:DiseaseOrPhenotypicFeature"] | ||
} | ||
}, | ||
"edges": { | ||
"eA": { | ||
"subject": "creativeQuerySubject", | ||
"object": "nA", | ||
"predicates": ["biolink:treats"] | ||
}, | ||
"eB": { | ||
"subject": "nA", | ||
"object": "creativeQueryObject", | ||
"predicates": [ | ||
"biolink:part_of", | ||
"biolink:causes" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
data/templates/Drug-treats-Disease/Chem-treats-DoP-similar,part-DoP.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:DiseaseOrPhenotypicFeature"], | ||
"is_set": true | ||
}, | ||
"creativeQueryObject": { | ||
"categories":["biolink:DiseaseOrPhenotypicFeature"] | ||
} | ||
}, | ||
"edges": { | ||
"eA": { | ||
"subject": "creativeQuerySubject", | ||
"object": "nA", | ||
"predicates": ["biolink:treats"] | ||
}, | ||
"eB": { | ||
"subject": "creativeQueryObject", | ||
"object": "nA", | ||
"predicates": [ | ||
"biolink:similar_to", | ||
"biolink:has_part" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
data/templates/Drug-treats-Disease/ChemDecreasesLikelihood-Disease.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"message": { | ||
"query_graph": { | ||
"nodes": { | ||
"creativeQuerySubject": { | ||
"categories": | ||
["ChemicalEntity"] | ||
}, | ||
"creativeQueryObject": { | ||
"categories":["biolink:DiseaseOrPhenotypicFeature"] | ||
} | ||
}, | ||
"edges": { | ||
"eA": { | ||
"subject": "creativeQuerySubject", | ||
"object": "creativeQueryObject", | ||
"qualifier_constraints": [ | ||
{ | ||
"qualifier_set": [ | ||
{ | ||
"qualifier_type_id": "biolink:object_direction_qualifier", | ||
"qualifier_value": "decreased" | ||
}, | ||
{ | ||
"qualifier_type_id": "biolink:object_aspect_qualifier", | ||
"qualifier_value": "likelihood" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
data/templates/NonChem-treats-Disease/NonChem-treats-DoP.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"message": { | ||
"query_graph": { | ||
"nodes": { | ||
"creativeQuerySubject": { | ||
"categories": | ||
["biolink:Procedure", "biolink:Treatment", "biolink:ClinicalIntervention"] | ||
}, | ||
"creativeQueryObject": { | ||
"categories":["biolink:DiseaseOrPhenotypicFeature"] | ||
} | ||
}, | ||
"edges": { | ||
"eA": { | ||
"subject": "creativeQuerySubject", | ||
"object": "creativeQueryObject", | ||
"predicates": ["biolink:treats"] | ||
} | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
data/templates/NonChem-treats-Disease/Procedure-decreasesLikelihood-Disease.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"message": { | ||
"query_graph": { | ||
"nodes": { | ||
"creativeQuerySubject": { | ||
"categories": | ||
["Procedure"] | ||
}, | ||
"creativeQueryObject": { | ||
"categories":["biolink:DiseaseOrPhenotypicFeature"] | ||
} | ||
}, | ||
"edges": { | ||
"eA": { | ||
"subject": "creativeQuerySubject", | ||
"object": "creativeQueryObject", | ||
"qualifier_constraints": [ | ||
{ | ||
"qualifier_set": [ | ||
{ | ||
"qualifier_type_id": "biolink:object_direction_qualifier", | ||
"qualifier_value": "decreased" | ||
}, | ||
{ | ||
"qualifier_type_id": "biolink:object_aspect_qualifier", | ||
"qualifier_value": "likelihood" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
data/templates/NonChem-treats-Disease/Treatment-related_to-DoP.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"message": { | ||
"query_graph": { | ||
"nodes": { | ||
"creativeQuerySubject": { | ||
"categories":["biolink:Treatment"] | ||
}, | ||
"creativeQueryObject": { | ||
"categories":["biolink:DiseaseOrPhenotypicFeature"] | ||
} | ||
}, | ||
"edges": { | ||
"eA": { | ||
"subject": "creativeQuerySubject", | ||
"object": "creativeQueryObject", | ||
"predicates": ["biolink:related_to"] | ||
} | ||
} | ||
} | ||
} | ||
} |