Question: Which area is smaller in size, Salzburg (the one whose FIPS 10-4 (countries and regions) is AU05) or Queensland?
Choices:
Upper Austria
Greater Poland Voivodeship
Chiapas
Queensland
Lublin Voivodeship
Salzburg
Punjab
New South Wales
Minas Gerais
England
Answer: Salzburg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salzburg" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "AU05" . } UNION { ?e <pred:name> "Queensland" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Salzburg
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
AU05
function: Find
inputs: Queensland
function: SelectBetween
dependencies: 1
2
inputs: area
less