Question: Stanford University alumnus Fred Thompson attended the primary school in which location?
Choices: Brookline
Munich
Lawrenceburg
Kiewit Plaza
Boeing International Headquarters
The Pentagon
Japan
Yorba Linda
Rome
NASA Headquarters
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Fred Thompson" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Stanford University" . ?e_2 <pred:name> "primary school" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <location> ?qpv .  }
Program:
function: Find
inputs: Stanford University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Fred Thompson
function: And
dependencies: 1
2
function: Find
inputs: primary school
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
location
Answer: Lawrenceburg