Question: Is Orlando Bloom or Dave Foley (whose weight is 255 pounds) shorter in height?
Choices:
Sylvester Stallone
Simon Cowell
James E. Reilly
Max Fleischer
Dave Foley
Paul Simon
Richard Gere
Rahul Dev Burman
William Henry Harrison
Orlando Bloom
Program:
function: Find
inputs: Orlando Bloom
function: Find
inputs: Dave Foley
function: FilterNum
dependencies: 1
inputs: mass
255 pound
=
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orlando Bloom" . } UNION { ?e <pred:name> "Dave Foley" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "255"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Orlando Bloom