Question: Who has less mass between the ice hockey player Jim Brown or the 200 pound Jeff Daniels?
Choices: James E. Reilly
Jeff Daniels
Sylvester Stallone
Jim Brown
Simon Cowell
Richard Gere
William Henry Harrison
Paul Simon
Max Fleischer
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jim Brown" . ?e <sport> ?e_1 . ?e_1 <pred:name> "ice hockey" . } UNION { ?e <pred:name> "Jeff Daniels" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "200"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: ice hockey
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 1
2
function: Find
inputs: Jeff Daniels
function: FilterNum
dependencies: 4
inputs: mass
200 pound
=
function: SelectBetween
dependencies: 3
5
inputs: mass
less
Answer: Jeff Daniels