Question: Which one is taller, Kareena Kapoor or Alan Dale ?
Choices:
Kareena Kapoor
Max Fleischer
Paul Simon
Rahul Dev Burman
James E. Reilly
Simon Cowell
Alan Dale
Sylvester Stallone
Richard Gere
David Byrne
Program:
function: Find
inputs: Kareena Kapoor
function: Find
inputs: Alan Dale
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kareena Kapoor" .  } UNION { ?e <pred:name> "Alan Dale" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Alan Dale