Question: Who weighs less, Jermaine Jackson (the one that is a member of Atlanta Hawks) or Richard Wright (the one that is a member of Ipswich Town F.C.)?
Choices:
Rahul Dev Burman
William Henry Harrison
David Byrne
Jermaine Jackson
Richard Wright
Richard Gere
Paul Simon
Simon Cowell
Sylvester Stallone
Max Fleischer
Answer: Richard Wright
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jermaine Jackson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Atlanta Hawks" .   } UNION { ?e <pred:name> "Richard Wright" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Ipswich Town F.C." .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Atlanta Hawks
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jermaine Jackson
function: And
dependencies: 1
2
function: Find
inputs: Ipswich Town F.C.
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less