Question: How many infectious diseases have the ICD-9 code 486 or have fever as a symptom?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-9
486
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: Find
inputs: fever
function: Relate
dependencies: 3
inputs: symptoms
backward
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "infectious disease" .  { ?e <ICD-9> ?pv . ?pv <pred:value> "486" .  } UNION { ?e <symptoms> ?e_1 . ?e_1 <pred:name> "fever" .  } }
Answer: 3