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