Question: Which one, Bali (the one whose administrative code of Indonesia is 51) or Central Java, has less elevation (above sea level)?
Choices:
Kent County
Greene County
Central Java
Washoe County
Orange County
Cass County
Lee County
Bali
African Union
San Juan County
Program:
function: Find
inputs: Bali
function: FilterStr
dependencies: 0
inputs: administrative code of Indonesia
51
function: Find
inputs: Central Java
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bali" . ?e <administrative_code_of_Indonesia> ?pv_1 . ?pv_1 <pred:value> "51" . } UNION { ?e <pred:name> "Central Java" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bali