Question: What is the connection between Joseph Conrad (the one that is involved in the conflict American Civil War) to general officer?
Choices:
feast day
has part
presenter
conferred by
operator
military rank
risk factor
product or material produced
does not have part
mountain range
Answer: military rank
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joseph Conrad" . ?e_1 <conflict> ?e_3 . ?e_3 <pred:name> "American Civil War" . ?e_2 <pred:name> "general officer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: American Civil War
function: Relate
dependencies: 0
inputs: conflict
backward
function: Find
inputs: Joseph Conrad
function: And
dependencies: 1
2
function: Find
inputs: general officer
function: QueryRelation
dependencies: 3
4