Question: Is there more area in Amritsar or in Nottingham?
Choices:
Trieste
Chihuahua
Cork
Bergen
Dundee
Kilkenny
Abidjan
Santo Domingo
Amritsar
Nottingham
Program:
function: Find
inputs: Amritsar
function: Find
inputs: Nottingham
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amritsar" .  } UNION { ?e <pred:name> "Nottingham" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Amritsar