Question: Dr. Strangelove, with a story set in Washington, D.C., goes by what title?
Choices:
Schindler's List
Dr. Strangelove
Blade: Trinity
Transamerica
Carson City
The Nightmare Before Christmas
Quills
The Rules of Attraction
Timeline
The World Is Not Enough
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Dr. Strangelove
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Dr. Strangelove" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Washington, D.C." .  ?e <title> ?pv .  }
Answer: Dr. Strangelove