Question: Joseph Conrad, a participant in America's Civil War, has what connection to the US Army?
Choices:
participant
chairperson
student of
opposite of
destination point
work location
military branch
given name
located in the administrative territorial entity
substitute/deputy/replacement of office/officeholder
Answer: military branch
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> "United States Army" . ?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: United States Army
function: QueryRelation
dependencies: 3
4