Question: What country does Dalls (covering 996.577625 square km), the location of Texas Instruments' headquarters, belong to ?
Choices: English
Kingdom of Great Britain
South Korea
Curaçao
South Africa
United Kingdom
West Germany
Ireland
Portugal
United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Texas Instruments" . ?e_2 <pred:name> "Dallas" . ?e_2 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "996.577625"^^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 .  }
Program:
function: Find
inputs: Texas Instruments
function: Find
inputs: Dallas
function: FilterNum
dependencies: 1
inputs: area
996.577625 square kilometre
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
Answer: United States of America