Question: What is the capital that is the narrative location of Quo Vadis starring Deborah Kerr?
Choices:
Mexico City
Sarajevo
Moscow
Riga
Rome
New Delhi
Doha
Wellington
Fukuoka
Lausanne
Answer: Rome
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Quo Vadis" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Deborah Kerr" .   }
Program:
function: Find
inputs: Deborah Kerr
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Quo Vadis
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: capital
function: What
dependencies: 5