Question: Military officer Joseph Conrad has what connection to the American Civil War?
Choices:
conflict
use
make-up artist
shares border with
given name
godparent
distribution
parent astronomical body
film release region
musical conductor
Answer: conflict
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> "American Civil War" . ?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: American Civil War
function: QueryRelation
dependencies: 3
4