Question: Which area has lower elevation above sea level, Bali (the one whose FIPS 10-4 (countries and regions) is ID02) or Ticino?
Choices:
Kent County
African Union
Delaware County
San Juan County
Ticino
Washoe County
Orange County
Greene County
Bali
Lee County
Answer: Bali
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bali" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "ID02" . } UNION { ?e <pred:name> "Ticino" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bali
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
ID02
function: Find
inputs: Ticino
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less