Question: Who is shorter: small forward Ron Howard, or John Ruddy?
Choices: William Henry Harrison
Max Fleischer
James E. Reilly
Rahul Dev Burman
Sylvester Stallone
Ron Howard
John Ruddy
David Byrne
Simon Cowell
Paul Simon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ron Howard" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "small forward" .   } UNION { ?e <pred:name> "John Ruddy" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: small forward
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Ron Howard
function: And
dependencies: 1
2
function: Find
inputs: John Ruddy
function: SelectBetween
dependencies: 3
4
inputs: height
less
Answer: John Ruddy