Question: In what country is Amherst, location of University of Massachusetts Amhert's headquarters?
Choices:
Canada
Thailand
Australia
Switzerland
Caribbean Netherlands
Monaco
Slovakia
Lithuania
United States of America
Kazakhstan
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Massachusetts Amherst" . ?e_2 <pred:name> "Amherst" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: University of Massachusetts Amherst
function: Find
inputs: Amherst
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country