Question: Who is heavier: Craig Ferguson of the Montreal Canadiens or American-style football's Anthony Anderson?
Choices:
Anthony Anderson
David Byrne
Sylvester Stallone
Paul Simon
Richard Gere
Rahul Dev Burman
William Henry Harrison
James E. Reilly
Craig Ferguson
Max Fleischer
Program:
function: Find
inputs: Montreal Canadiens
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Craig Ferguson
function: And
dependencies: 1
2
function: Find
inputs: American football
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Anthony Anderson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Craig Ferguson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Montreal Canadiens" .   } UNION { ?e <pred:name> "Anthony Anderson" . ?e <sport> ?e_2 . ?e_2 <pred:name> "American football" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Craig Ferguson