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