Question: What is the relationship between the military officer Napoleon and the Order of the Elephant?
Choices:
officially opened by
distribution
subsidiary
basin country
costume designer
candidate
godparent
cites
owner of
award received
Answer: award received
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Napoleon" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "military officer" . ?e_2 <pred:name> "Order of the Elephant" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: military officer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Napoleon
function: And
dependencies: 1
2
function: Find
inputs: Order of the Elephant
function: QueryRelation
dependencies: 3
4