Question: What is the position of Bill Nelson, the politician, in National Aeronautics and Space Administration ?
Choices:
research fellow
Emperor of the French
Simonyi Professor for the Public Understanding of Science
astronaut
Lord of Mann
reader
President of the People's Republic of China
university teacher
United States Secretary of State
lawyer
Answer: astronaut
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bill Nelson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "National Aeronautics and Space Administration" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <position_held> ?qpv .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Bill Nelson
function: And
dependencies: 1
2
function: Find
inputs: National Aeronautics and Space Administration
function: QueryRelationQualifier
dependencies: 3
4
inputs: employer
position held