Question: Which has more population, Norwalk whose area is 94.203794 square kilometres or Meridian whose population is 41148?
Choices:
Lansing
Columbus
Compton
Oakland
Waukegan
New Haven
Norwalk
Boulder
Greenville
Franklin
Answer: Norwalk
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Norwalk" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "94.203794"^^xsd:double . } UNION { ?e <pred:name> "Meridian" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "41148"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Norwalk
function: FilterNum
dependencies: 0
inputs: area
94.203794 square kilometre
=
function: Find
inputs: Meridian
function: FilterNum
dependencies: 2
inputs: population
41148
=
function: SelectBetween
dependencies: 1
3
inputs: population
greater