Question: What city is the one whose FIPS 10-4 (countries and regions) is UKH8 and whose population is higher than 90,000 ?
Choices:
Kaohsiung
Cork
Valencia
Liverpool
Santiago de Cuba
Jakarta
Kilkenny
Kingston
Trieste
Derby
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
UKH8
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
90000
>
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "UKH8" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "90000"^^xsd:double ) .  }
Answer: Liverpool