Question: How many infectious diseases have the symptom which is the symptom whose UMLS CUI is C0027497?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "infectious disease" . ?e_1 <symptom_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "symptom" . ?e_1 <UMLS_CUI> ?pv . ?pv <pred:value> "C0027497" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: UMLS CUI
C0027497
function: FilterConcept
dependencies: 1
inputs: symptom
function: Relate
dependencies: 2
inputs: symptom of
forward
function: FilterConcept
dependencies: 3
inputs: infectious disease
function: Count
dependencies: 4