Question: Which one is lighter, Lee Grant (the one that is a member of Derby County F.C.) or Stephen Graham (the one whose mass is 98 kilograms) ?
Choices: David Byrne
Paul Simon
James E. Reilly
Max Fleischer
Lee Grant
William Henry Harrison
Sylvester Stallone
Rahul Dev Burman
Stephen Graham
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lee Grant" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Derby County F.C." . } UNION { ?e <pred:name> "Stephen Graham" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "98"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Derby County F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Lee Grant
function: And
dependencies: 1
2
function: Find
inputs: Stephen Graham
function: FilterNum
dependencies: 4
inputs: mass
98 kilogram
=
function: SelectBetween
dependencies: 3
5
inputs: mass
less
Answer: Lee Grant