Question: In which country is Dallas, headquarters of Texas Instruments at telephone area code 214?
Choices:
British Empire
Taiwan
England
Cambodia
Costa Rica
United States of America
People's Republic of China
Uruguay
Kingdom of the Netherlands
Roman Republic
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Texas Instruments" . ?e_2 <pred:name> "Dallas" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> "214" . ?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: Texas Instruments
function: Find
inputs: Dallas
function: FilterStr
dependencies: 1
inputs: local dialing code
214
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country