Question: What is the title of the written work whose narrative location is Memphis?
Choices:
Helen
Il nome della rosa
David Copperfield
Mary and Max
The Firm
The Portrait of a Lady
Contraband
Standing in the Shadows of Motown
Good Night, and Good Luck.
When We Were Kings
Answer: The Firm
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Memphis" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Memphis
function: Relate
dependencies: 0
inputs: narrative location
backward
function: FilterConcept
dependencies: 1
inputs: written work
function: QueryAttr
dependencies: 2
inputs: title