Question: Does Bruce Campbell (who is a member of the Oakland Raiders) or Joe Jackson (who is educated at San Diego State University) weigh more?
Choices: William Henry Harrison
Richard Gere
David Byrne
James E. Reilly
Paul Simon
Sylvester Stallone
Bruce Campbell
Joe Jackson
Rahul Dev Burman
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bruce Campbell" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Oakland Raiders" .   } UNION { ?e <pred:name> "Joe Jackson" . ?e <educated_at> ?e_2 . ?e_2 <pred:name> "San Diego State University" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Oakland Raiders
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 1
2
function: Find
inputs: San Diego State University
function: Relate
dependencies: 4
inputs: educated at
backward
function: Find
inputs: Joe Jackson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
Answer: Bruce Campbell