Question: Does Haifa or Port of Spain have the smaller population size?
Choices:
Abidjan
Santo Domingo
Haifa
Chihuahua
Kingston
Trieste
Port of Spain
Dundee
Kilkenny
Cork
Program:
function: Find
inputs: Haifa
function: Find
inputs: Port of Spain
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Haifa" .  } UNION { ?e <pred:name> "Port of Spain" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Port of Spain