Question: Which one lies higher in relation to sea level, Lower Saxony or Thuringia (the one whose FIPS 10-4 (countries and regions) is GM15) ?
Choices: Saxony
Bavaria
North Rhine-Westphalia
Schleswig-Holstein
Bremen
Brandenburg
Saxony-Anhalt
Thuringia
Rhineland-Palatinate
Lower Saxony
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lower Saxony" . } UNION { ?e <pred:name> "Thuringia" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "GM15" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lower Saxony
function: Find
inputs: Thuringia
function: FilterStr
dependencies: 1
inputs: FIPS 10-4 (countries and regions)
GM15
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
Answer: Thuringia