Question: Which agent has the headquarter location in the United States city that is the residence of Mark Cuban (the postal code of this statement is 75243)?
Choices:
Sega
Pfizer
McDonald's
Texas Instruments
KLM
AT&T
Southwest Airlines
Silver Pictures
Entertainment One
Vodafone
Program:
function: Find
inputs: Mark Cuban
function: Relate
dependencies: 0
inputs: residence
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: QFilterStr
dependencies: 3
inputs: postal code
75243
function: FilterConcept
dependencies: 4
inputs: agent
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_3 <residence> ?e_1 . ?e_3 <pred:name> "Mark Cuban" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <postal_code> ?qpv . ?qpv <pred:value> "75243" .  }
Answer: Texas Instruments