Question: What state has Dover (population is 36047) as its capital and a population larger than 8.0 (the time point is 2012-07-01)?
Choices:
Kent County
New Haven County
United States Virgin Islands
Delaware County
Orange County
Cass County
San Juan County
Washoe County
Greene County
African Union
Answer: Kent County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Dover" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "36047"^^xsd:double .  ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "8.0"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> "2012-07-01"^^xsd:date .  }
Program:
function: Find
inputs: Dover
function: FilterNum
dependencies: 0
inputs: population
36047
=
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: FindAll
function: FilterNum
dependencies: 4
inputs: population
8.0
>
function: QFilterDate
dependencies: 5
inputs: point in time
2012-07-01
=
function: FilterConcept
dependencies: 6
inputs: administrative territorial entity
function: And
dependencies: 3
7
function: What
dependencies: 8