Question: Which has a smaller population, the British Virgin Islands or the London Borough of Enfield?
Choices:
Greene County
British Virgin Islands
London Borough of Enfield
San Juan County
Cass County
African Union
Kent County
Delaware County
Lee County
Washoe County
Program:
function: Find
inputs: British Virgin Islands
function: Find
inputs: London Borough of Enfield
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "British Virgin Islands" .  } UNION { ?e <pred:name> "London Borough of Enfield" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: British Virgin Islands