Question: Which has higher elevation above sea level, Fairfield (the one that is the capital of Solano County) or Salinas?
Choices:
Columbus
New Haven
Salinas
Fairfield
Compton
Oakland
Lansing
Waukegan
Franklin
Boulder
Answer: Salinas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fairfield" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Solano County" .   } UNION { ?e <pred:name> "Salinas" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Solano County
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Fairfield
function: And
dependencies: 1
2
function: Find
inputs: Salinas
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater