Question: Which area is larger, Virginia Beach or Alexandria (the one whose area is 40.104859 square kilometre)?
Choices: Hampton
Charlottesville
Suffolk
Winchester
Danville
Williamsburg
Fairfax
Virginia Beach
Roanoke
Lynchburg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Virginia Beach" . } UNION { ?e <pred:name> "Alexandria" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "40.104859"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Virginia Beach
function: Find
inputs: Alexandria
function: FilterNum
dependencies: 1
inputs: area
40.104859 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Virginia Beach