Question: Which has more height, Tyler Perry or Eminem?
Choices:
Richard Gere
David Byrne
James E. Reilly
Max Fleischer
Paul Simon
Simon Cowell
Rahul Dev Burman
Eminem
Tyler Perry
Sylvester Stallone
Program:
function: Find
inputs: Tyler Perry
function: Find
inputs: Eminem
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tyler Perry" .  } UNION { ?e <pred:name> "Eminem" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tyler Perry