Question: Which area is smaller in size, York (the one whose country is Kingdom of Great Britain) or Peshawar?
Choices: Chihuahua
Santo Domingo
Bergen
Cork
York
Kilkenny
Abidjan
Dundee
Peshawar
Kingston
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "York" . ?e <country> ?e_1 . ?e_1 <pred:name> "Kingdom of Great Britain" .   } UNION { ?e <pred:name> "Peshawar" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: York
function: And
dependencies: 1
2
function: Find
inputs: Peshawar
function: SelectBetween
dependencies: 3
4
inputs: area
less
Answer: York