Question: Is there less of an elevation above sea level in Richmond in Contra Costa County or in Royal Oak?
Choices:
Waukegan
Oakland
New Haven
Greenville
Royal Oak
Columbus
Lansing
Richmond
Boulder
Compton
Answer: Richmond
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richmond" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Contra Costa County" .   } UNION { ?e <pred:name> "Royal Oak" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Contra Costa County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Richmond
function: And
dependencies: 1
2
function: Find
inputs: Royal Oak
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less