Question: Who weighs more, Jack Kemp or Jeff Daniels (the one that is a member of Florida Panthers)?
Choices:
Jack Kemp
William Henry Harrison
Simon Cowell
James E. Reilly
Max Fleischer
Sylvester Stallone
David Byrne
Jeff Daniels
Paul Simon
Rahul Dev Burman
Program:
function: Find
inputs: Jack Kemp
function: Find
inputs: Florida Panthers
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Jeff Daniels
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jack Kemp" .  } UNION { ?e <pred:name> "Jeff Daniels" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Florida Panthers" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jack Kemp