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