Question: Is Algiers (twinned with Tunis) or Leeds (area 551720000 square metre) smaller by area?
Choices: Dundee
Bergen
Leeds
Algiers
Santo Domingo
Chihuahua
Kilkenny
Trieste
Cork
Kingston
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Algiers" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Tunis" . } UNION { ?e <pred:name> "Leeds" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square metre" . ?pv_1 <pred:value> "551720000"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tunis
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Algiers
function: And
dependencies: 1
2
function: Find
inputs: Leeds
function: FilterNum
dependencies: 4
inputs: area
551720000 square metre
=
function: SelectBetween
dependencies: 3
5
inputs: area
less
Answer: Algiers