Question: How many medicines are associated with the person who was in The Ring which depicted World War II?
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 <field_of_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "The Ring" . ?e_2 <main_subject> ?e_3 . ?e_3 <pred:name> "World War II" .   }
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: The Ring
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: field of work
forward
function: FilterConcept
dependencies: 6
inputs: medicine
function: Count
dependencies: 7