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