Question: How is Submarine, directed by Frank Capra, related to black-and-white?
Choices:
drug used for treatment
official residence
color
depicted by
industry
narrative role
license
lowest point
donated by
captain
Program:
function: Find
inputs: Frank Capra
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Submarine
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Submarine" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Frank Capra" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Answer: color