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