Question: What is the time period that 1436697 is the population of the United States city that is the headquarters location of AT&T until the ending date in 2008?
Choices:
2011-10-31
2004-04-01
1571
1870
2014-01-01
1896
2003-10-22
2009-07-01
1953-01-01
1960-10-01
Answer: 2014-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "AT&T" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e ] <end_time> ?qpv_1 . ?qpv_1 <pred:year> 2008 . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1436697"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: AT&T
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: QFilterYear
dependencies: 1
inputs: end time
2008
=
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 3
inputs: population
1436697
point in time