Question: Which area has higher elevation above sea level, Appleton or Orlando (the one whose nickname is O-Town)?
Choices:
Greenville
Appleton
Orlando
Franklin
Waukegan
New Haven
Columbus
Lansing
Compton
Boulder
Program:
function: Find
inputs: Appleton
function: Find
inputs: Orlando
function: FilterStr
dependencies: 1
inputs: nickname
O-Town
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Appleton" . } UNION { ?e <pred:name> "Orlando" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> "O-Town" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Appleton