Question: Who is heavier:  University of California, Berkeley alumnus Ryan Murphy, or actor Mark Harmon?
Choices:
William Henry Harrison
Paul Simon
Richard Gere
James E. Reilly
David Byrne
Mark Harmon
Ryan Murphy
Simon Cowell
Rahul Dev Burman
Sylvester Stallone
Program:
function: Find
inputs: University of California, Berkeley
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Ryan Murphy
function: And
dependencies: 1
2
function: Find
inputs: actor
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Mark Harmon
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ryan Murphy" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "University of California, Berkeley" .   } UNION { ?e <pred:name> "Mark Harmon" . ?e <occupation> ?e_2 . ?e_2 <pred:name> "actor" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ryan Murphy