Question: Which one is bigger area, Bloomington (which has an area of 70.332552 square kilometers) or Danbury
Choices:
Franklin
Bloomington
New Haven
Lansing
Waukegan
Oakland
Boulder
Danbury
Greenville
Columbus
Answer: Danbury
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bloomington" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "70.332552"^^xsd:double . } UNION { ?e <pred:name> "Danbury" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bloomington
function: FilterNum
dependencies: 0
inputs: area
70.332552 square kilometre
=
function: Find
inputs: Danbury
function: SelectBetween
dependencies: 1
2
inputs: area
greater