Question: What is the relation between the film Ray (with Jamie Foxx as a cast member) and Larenz Tate?
Choices:
cast member
location of discovery
located in time zone
official symbol
licensed to broadcast to
drug used for treatment
had as last meal
significant person
coextensive with
has dialect (DEPRECATED)
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ray" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jamie Foxx" . ?e_2 <pred:name> "Larenz Tate" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jamie Foxx
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Ray
function: And
dependencies: 1
2
function: Find
inputs: Larenz Tate
function: QueryRelation
dependencies: 3
4