Question: Which has higher elevation above sea level, El Paso County (the one that has the captital Colorado Springs) or Veracruz (the one whose inception time is 1519-01-01)?
Choices:
African Union
Cass County
Delaware County
El Paso County
San Juan County
Lee County
Veracruz
Orange County
Kent County
Greene County
Answer: El Paso County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "El Paso County" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Colorado Springs" . } UNION { ?e <pred:name> "Veracruz" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1519-01-01"^^xsd:date . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Colorado Springs
function: Relate
dependencies: 0
inputs: capital
backward
function: Find
inputs: El Paso County
function: And
dependencies: 1
2
function: Find
inputs: Veracruz
function: FilterDate
dependencies: 4
inputs: inception
1519-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
greater