Question: What is the connection between Joseph Conrad (the one that has the occupation of military officer) to military officer?
Choices: executive producer
present in work
discoverer or inventor
notable people with this condition
programming paradigm
military conflicts
occupation
drafted by
partner
student
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joseph Conrad" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "military officer" . ?e_2 <pred:name> "military officer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: military officer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Joseph Conrad
function: And
dependencies: 1
2
function: Find
inputs: military officer
function: QueryRelation
dependencies: 3
4
Answer: occupation