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