Question: Which area is smaller, Thuringia (the one whose official name is Thüringen) or Australian Capital Territory?
Choices:
Upper Austria
Australian Capital Territory
Thuringia
Podlaskie Voivodeship
Chiapas
Greater Poland Voivodeship
England
New South Wales
Lublin Voivodeship
Punjab
Program:
function: Find
inputs: Thuringia
function: FilterStr
dependencies: 0
inputs: official name
Thüringen
function: Find
inputs: Australian Capital Territory
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thuringia" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Thüringen" . } UNION { ?e <pred:name> "Australian Capital Territory" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Australian Capital Territory