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