Question: Who weighs less, Ryan Murphy (the one that is drafted by Los Angeles Kings) or Chris Brown (the one that is a member of Pittsburgh Steelers)?
Choices:
Richard Gere
David Byrne
Simon Cowell
Rahul Dev Burman
Sylvester Stallone
Max Fleischer
Chris Brown
William Henry Harrison
Ryan Murphy
Paul Simon
Program:
function: Find
inputs: Los Angeles Kings
function: Relate
dependencies: 0
inputs: drafted by
backward
function: Find
inputs: Ryan Murphy
function: And
dependencies: 1
2
function: Find
inputs: Pittsburgh Steelers
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Chris Brown
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ryan Murphy" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "Los Angeles Kings" .   } UNION { ?e <pred:name> "Chris Brown" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Pittsburgh Steelers" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ryan Murphy