Question: For the disease whose ICD-9-CM is 060.9, how many symptoms are its symptoms?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "symptom" . ?e_1 <symptoms> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "disease" . ?e_1 <ICD-9-CM> ?pv . ?pv <pred:value> "060.9" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-9-CM
060.9
function: FilterConcept
dependencies: 1
inputs: disease
function: Relate
dependencies: 2
inputs: symptoms
forward
function: FilterConcept
dependencies: 3
inputs: symptom
function: Count
dependencies: 4
Answer: 4