Question: What city has a population less than 1200000 and an area of 406350000 square metres?
Choices: Bristol
Espoo
Mississauga
Trieste
Richmond
Cork
Hamilton
Kilkenny
Nagasaki
Kingston
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 < "1200000"^^xsd:double ) . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square metre" . ?pv_1 <pred:value> "406350000"^^xsd:double .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
1200000
<
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
406350000 square metre
=
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Nagasaki