Question: Who weighs more, Dwyane Wade or Marc Anthony (the one whose position is midfielder)?
Choices:
David Byrne
James E. Reilly
William Henry Harrison
Simon Cowell
Rahul Dev Burman
Dwyane Wade
Paul Simon
Sylvester Stallone
Marc Anthony
Richard Gere
Answer: Dwyane Wade
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dwyane Wade" .  } UNION { ?e <pred:name> "Marc Anthony" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "midfielder" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dwyane Wade
function: Find
inputs: midfielder
function: Relate
dependencies: 1
inputs: position played on team / speciality
backward
function: Find
inputs: Marc Anthony
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
greater