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