Question: What is the relationship between Nine Lives (the one that origins from Norway) and black-and-white?
Choices:
penalty
convicted of
dialect of
home port
owned by
military conflicts
color
characters
foundational text
designed by
Answer: color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nine Lives" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Norway" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Norway
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Nine Lives
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 3
4