Question: What country is Charlotte, the location of Bank of America's headquarters with a population of 34,104, located in?
Choices:
Kenya Colony
United States of America
Greece
Papal States
Kingdom of Italy
United Arab Republic
Romania
Saudi Arabia
Japan
Panama
Program:
function: Find
inputs: Bank of America
function: Find
inputs: Charlotte
function: FilterNum
dependencies: 1
inputs: population
34014
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bank of America" . ?e_2 <pred:name> "Charlotte" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "34014"^^xsd:double . ?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