Question: UMLS CUI C0018681 designates the symptom indicative of how many medical maladies?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "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> "C0018681" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: UMLS CUI
C0018681
function: FilterConcept
dependencies: 1
inputs: symptom
function: Relate
dependencies: 2
inputs: symptom of
forward
function: FilterConcept
dependencies: 3
inputs: disease
function: Count
dependencies: 4