Question: Which area is larger, Victoria (the one that is the headquarter location of University of Victoria) or Accra?
Choices:
Abidjan
Chihuahua
Bergen
Dundee
Santo Domingo
Kilkenny
Cork
Trieste
Accra
Victoria
Answer: Accra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Victoria" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "University of Victoria" .   } UNION { ?e <pred:name> "Accra" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: University of Victoria
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Victoria
function: And
dependencies: 1
2
function: Find
inputs: Accra
function: SelectBetween
dependencies: 3
4
inputs: area
greater