Question: What is the association between The Hurricane (whose color is black-and-white) and Samuel Goldwyn?
Choices:
collection
partially contains
director of photography
performer
producer
set in period
organisation directed from the office or person
legislative body
broadcast by
airline hub
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Hurricane" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "Samuel Goldwyn" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: The Hurricane
function: And
dependencies: 1
2
function: Find
inputs: Samuel Goldwyn
function: QueryRelation
dependencies: 3
4