Question: Which English ceremonial county contain the administrative division Bournemouth with the population of 194,500, while its population was over 4,900 in 2011?
Choices:
Warwickshire
Cambridgeshire
Northumberland
Cumbria
Essex
Norfolk
Derbyshire
Dorset
Staffordshire
West Midlands
Answer: Dorset
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Bournemouth" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "194500"^^xsd:double .  ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "4900"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2011 .  }
Program:
function: Find
inputs: Bournemouth
function: FilterNum
dependencies: 0
inputs: population
194500
=
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: FindAll
function: FilterNum
dependencies: 4
inputs: population
4900
>
function: QFilterYear
dependencies: 5
inputs: point in time
2011
=
function: FilterConcept
dependencies: 6
inputs: ceremonial county of England
function: And
dependencies: 3
7
function: What
dependencies: 8