Question: Is Dwyane Wade or Jennifer Lawrence taller?
Choices:
James E. Reilly
Richard Gere
William Henry Harrison
Max Fleischer
David Byrne
Jennifer Lawrence
Simon Cowell
Dwyane Wade
Paul Simon
Sylvester Stallone
Program:
function: Find
inputs: Dwyane Wade
function: Find
inputs: Jennifer Lawrence
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dwyane Wade" .  } UNION { ?e <pred:name> "Jennifer Lawrence" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dwyane Wade