Question: Which has more mass, Lima of S.C. Braga or Jackie Robinson of Maccabi Tel Aviv B.C.?
Choices:
Rahul Dev Burman
Simon Cowell
Sylvester Stallone
William Henry Harrison
Paul Simon
Lima
David Byrne
Jackie Robinson
Richard Gere
Max Fleischer
Program:
function: Find
inputs: S.C. Braga
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Lima
function: And
dependencies: 1
2
function: Find
inputs: Maccabi Tel Aviv B.C.
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Jackie Robinson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lima" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "S.C. Braga" .   } UNION { ?e <pred:name> "Jackie Robinson" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Maccabi Tel Aviv B.C." .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jackie Robinson