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