Question: What is the connection between Alice in Wonderland (the one that has Gene Wilder as a cast member) to Jason Flemyng?
Choices:
located in the administrative territorial entity
director/manager
source of material
cast member
month of the year
political ideology
material used
chief executive officer
airline alliance
contributor(s) to the creative work
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alice in Wonderland" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Gene Wilder" . ?e_2 <pred:name> "Jason Flemyng" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gene Wilder
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: Jason Flemyng
function: QueryRelation
dependencies: 3
4