Question: Which area is larger, Pompano Beach or New Haven?
Choices:
Boulder
New Britain
Columbus
Lansing
Waukegan
Compton
Greenville
Franklin
Pompano Beach
New Haven
Program:
function: Find
inputs: Pompano Beach
function: Find
inputs: New Haven
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pompano Beach" .  } UNION { ?e <pred:name> "New Haven" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pompano Beach