Question: Which has higher elevation above sea level, Hildesheim (the one whose licence plate code is ALF) or Antwerp (the one whose FIPS 10-4 (countries and regions) is BE01)?
Choices:
African Union
Greene County
Antwerp
San Juan County
Lee County
Delaware County
Cass County
Washoe County
Orange County
Hildesheim
Answer: Hildesheim
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hildesheim" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "ALF" . } UNION { ?e <pred:name> "Antwerp" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_2 . ?pv_2 <pred:value> "BE01" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hildesheim
function: FilterStr
dependencies: 0
inputs: licence plate code
ALF
function: Find
inputs: Antwerp
function: FilterStr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
BE01
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
greater