Question: What is the number of medicine that studies Bubonic plague and that is the occupation psychiatrist field
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medicine" . ?e_1 <studied_by> ?e . ?e_1 <pred:name> "bubonic plague" .  ?e_2 <field_of_this_occupation> ?e . ?e_2 <pred:name> "psychiatrist" .  }
Program:
function: Find
inputs: bubonic plague
function: Relate
dependencies: 0
inputs: studied by
forward
function: FilterConcept
dependencies: 1
inputs: medicine
function: Find
inputs: psychiatrist
function: Relate
dependencies: 3
inputs: field of this occupation
forward
function: FilterConcept
dependencies: 4
inputs: medicine
function: And
dependencies: 2
5
function: Count
dependencies: 6