Question: How is Alice in Wonderland (with Crispin Glover) related to Timothy Spall?
Choices:
history of topic
cast member
director of photography
has effect
convicted of
replaced by
appointed by
said to be the same as
from fictional universe
patron saint
Program:
function: Find
inputs: Crispin Glover
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: Timothy Spall
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> "Crispin Glover" . ?e_2 <pred:name> "Timothy Spall" . ?e_1 ?p ?e_2 .  }
Answer: cast member