Question: Seattle, the headquarters of Starbucks, belongs to which country?
Choices:
Uruguay
Cambodia
Hong Kong
New Zealand
Finland
Ukraine
Sint Maarten
Philippines
United States of America
German Democratic Republic
Program:
function: Find
inputs: Starbucks
function: Find
inputs: Seattle
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Starbucks" . ?e_2 <pred:name> "Seattle" . ?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