Question: How many medicines are prescribed by psychiatrists or fall into work field of Garl Gustav Jung?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: psychiatrist
function: Relate
dependencies: 0
inputs: practiced by
backward
function: FilterConcept
dependencies: 1
inputs: medicine
function: Find
inputs: Carl Gustav Jung
function: Relate
dependencies: 3
inputs: field of work
forward
function: FilterConcept
dependencies: 4
inputs: medicine
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> "medicine" .  { ?e <practiced_by> ?e_1 . ?e_1 <pred:name> "psychiatrist" .  } UNION { ?e_1 <field_of_work> ?e . ?e_1 <pred:name> "Carl Gustav Jung" .  } }
Answer: 1