Question: Which has more area, London which is the birthplace of Paul Haggis or Wuhan?
Choices:
Dundee
Wuhan
Kingston
Cork
Santo Domingo
Trieste
Kilkenny
Chihuahua
Abidjan
London
Answer: Wuhan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "London" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Paul Haggis" .   } UNION { ?e <pred:name> "Wuhan" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Paul Haggis
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 1
2
function: Find
inputs: Wuhan
function: SelectBetween
dependencies: 3
4
inputs: area
greater