Question: Which area has lower elevation above sea level, Santa Cruz or Eureka (the one whose inception time is 1850-05-13)?
Choices:
Boulder
Eureka
Oakland
Columbus
New Haven
Compton
Santa Cruz
Greenville
Waukegan
Lansing
Program:
function: Find
inputs: Santa Cruz
function: Find
inputs: Eureka
function: FilterDate
dependencies: 1
inputs: inception
1850-05-13
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Cruz" . } UNION { ?e <pred:name> "Eureka" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1850-05-13"^^xsd:date . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Santa Cruz