Question: Which has a greater above sea level elevation, Richmond (whose above sea level elevation is 28 metres) or Savannah (the birthplace of Stacy Keach)?
Choices:
Oakland
Compton
Savannah
Lansing
Waukegan
Richmond
Boulder
Greenville
Columbus
Franklin
Program:
function: Find
inputs: Richmond
function: FilterNum
dependencies: 0
inputs: elevation above sea level
28 metre
=
function: Find
inputs: Stacy Keach
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Savannah
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richmond" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "28"^^xsd:double . } UNION { ?e <pred:name> "Savannah" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Stacy Keach" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Richmond