Question: How is John Osborn of the United States Navy related to the United States of America?
Choices:
country of citizenship
successful candidate
found
costume designer
official color
participant of
significant event
continent
rector
head of state
Program:
function: Find
inputs: United States Navy
function: Relate
dependencies: 0
inputs: military branch
backward
function: Find
inputs: John Osborne
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Osborne" . ?e_1 <military_branch> ?e_3 . ?e_3 <pred:name> "United States Navy" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship