Question: What is the relationship between Labyrinth (the one that origins from Italy) and black-and-white?
Choices:
substitute/deputy/replacement of office/officeholder
has edition
position played on team / speciality
main food source
affiliation
derivative work
political alignment
nominated for
occupant
color
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Labyrinth
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> "Labyrinth" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Italy" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Answer: color