Question: How is Gladiator, which has Joaquin Phoenix as a cast member, related to Djimon Hounsou?
Choices:
head coach
military conflicts
member of
used by
cast member
language of work or name
has edition
replaced by
official religion
father
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gladiator" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Joaquin Phoenix" . ?e_2 <pred:name> "Djimon Hounsou" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Joaquin Phoenix
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Gladiator
function: And
dependencies: 1
2
function: Find
inputs: Djimon Hounsou
function: QueryRelation
dependencies: 3
4