Question: Between Chris Martin of the Colorado Rockies or Junichi Inamoto, who is heavier?
Choices:
Junichi Inamoto
Sylvester Stallone
Simon Cowell
Chris Martin
Paul Simon
James E. Reilly
David Byrne
Max Fleischer
Richard Gere
Rahul Dev Burman
Program:
function: Find
inputs: Colorado Rockies
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Chris Martin
function: And
dependencies: 1
2
function: Find
inputs: Junichi Inamoto
function: SelectBetween
dependencies: 3
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Martin" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Colorado Rockies" .   } UNION { ?e <pred:name> "Junichi Inamoto" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Martin