Skip to content

Commit

Permalink
convert examples to TRAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-hao committed Sep 17, 2020
1 parent 28288f0 commit fcd3ec8
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions TranslatorReasonersAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,30 @@
$ref: '#/definitions/QMessage'
additionalProperties: true
example:
query_options:
table: patient
year: 2010
cohort_features:
AgeStudyStart:
operator: "="
value: "0-2"
feature:
EstResidentialDensity:
operator: "<"
value: 1
maximum_p_value: 1
machine_question:
nodes:
- id: n00
type: population_of_individual_organisms
- id: n01
type: chemical_substance
edges:
- id: e00
type: association
source_id: n00
target_id: n01
message:
query_options:
table: patient
year: 2010
cohort_features:
AgeStudyStart:
operator: "="
value: "0-2"
feature:
EstResidentialDensity:
operator: "<"
value: 1
maximum_p_value: 1
query_graph:
nodes:
- id: n00
type: population_of_individual_organisms
- id: n01
type: chemical_substance
edges:
- id: e00
type: association
source_id: n00
target_id: n01
QueryOverlay:
x-body-name: request_body
type: object
Expand Down

0 comments on commit fcd3ec8

Please sign in to comment.