Question: Who weighs more, Mark Williams (the one that is a member of Green Bay Packers) or Jim Brown (the one that is related to sport ice hockey)?
Choices:
Simon Cowell
Rahul Dev Burman
Jim Brown
Sylvester Stallone
James E. Reilly
Mark Williams
David Byrne
Paul Simon
Richard Gere
William Henry Harrison
Program:
function: Find
inputs: Green Bay Packers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Find
inputs: ice hockey
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Williams" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Green Bay Packers" .   } UNION { ?e <pred:name> "Jim Brown" . ?e <sport> ?e_2 . ?e_2 <pred:name> "ice hockey" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mark Williams