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