Question: Is there more area in Spokane or in Lawrence (with 19.242073 square km)?
Choices:
Lawrence
Waukegan
Greenville
Lansing
Spokane
Columbus
Boulder
Oakland
New Haven
Compton
Program:
function: Find
inputs: Spokane
function: Find
inputs: Lawrence
function: FilterNum
dependencies: 1
inputs: area
19.242073 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spokane" . } UNION { ?e <pred:name> "Lawrence" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "19.242073"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Spokane