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