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