Question: Is Jim Brown (the one whose mass is 210 pound) heavier than Tim Armstrong (the one whose mass is 168 pound) or vice versa?
Choices:
Tim Armstrong
Max Fleischer
Rahul Dev Burman
Simon Cowell
James E. Reilly
Jim Brown
David Byrne
Sylvester Stallone
Richard Gere
Paul Simon
Answer: Jim Brown
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jim Brown" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "210"^^xsd:double . } UNION { ?e <pred:name> "Tim Armstrong" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> "pound" . ?pv_2 <pred:value> "168"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jim Brown
function: FilterNum
dependencies: 0
inputs: mass
210 pound
=
function: Find
inputs: Tim Armstrong
function: FilterNum
dependencies: 2
inputs: mass
168 pound
=
function: SelectBetween
dependencies: 1
3
inputs: mass
greater