Question: Which human plays the character role of Solitaire as a cast member of Live and Let Die (whose narrative location is New York City)?
Choices:
Paul Simon
Richard Gere
William Henry Harrison
Rahul Dev Burman
Roger Moore
James E. Reilly
David Byrne
Simon Cowell
Max Fleischer
Jane Seymour
Answer: Jane Seymour
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Live and Let Die" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> "New York City" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Solitaire" .  }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Live and Let Die
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: QFilterStr
dependencies: 4
inputs: character role
Solitaire
function: FilterConcept
dependencies: 5
inputs: human
function: What
dependencies: 6