Question: Is the larger area occupied by Thuringia -- officially named Thüringen -- or Eastern Cape?
Choices:
Thuringia
Greater Poland Voivodeship
Upper Austria
Punjab
Minas Gerais
Lublin Voivodeship
Podlaskie Voivodeship
Chiapas
England
Eastern Cape
Program:
function: Find
inputs: Thuringia
function: FilterStr
dependencies: 0
inputs: official name
Thüringen
function: Find
inputs: Eastern Cape
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thuringia" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Thüringen" . } UNION { ?e <pred:name> "Eastern Cape" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Eastern Cape