Question: Who is shorter: Grammy nominee for Best Male Pop Vocal Performance, Seal or Daniel Radcliffe?
Choices:
David Byrne
Daniel Radcliffe
Richard Gere
Seal
Sylvester Stallone
William Henry Harrison
James E. Reilly
Simon Cowell
Max Fleischer
Rahul Dev Burman
Program:
function: Find
inputs: Grammy Award for Best Male Pop Vocal Performance
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Seal
function: And
dependencies: 1
2
function: Find
inputs: Daniel Radcliffe
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seal" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Grammy Award for Best Male Pop Vocal Performance" .   } UNION { ?e <pred:name> "Daniel Radcliffe" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Daniel Radcliffe