Question: What's the relationship between Nelson (from the United Kingdom) and black-and-white?
Choices:
applies to jurisdiction
color
military conflicts
award received
official language
executive producer
appointed by
costume designer
subsidiary
official symbol
Answer: color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nelson" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Nelson
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 3
4