Question: Which area is smaller, Socialist Federal Republic of Yugoslavia or Palau?
Choices:
Palau
People's Republic of China
Benin
Weimar Republic
South Sudan
Samoa
Kiribati
Switzerland
Cambodia
Socialist Federal Republic of Yugoslavia
Program:
function: Find
inputs: Socialist Federal Republic of Yugoslavia
function: Find
inputs: Palau
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Socialist Federal Republic of Yugoslavia" .  } UNION { ?e <pred:name> "Palau" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Palau