Question: Is Brad Garrett or Timothy Dalton shorter in height?
Choices:
Richard Gere
Max Fleischer
Rahul Dev Burman
Sylvester Stallone
Timothy Dalton
Simon Cowell
Brad Garrett
William Henry Harrison
Paul Simon
David Byrne
Program:
function: Find
inputs: Brad Garrett
function: Find
inputs: Timothy Dalton
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brad Garrett" .  } UNION { ?e <pred:name> "Timothy Dalton" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Timothy Dalton