Question: Jane Seymour is cast as which character on Live and Let Die, set in the Caribbean?
Choices:
Doc Hudson
Piter De Vries
Jennifer Mack
Count Paris
Raymond III
Sydney Bristow
Solitaire
Big Nose
Mark Tuso
Betty Draper
Answer: Solitaire
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Live and Let Die" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Caribbean" . ?e_2 <pred:name> "Jane Seymour" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Caribbean
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Live and Let Die
function: And
dependencies: 1
2
function: Find
inputs: Jane Seymour
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role