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