Question: Is John Hughes (who was born in Edinburgh) or Leighton Meester taller in height?
Choices: James E. Reilly
Simon Cowell
Rahul Dev Burman
William Henry Harrison
John Hughes
Paul Simon
Leighton Meester
Richard Gere
Max Fleischer
Sylvester Stallone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Hughes" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Edinburgh" .   } UNION { ?e <pred:name> "Leighton Meester" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Edinburgh
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: Find
inputs: Leighton Meester
function: SelectBetween
dependencies: 3
4
inputs: height
greater
Answer: John Hughes