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