Question: Gladiator, an Academy Award nominee for Best Writing, Original Screenplay, is about which capital?
Choices:
Budapest
Rome
Sarajevo
Doha
Mexico City
Paris
Lausanne
Nicosia
Riga
Moscow
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Gladiator
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: capital
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Gladiator" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" .   }
Answer: Rome