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