Question: What is the connection between The Chronicles of Narnia: The Lion, the Witch and the Wardrobe (the one that received 78th Academy Awards) to Michael Madsen (the one that is a cast member of Scary Movie 4)?
Choices:
league
capital
influenced by
located in time zone
cast member
twinned administrative body
sports season of league or competition
from fictional universe
head of government
composer
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "78th Academy Awards" . ?e_2 <pred:name> "Michael Madsen" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Scary Movie 4" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 78th Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
function: And
dependencies: 1
2
function: Find
inputs: Scary Movie 4
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Michael Madsen
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7