Question: Which has a lesser above sea level elevation, Los Gatos or Charleston (whose inception time is 1786)?
Choices:
Franklin
Boulder
Greenville
Oakland
Los Gatos
New Haven
Charleston
Lansing
Columbus
Waukegan
Program:
function: Find
inputs: Los Gatos
function: Find
inputs: Charleston
function: FilterYear
dependencies: 1
inputs: inception
1786
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Los Gatos" . } UNION { ?e <pred:name> "Charleston" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1786 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Los Gatos