Question: Which area is smaller, Buenos Aires Province or Khyber Pakhtunkhwa?
Choices:
Chiapas
Podlaskie Voivodeship
Minas Gerais
New South Wales
Greater Poland Voivodeship
Buenos Aires Province
England
Upper Austria
Punjab
Khyber Pakhtunkhwa
Program:
function: Find
inputs: Buenos Aires Province
function: Find
inputs: Khyber Pakhtunkhwa
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Buenos Aires Province" .  } UNION { ?e <pred:name> "Khyber Pakhtunkhwa" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Khyber Pakhtunkhwa