Question: Which area is smaller, Graz or Vancouver (the one that is the twinned administrative body of Edinburgh)?
Choices:
Lyon
Graz
Dnipro
Fort Smith
Utrecht
Halle (Saale)
Wuppertal
Vancouver
Aachen
Stuttgart
Program:
function: Find
inputs: Graz
function: Find
inputs: Edinburgh
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Vancouver
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Graz" .  } UNION { ?e <pred:name> "Vancouver" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Edinburgh" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Vancouver