Question: Which one is larger, Greater Poland Voivodeship or Khyber Pakhtunkhwa ?
Choices:
Punjab
Chiapas
Greater Poland Voivodeship
Minas Gerais
Khyber Pakhtunkhwa
New South Wales
England
Tasmania
Podlaskie Voivodeship
Lublin Voivodeship
Program:
function: Find
inputs: Greater Poland Voivodeship
function: Find
inputs: Khyber Pakhtunkhwa
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greater Poland Voivodeship" .  } UNION { ?e <pred:name> "Khyber Pakhtunkhwa" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Khyber Pakhtunkhwa