Question: How many symptoms with ICD-10 R63.0 or that caused the death of Muhammad?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "symptom" .  { ?e <ICD-10> ?pv . ?pv <pred:value> "R63.0" .  } UNION { ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> "Muhammad" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-10
R63.0
function: FilterConcept
dependencies: 1
inputs: symptom
function: Find
inputs: Muhammad
function: Relate
dependencies: 3
inputs: cause of death
forward
function: FilterConcept
dependencies: 4
inputs: symptom
function: Or
dependencies: 2
5
function: Count
dependencies: 6