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