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