Question: In what country is Newton (whose official website is http://newtontownhall.com/) that is the headquarters location of Shanachie Records?
Choices:
United Arab Republic
Kingdom of the Netherlands
United States of America
Guyana
Albania
United Kingdom
Turkey
People's Republic of China
Netherlands
Suriname
Program:
function: Find
inputs: Shanachie Records
function: Find
inputs: Newton
function: FilterStr
dependencies: 1
inputs: official website
http://newtontownhall.com/
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shanachie Records" . ?e_2 <pred:name> "Newton" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://newtontownhall.com/" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United States of America