Question: How is the Hamlet from France related to Stephen Dillane?
Choices: home world
maintained by
writing system
official residence
diaspora
cast member
material used
distribution
director/manager
officeholder
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "Stephen Dillane" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: Find
inputs: Stephen Dillane
function: QueryRelation
dependencies: 3
4
Answer: cast member