Question: What is the country of General Electric's headquarter location in Boston?
Choices:
Spain
Costa Rica
United States of America
Philippines
Czech Republic
France
South Korea
Estonia
Pakistan
West Germany
Program:
function: Find
inputs: General Electric
function: Find
inputs: Boston
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "General Electric" . ?e_2 <pred:name> "Boston" . ?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