Question: Great Expectations, featuring Robbie Coltrane as a cast member, has what connection to Russia?
Choices:
worshipped by
film release region
illustrator
public holiday
highest judicial authority
natural product of taxon
genre
present in work
organizer
license
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Great Expectations" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Robbie Coltrane" . ?e_2 <pred:name> "Russia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robbie Coltrane
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 1
2
function: Find
inputs: Russia
function: QueryRelation
dependencies: 3
4