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