Question: What is the link between Alice in Wonderland (that has Jason Flemyng as a cast member) and Martin Short?
Choices:
cast member
noble title
mother
game mode
position held
place of birth
filmography
owned by
start point
medical condition
Program:
function: Find
inputs: Jason Flemyng
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: Martin Short
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alice in Wonderland" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jason Flemyng" . ?e_2 <pred:name> "Martin Short" . ?e_1 ?p ?e_2 .  }
Answer: cast member