Question: How is the black-and-white Submarine related the the silent film genre?
Choices:
instrument
fabrication method
genre
had as last meal
eye color
inspired by
family name
employer
filming location
kit supplier
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Submarine" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "silent film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Submarine
function: And
dependencies: 1
2
function: Find
inputs: silent film
function: QueryRelation
dependencies: 3
4