Question: Which has higher elevation above sea level, Lake County (the one that shares border with Lake Michigan) or Porter County?
Choices: Lake County
Monroe County
Madison County
Hancock County
Marion County
Franklin County
Allen County
Porter County
Delaware County
Wayne County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lake County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Lake Michigan" .   } UNION { ?e <pred:name> "Porter County" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lake Michigan
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Lake County
function: And
dependencies: 1
2
function: Find
inputs: Porter County
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
Answer: Porter County