Question: What is the connection between Utah (the one whose color is black-and-white) to United States of America?
Choices:
capital of
has immediate cause
spouse
designed to carry
copyright representative
place of birth
edition or translation of
position played on team / speciality
country of origin
narrator
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Utah
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Utah" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of origin