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