Question: Does Syracuse, capital of Onondaga County, or Utica have higher elevation above sea level?
Choices:
White Plains
Utica
Auburn
Glen Cove
Syracuse
Elmira
Yonkers
Ithaca
Long Beach
Troy
Answer: Utica
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Syracuse" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Onondaga County" .   } UNION { ?e <pred:name> "Utica" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Onondaga County
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Syracuse
function: And
dependencies: 1
2
function: Find
inputs: Utica
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater