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