Question: Tell me the one who is taller, Kajol or Russell Crowe
Choices:
Russell Crowe
Sylvester Stallone
William Henry Harrison
Max Fleischer
Kajol
James E. Reilly
Paul Simon
Rahul Dev Burman
Richard Gere
David Byrne
Program:
function: Find
inputs: Kajol
function: Find
inputs: Russell Crowe
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kajol" .  } UNION { ?e <pred:name> "Russell Crowe" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Russell Crowe