Question: What is the non-metropolitan district whose mean age is equal to 41.3 annum in 2011 ?
Choices:
Kettering
Guildford
Carlisle
Great Yarmouth
Woking
Craven
Chichester
West Dorset
North Norfolk
Solihull
Answer: Carlisle
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e <mean_age> ?pv . ?pv <pred:unit> "annum" . ?pv <pred:value> "41.3"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <mean_age> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2011 .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: mean age
41.3 annum
=
function: QFilterYear
dependencies: 1
inputs: point in time
2011
=
function: FilterConcept
dependencies: 2
inputs: non-metropolitan district
function: What
dependencies: 3