Question: What country holds Texas Instruments's headquarters that is located in Dallas (that is the birthplace of Robin Wright)?
Choices:
Bulgaria
Bangladesh
Italy
United States of America
British Empire
Egypt
worldwide
Finland
Ukraine
Lithuania
Program:
function: Find
inputs: Texas Instruments
function: Find
inputs: Robin Wright
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Dallas
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Texas Instruments" . ?e_2 <pred:name> "Dallas" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Robin Wright" . ?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