Question: Which has fewer people, London Borough of Newham or New Caledonia?
Choices:
Washoe County
Lee County
New Caledonia
Greene County
Cass County
London Borough of Newham
Kent County
Orange County
African Union
San Juan County
Program:
function: Find
inputs: London Borough of Newham
function: Find
inputs: New Caledonia
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "London Borough of Newham" .  } UNION { ?e <pred:name> "New Caledonia" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Caledonia