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