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