Question: Who is shorter, Jim Thorpe or Tom Johnson (the one that is a member of Minnesota Vikings)?
Choices:
James E. Reilly
William Henry Harrison
Paul Simon
Jim Thorpe
Simon Cowell
Rahul Dev Burman
Sylvester Stallone
Richard Gere
David Byrne
Tom Johnson
Answer: Jim Thorpe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jim Thorpe" .  } UNION { ?e <pred:name> "Tom Johnson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Minnesota Vikings" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jim Thorpe
function: Find
inputs: Minnesota Vikings
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Tom Johnson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less