Question: Does Trieste or Rawalpindi have the larger area?
Choices:
Abidjan
Chihuahua
Cork
Rawalpindi
Trieste
Cairo
Dundee
Bergen
Santo Domingo
Kilkenny
Program:
function: Find
inputs: Trieste
function: Find
inputs: Rawalpindi
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Trieste" .  } UNION { ?e <pred:name> "Rawalpindi" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rawalpindi