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