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