Question: Who weighs more: pitcher Steven Wright or center Mike Myers?
Choices: David Byrne
Steven Wright
Richard Gere
Simon Cowell
Max Fleischer
Sylvester Stallone
Mike Myers
Paul Simon
James E. Reilly
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Steven Wright" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "pitcher" .   } UNION { ?e <pred:name> "Mike Myers" . ?e <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> "center" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: pitcher
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Steven Wright
function: And
dependencies: 1
2
function: Find
inputs: center
function: Relate
dependencies: 4
inputs: position played on team / speciality
backward
function: Find
inputs: Mike Myers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
Answer: Mike Myers