Question: Is the 2011-01-01 population of the metropolitan borough that has Rotherham (whose TOID is 4000000074569937) as the capital less than 5600000000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Rotherham" . ?e_1 <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074569937" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "5600000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2011-01-01"^^xsd:date .  }
Program:
function: Find
inputs: Rotherham
function: FilterStr
dependencies: 0
inputs: TOID
4000000074569937
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: metropolitan borough
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2011-01-01
function: VerifyNum
dependencies: 4
inputs: 5600000000
<