Question: What are the number of  infectious diseases whose ICD-10 is J16 or whose symptom is jaundice ?
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 <ICD-10> ?pv . ?pv <pred:value> "J16" .  } UNION { ?e_1 <symptom_of> ?e . ?e_1 <pred:name> "jaundice" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-10
J16
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: Find
inputs: jaundice
function: Relate
dependencies: 3
inputs: symptom of
forward
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6