Question: Between El Paso County, population 674471, or Veracruz, twin administrative body of San Jose, which has the lower elevation?
Choices:
Cass County
San Juan County
Washoe County
Kent County
Orange County
Greene County
African Union
Veracruz
Delaware County
El Paso County
Program:
function: Find
inputs: El Paso County
function: FilterNum
dependencies: 0
inputs: population
674471
=
function: Find
inputs: San Jose
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Veracruz
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "El Paso County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "674471"^^xsd:double . } UNION { ?e <pred:name> "Veracruz" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "San Jose" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Veracruz