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