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