Question: Which area is larger, Cincinnati or Olympia (the one whose postal code is 98500–98599)?
Choices: Lansing
Oakland
Columbus
Greenville
Boulder
Waukegan
New Haven
Compton
Cincinnati
Olympia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cincinnati" . } UNION { ?e <pred:name> "Olympia" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "98500–98599" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cincinnati
function: Find
inputs: Olympia
function: FilterStr
dependencies: 1
inputs: postal code
98500–98599
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Cincinnati