Question: Which one has more height between Kareena Kapoor and Barack Obama?
Choices:
Sylvester Stallone
Rahul Dev Burman
Paul Simon
James E. Reilly
Kareena Kapoor
Max Fleischer
Richard Gere
David Byrne
Barack Obama
William Henry Harrison
Program:
function: Find
inputs: Kareena Kapoor
function: Find
inputs: Barack Obama
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kareena Kapoor" .  } UNION { ?e <pred:name> "Barack Obama" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Barack Obama