Question: Which one has more weight between Ryan Murphy (the one that is drafted by Los Angeles Kings) and Brian Jones (the one that is a member of New England Patriots)?
Choices:
David Byrne
Brian Jones
James E. Reilly
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
Max Fleischer
Paul Simon
Simon Cowell
Richard Gere
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: New England Patriots
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
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> "Brian Jones" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "New England Patriots" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brian Jones