Question: Does Winona Ryder or Omar Sharif have the greater height?
Choices:
Paul Simon
Richard Gere
Winona Ryder
Omar Sharif
James E. Reilly
Sylvester Stallone
Rahul Dev Burman
David Byrne
Simon Cowell
Max Fleischer
Program:
function: Find
inputs: Winona Ryder
function: Find
inputs: Omar Sharif
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Winona Ryder" .  } UNION { ?e <pred:name> "Omar Sharif" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Omar Sharif