Question: Does midfielder Wayne Dyer have more or less mass than Selena Gomez?
Choices:
William Henry Harrison
David Byrne
Max Fleischer
Rahul Dev Burman
James E. Reilly
Paul Simon
Richard Gere
Sylvester Stallone
Wayne Dyer
Selena Gomez
Program:
function: Find
inputs: Selena Gomez
function: Find
inputs: midfielder
function: Relate
dependencies: 1
inputs: position played on team / speciality
backward
function: Find
inputs: Wayne Dyer
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Selena Gomez" .  } UNION { ?e <pred:name> "Wayne Dyer" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "midfielder" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Selena Gomez