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