Question: Who is taller, Naomi Campbell or Canadian Keith Allen?
Choices:
Paul Simon
Richard Gere
Max Fleischer
David Byrne
Simon Cowell
Rahul Dev Burman
William Henry Harrison
Naomi Campbell
Keith Allen
Sylvester Stallone
Answer: Keith Allen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Naomi Campbell" .  } UNION { ?e <pred:name> "Keith Allen" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Canada" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Naomi Campbell
function: Find
inputs: Canada
function: Relate
dependencies: 1
inputs: country of citizenship
backward
function: Find
inputs: Keith Allen
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater