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