Question: Does Ben Johnson (who is drafted by the New Jersey Devils) or Bruce Campbell (who is a member of the Carolina Panthers) weight less?
Choices:
Max Fleischer
James E. Reilly
Rahul Dev Burman
Simon Cowell
Paul Simon
Bruce Campbell
David Byrne
Ben Johnson
William Henry Harrison
Richard Gere
Answer: Ben Johnson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ben Johnson" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "New Jersey Devils" .   } UNION { ?e <pred:name> "Bruce Campbell" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Carolina Panthers" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New Jersey Devils
function: Relate
dependencies: 0
inputs: drafted by
backward
function: Find
inputs: Ben Johnson
function: And
dependencies: 1
2
function: Find
inputs: Carolina Panthers
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less