Question: Which one has more area between Scarborough (the one that is located in Toronto) and Sapporo?
Choices:
Bergen
Chihuahua
Scarborough
Trieste
Cork
Kingston
Abidjan
Dundee
Kilkenny
Sapporo
Answer: Sapporo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scarborough" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Toronto" .   } UNION { ?e <pred:name> "Sapporo" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Toronto
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Scarborough
function: And
dependencies: 1
2
function: Find
inputs: Sapporo
function: SelectBetween
dependencies: 3
4
inputs: area
greater