Question: Who is heavier, David Arnold at 208 pounds or Ryan Murphy at 205 pounds?
Choices: Richard Gere
David Arnold
Ryan Murphy
David Byrne
James E. Reilly
Paul Simon
Simon Cowell
Rahul Dev Burman
Sylvester Stallone
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Arnold" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "208"^^xsd:double . } UNION { ?e <pred:name> "Ryan Murphy" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> "pound" . ?pv_2 <pred:value> "205"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: David Arnold
function: FilterNum
dependencies: 0
inputs: mass
208 pound
=
function: Find
inputs: Ryan Murphy
function: FilterNum
dependencies: 2
inputs: mass
205 pound
=
function: SelectBetween
dependencies: 1
3
inputs: mass
greater
Answer: David Arnold