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