Question: Wich has less mass, John Carter the of San Jose Sharks or Tony Curtis of the Philadelphia Eagles?
Choices: Rahul Dev Burman
John Carter
Paul Simon
David Byrne
Tony Curtis
James E. Reilly
Max Fleischer
Simon Cowell
Sylvester Stallone
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Carter" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "San Jose Sharks" .   } UNION { ?e <pred:name> "Tony Curtis" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Philadelphia Eagles" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: San Jose Sharks
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Carter
function: And
dependencies: 1
2
function: Find
inputs: Philadelphia Eagles
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Tony Curtis
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less
Answer: John Carter