Question: Between Irvine, founded in 1971, or Oxnard, which is lowest relative to sea level?
Choices:
Oakland
Lansing
Boulder
Columbus
Compton
New Haven
Irvine
Oxnard
Greenville
Franklin
Program:
function: Find
inputs: Irvine
function: FilterYear
dependencies: 0
inputs: inception
1971
=
function: Find
inputs: Oxnard
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Irvine" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1971 . } UNION { ?e <pred:name> "Oxnard" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oxnard