Question: What is the connection between Algiers (the one that origins from United States of America) to black-and-white?
Choices:
color
original film format
sexual orientation
symptom of
nominated for
dialect of
record label
business division
lifestyle
contributing factor of
Answer: color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Algiers" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Algiers
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 3
4