Question: Which one, John Adams (the one that is a member of Boston Bruins) or Tony Richardson (the one whose position is fullback), has less mass?
Choices:
Paul Simon
Sylvester Stallone
James E. Reilly
William Henry Harrison
Max Fleischer
John Adams
Tony Richardson
David Byrne
Rahul Dev Burman
Richard Gere
Answer: John Adams
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Adams" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Boston Bruins" .   } UNION { ?e <pred:name> "Tony Richardson" . ?e <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> "fullback" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Boston Bruins
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Find
inputs: fullback
function: Relate
dependencies: 4
inputs: position played on team / speciality
backward
function: Find
inputs: Tony Richardson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less