Question: Which has a greater area, Morristown or Florence (whose population is 25536)?
Choices:
Florence
Westport
Bedford
Amherst
Uxbridge
Chapel Hill
Greenwich
Kensington
West Hartford
Brookline
Answer: Florence
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Morristown" . } UNION { ?e <pred:name> "Florence" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "25536"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Morristown
function: Find
inputs: Florence
function: FilterNum
dependencies: 1
inputs: population
25536
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater