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