Question: What spans a larger area of space, East Timor or Spain?
Choices:
Benin
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Spain
Switzerland
Cambodia
Kiribati
South Sudan
Samoa
East Timor
Program:
function: Find
inputs: East Timor
function: Find
inputs: Spain
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "East Timor" .  } UNION { ?e <pred:name> "Spain" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Spain