Question: What person plays the character role of Red Grant as a cast member in the film whose narrative location Zagreb?
Choices:
Rahul Dev Burman
Sylvester Stallone
Max Fleischer
William Henry Harrison
Sean Connery
Richard Gere
David Byrne
Robert Shaw
James E. Reilly
Paul Simon
Program:
function: Find
inputs: Zagreb
function: Relate
dependencies: 0
inputs: narrative location
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Relate
dependencies: 2
inputs: cast member
forward
function: QFilterStr
dependencies: 3
inputs: character role
Red Grant
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> "Zagreb" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Red Grant" .  }
Answer: Robert Shaw