Question: Is the population less than 5.3 for the metropolitan borough that has the captital Bury whose OS grid reference is SD805105?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Bury" . ?e_1 <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "SD805105" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "5.3"^^xsd:double ) .  }
Program:
function: Find
inputs: Bury
function: FilterStr
dependencies: 0
inputs: OS grid reference
SD805105
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: metropolitan borough
function: QueryAttr
dependencies: 3
inputs: population
function: VerifyNum
dependencies: 4
inputs: 5.3
<