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