Question: What is the association of Jimmy Carter (whose occupation is politician) with the United States Navy?
Choices: editor
maintained by
exported to
military branch
occupant
discoverer or inventor
musical conductor
narrator
home venue
relative
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jimmy Carter" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "United States Navy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Jimmy Carter
function: And
dependencies: 1
2
function: Find
inputs: United States Navy
function: QueryRelation
dependencies: 3
4
Answer: military branch