Question: Is the larger area occupied by Rome, at 84.287515 square KMs, or by Billings?
Choices:
Columbus
Greenville
Franklin
Waukegan
Boulder
Oakland
Rome
Billings
New Haven
Compton
Program:
function: Find
inputs: Billings
function: Find
inputs: Rome
function: FilterNum
dependencies: 1
inputs: area
84.287515 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Billings" . } UNION { ?e <pred:name> "Rome" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "84.287515"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Billings