Question: Does the Veracruz corresponding to FIPS 10-4 (countries and regions) MX30 or does Sonora have the lower elevation?
Choices:
Sonora
Greater Poland Voivodeship
New South Wales
Lublin Voivodeship
Veracruz
Podlaskie Voivodeship
Punjab
Chiapas
Upper Austria
Minas Gerais
Answer: Veracruz
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Veracruz" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "MX30" . } UNION { ?e <pred:name> "Sonora" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Veracruz
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
MX30
function: Find
inputs: Sonora
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less