Question: show me the relationship from Captain (which is from the country of the United States of America) to United States Navy
Choices: place of birth
has part
official symbol
place of origin (Switzerland)
source of material
military branch
set in period
has quality
creator
architectural style
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "captain" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "United States Navy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: captain
function: And
dependencies: 1
2
function: Find
inputs: United States Navy
function: QueryRelation
dependencies: 3
4
Answer: military branch