Question: Is the elevation (above sea level) less for Sarasota or Quincy (the one whose inception time is 1625)?
Choices:
Sarasota
Waukegan
Franklin
Lansing
Quincy
Boulder
Columbus
New Haven
Compton
Greenville
Program:
function: Find
inputs: Sarasota
function: Find
inputs: Quincy
function: FilterYear
dependencies: 1
inputs: inception
1625
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sarasota" . } UNION { ?e <pred:name> "Quincy" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1625 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sarasota