Question: Which one is heavier, Theofanis Gekas or Steven Wright, the pitcher ?
Choices:
Steven Wright
Theofanis Gekas
James E. Reilly
Paul Simon
Simon Cowell
William Henry Harrison
Rahul Dev Burman
Max Fleischer
Sylvester Stallone
Richard Gere
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: Theofanis Gekas
function: SelectBetween
dependencies: 3
4
inputs: mass
greater
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> "Theofanis Gekas" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Steven Wright