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