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