Question: How is A Great Day in Harlem, in black-and-white, related to Harlem?
Choices:
located in or next to body of water
record label
hair color
professional or sports partner
conferred by
narrative location
natural product of taxon
position played on team / speciality
located in the administrative territorial entity
place of publication
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Great Day in Harlem" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "Harlem" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: A Great Day in Harlem
function: And
dependencies: 1
2
function: Find
inputs: Harlem
function: QueryRelation
dependencies: 3
4