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