Question: Who is taller between Shakira (the one that is famous for rhythm and blues) and Omar Sharif?
Choices:
Rahul Dev Burman
Simon Cowell
Max Fleischer
William Henry Harrison
Omar Sharif
David Byrne
Paul Simon
James E. Reilly
Richard Gere
Shakira
Program:
function: Find
inputs: rhythm and blues
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Shakira
function: And
dependencies: 1
2
function: Find
inputs: Omar Sharif
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shakira" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> "rhythm and blues" .   } UNION { ?e <pred:name> "Omar Sharif" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Omar Sharif