Question: Is the population of Bergen or of Ipswich, with 163000, higher?
Choices:
Santo Domingo
Cairo
Cork
Kilkenny
Ipswich
Abidjan
Bergen
Kingston
Dundee
Chihuahua
Program:
function: Find
inputs: Bergen
function: Find
inputs: Ipswich
function: FilterNum
dependencies: 1
inputs: population
163000
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bergen" . } UNION { ?e <pred:name> "Ipswich" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "163000"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bergen