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