Question: Who is shorter, the 215-lb.Jim Taylor or the 73-in. tall Kevin Smith?
Choices: Max Fleischer
Paul Simon
Richard Gere
Jim Taylor
Kevin Smith
William Henry Harrison
James E. Reilly
David Byrne
Simon Cowell
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jim Taylor" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "215"^^xsd:double . } UNION { ?e <pred:name> "Kevin Smith" . ?e <height> ?pv_2 . ?pv_2 <pred:unit> "inch" . ?pv_2 <pred:value> "73"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jim Taylor
function: FilterNum
dependencies: 0
inputs: mass
215 pound
=
function: Find
inputs: Kevin Smith
function: FilterNum
dependencies: 2
inputs: height
73 inch
=
function: SelectBetween
dependencies: 1
3
inputs: height
less
Answer: Jim Taylor