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