Question: What city's urban population is over 58000 and WOEID is 2350025?
Choices:
Trieste
Bergen
Santo Domingo
Abidjan
Lower Hutt
Kingston
Dundee
Cork
Palmerston North
Kilkenny
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
58000
>
function: QFilterStr
dependencies: 1
inputs: applies to part
urban area
function: FilterConcept
dependencies: 2
inputs: city
function: FindAll
function: FilterStr
dependencies: 4
inputs: WOEID
2350025
function: FilterConcept
dependencies: 5
inputs: city
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "58000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> "urban area" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "2350025" .  }
Answer: Palmerston North