Question: What number of diseases are a symptom of hepatitis or whose ICD-10 is F17?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: hepatitis
function: Relate
dependencies: 0
inputs: symptom of
backward
function: FilterConcept
dependencies: 1
inputs: disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: ICD-10
F17
function: FilterConcept
dependencies: 4
inputs: 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> "disease" .  { ?e <symptom_of> ?e_1 . ?e_1 <pred:name> "hepatitis" .  } UNION { ?e <ICD-10> ?pv . ?pv <pred:value> "F17" .  } }
Answer: 3