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