Question: What is the connection between the drama film The Contender and black-and-white?
Choices:
quotes work
given name
territory claimed by
color
business division
health specialty
head of state
official residence
public holiday
producer
Answer: color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Contender" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "drama film" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Contender
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 3
4