Question: What is the connection between Grimsby (the one whose genre is adventure film) to Ian McShane (the one whose birth name is Ian David McShane)?
Choices: cast member
country of citizenship
diplomatic relation
territory overlaps
presenter
operator
different from
basin country
product or material produced
dialect of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Grimsby" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "adventure film" . ?e_2 <pred:name> "Ian McShane" . ?e_2 <birth_name> ?pv . ?pv <pred:value> "Ian David McShane" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Grimsby
function: And
dependencies: 1
2
function: Find
inputs: Ian McShane
function: FilterStr
dependencies: 4
inputs: birth name
Ian David McShane
function: QueryRelation
dependencies: 3
5
Answer: cast member