Question: Who is shorter: Joe Jackson, at 75 inches tall, or Jim Thorpe?
Choices:
William Henry Harrison
Jim Thorpe
Paul Simon
Max Fleischer
Rahul Dev Burman
Simon Cowell
David Byrne
James E. Reilly
Richard Gere
Sylvester Stallone
Answer: Jim Thorpe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jim Thorpe" . } UNION { ?e <pred:name> "Joe Jackson" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> "75"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jim Thorpe
function: Find
inputs: Joe Jackson
function: FilterNum
dependencies: 1
inputs: height
75 inch
=
function: SelectBetween
dependencies: 0
2
inputs: height
less