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