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