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