Question: Does Amherst or Ridgefield occupy a larger area?
Choices:
Greenwich
Brookline
Uxbridge
Litchfield
Chapel Hill
Kensington
West Hartford
Amherst
Bedford
Ridgefield
Program:
function: Find
inputs: Amherst
function: Find
inputs: Ridgefield
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amherst" .  } UNION { ?e <pred:name> "Ridgefield" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ridgefield