Question: What association does the romantic comedy Cairo have with black and white?
Choices:
color
applies to jurisdiction
location of final assembly
official religion
narrative location
exclave of
afflicts
appears in the form of
separated from
edition or translation of
Answer: color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cairo" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "romantic comedy" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: romantic comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Cairo
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 3
4