Question: Which area is larger, Chihuahua (the one whose postal code is 31) or Tyrol (the one whose pronunciation audio is De-at-Tirol.ogg)?
Choices:
Tyrol
Greater Poland Voivodeship
Chiapas
Chihuahua
Minas Gerais
Podlaskie Voivodeship
Punjab
England
New South Wales
Lublin Voivodeship
Program:
function: Find
inputs: Chihuahua
function: FilterStr
dependencies: 0
inputs: postal code
31
function: Find
inputs: Tyrol
function: FilterStr
dependencies: 2
inputs: pronunciation audio
De-at-Tirol.ogg
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chihuahua" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "31" . } UNION { ?e <pred:name> "Tyrol" . ?e <pronunciation_audio> ?pv_2 . ?pv_2 <pred:value> "De-at-Tirol.ogg" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chihuahua