Question: How is Martin Balsam related to Rome which is the working location of Benito Mussolini?
Choices:
narrative location
voice actor
legal form
depicted by
place of death
drafted by
afflicts
time period
religion
art director
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Martin Balsam" . ?e_2 <pred:name> "Rome" . ?e_3 <work_location> ?e_2 . ?e_3 <pred:name> "Benito Mussolini" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Martin Balsam
function: Find
inputs: Benito Mussolini
function: Relate
dependencies: 1
inputs: work location
forward
function: Find
inputs: Rome
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4