Question: Which is more massive the Canadian citizen John Adams or Ryan Murphy, the member of Hamilton Bulldogs?
Choices: Paul Simon
Sylvester Stallone
Simon Cowell
Richard Gere
James E. Reilly
Max Fleischer
Rahul Dev Burman
Ryan Murphy
William Henry Harrison
John Adams
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Adams" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Canada" .   } UNION { ?e <pred:name> "Ryan Murphy" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Hamilton Bulldogs" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Find
inputs: Hamilton Bulldogs
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Ryan Murphy
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
Answer: Ryan Murphy