Question: How many diseases either have the ICD-10-CM of F43.1 or were the main subject of Salmon Fishing in the Yemen?
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> "disease" .  { ?e <ICD-10-CM> ?pv . ?pv <pred:value> "F43.1" .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Salmon Fishing in the Yemen" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-10-CM
F43.1
function: FilterConcept
dependencies: 1
inputs: disease
function: Find
inputs: Salmon Fishing in the Yemen
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2