Question: Who is shorter, Jim Brown (the one that is a member of Cleveland Browns) or Jackie Robinson (the one that was born in Los Angeles)?
Choices:
William Henry Harrison
Paul Simon
David Byrne
Sylvester Stallone
Jackie Robinson
Max Fleischer
Jim Brown
Simon Cowell
Richard Gere
Rahul Dev Burman
Answer: Jim Brown
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jim Brown" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Cleveland Browns" .   } UNION { ?e <pred:name> "Jackie Robinson" . ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> "Los Angeles" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Cleveland Browns
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: Relate
dependencies: 4
inputs: place of birth
backward
function: Find
inputs: Jackie Robinson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
less