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