Question: Who is shorter, Bruce Lee or Daniel Radcliffe?
Choices:
Bruce Lee
Max Fleischer
Simon Cowell
James E. Reilly
Sylvester Stallone
David Byrne
Rahul Dev Burman
Richard Gere
Daniel Radcliffe
William Henry Harrison
Program:
function: Find
inputs: Bruce Lee
function: Find
inputs: Daniel Radcliffe
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bruce Lee" .  } UNION { ?e <pred:name> "Daniel Radcliffe" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Daniel Radcliffe