Question: Which area has higher elevation above sea level , Providence (the one whose inception time is 1636-01-01) or Kenosha?
Choices:
Greenville
Franklin
Compton
Boulder
Oakland
Columbus
Providence
Waukegan
New Haven
Kenosha
Program:
function: Find
inputs: Providence
function: FilterDate
dependencies: 0
inputs: inception
1636-01-01
=
function: Find
inputs: Kenosha
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Providence" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1636-01-01"^^xsd:date . } UNION { ?e <pred:name> "Kenosha" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kenosha