Question: Who is heavier:  Pittsburgh Penguins draft pick Jeff Daniels, or Kevin Smith who was born in Compton?
Choices: Sylvester Stallone
Max Fleischer
Kevin Smith
Paul Simon
James E. Reilly
Simon Cowell
Richard Gere
David Byrne
Rahul Dev Burman
Jeff Daniels
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jeff Daniels" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "Pittsburgh Penguins" .   } UNION { ?e <pred:name> "Kevin Smith" . ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> "Compton" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Pittsburgh Penguins
function: Relate
dependencies: 0
inputs: drafted by
backward
function: Find
inputs: Jeff Daniels
function: And
dependencies: 1
2
function: Find
inputs: Compton
function: Relate
dependencies: 4
inputs: place of birth
backward
function: Find
inputs: Kevin Smith
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
Answer: Kevin Smith