Question: Which one has greater population, La Plata or Derby located in the Greenwich Mean Time zone?
Choices:
Cork
Santo Domingo
Chihuahua
Kingston
La Plata
Trieste
Dundee
Abidjan
Bergen
Kilkenny
Program:
function: Find
inputs: La Plata
function: Find
inputs: Greenwich Mean Time
function: Relate
dependencies: 1
inputs: located in time zone
backward
function: Find
inputs: Derby
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "La Plata" .  } UNION { ?e <pred:name> "Derby" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Greenwich Mean Time" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: La Plata