Question: Is Aberdeen, whose country is the Kingdom of Scotland, or Turin larger, in terms of area?
Choices:
Santo Domingo
Abidjan
Dundee
Bergen
Kilkenny
Turin
Kingston
Chihuahua
Cork
Trieste
Answer: Turin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aberdeen" . ?e <country> ?e_1 . ?e_1 <pred:name> "Kingdom of Scotland" .   } UNION { ?e <pred:name> "Turin" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kingdom of Scotland
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Aberdeen
function: And
dependencies: 1
2
function: Find
inputs: Turin
function: SelectBetween
dependencies: 3
4
inputs: area
greater