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
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
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 .  }
Answer: award received