Question: Which has less elevation above sea level, Fairfield that is located in Solano County or Claremont?
Choices:
Claremont
Columbus
Greenville
Franklin
Oakland
Lansing
New Haven
Fairfield
Boulder
Compton
Program:
function: Find
inputs: Solano County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Fairfield
function: And
dependencies: 1
2
function: Find
inputs: Claremont
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fairfield" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Solano County" .   } UNION { ?e <pred:name> "Claremont" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Fairfield