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