Question: Which area is larger, Tempe or Rochester (the one whose area is 96.225189 square kilometre)?
Choices:
Lansing
Oakland
Boulder
Greenville
Tempe
Franklin
Columbus
Rochester
New Haven
Compton
Answer: Tempe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tempe" . } UNION { ?e <pred:name> "Rochester" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "96.225189"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tempe
function: Find
inputs: Rochester
function: FilterNum
dependencies: 1
inputs: area
96.225189 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater