Question: Is Tirana or St Albans bigger, by area?
Choices:
Chihuahua
Trieste
Bergen
St Albans
Abidjan
Tirana
Kilkenny
Dundee
Cork
Kingston
Program:
function: Find
inputs: Tirana
function: Find
inputs: St Albans
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tirana" .  } UNION { ?e <pred:name> "St Albans" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tirana