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