Question: How is The Fugitive (the one whose director is D. W. Griffith) related to black-and-white ?
Choices:
material used
medical treatment
afflicts
said to be the same as
native language
interests
distribution
color
collection
original network
Answer: color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Fugitive" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "D. W. Griffith" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: D. W. Griffith
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Fugitive
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 3
4