Question: Tell me the relationship between Harlow (which is black and white and color) to black-and-white
Choices:
soundtrack album
source of income
lifestyle
geographic distribution
color
instrumentation
follows
dialect of
editor
indigenous to
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Harlow
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> "Harlow" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Answer: color