Question: What is the street-address location for the John F. Kennedy School of Government's headquarter location of Cambridge (the one that is the residence of Hillary Clinton)?
Choices:
500 E 9th St, Claremont, CA, 91711-6400
Wellington Square
1 University Circle, Macomb, IL, 61455
2065 Hamilton Avenue
79 John F. Kennedy Street
Soldiers Field
One Trinity Place, San Antonio, TX, 78212-7200
499 Washington Blvd
1400 J R Lynch Street, Jackson, MS, 39217
116th Street and Broadway
Answer: 79 John F. Kennedy Street
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John F. Kennedy School of Government" . ?e_2 <pred:name> "Cambridge" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Hillary Clinton" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address> ?qpv .  }
Program:
function: Find
inputs: John F. Kennedy School of Government
function: Find
inputs: Hillary Clinton
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Cambridge
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address