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