Question: Who is shorter, Michael O'Neill (the one whose height is 180 centimetre) or Jack Kemp?
Choices: David Byrne
Max Fleischer
Sylvester Stallone
Paul Simon
James E. Reilly
Richard Gere
William Henry Harrison
Jack Kemp
Michael O'Neill
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael O'Neill" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "180"^^xsd:double . } UNION { ?e <pred:name> "Jack Kemp" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Michael O'Neill
function: FilterNum
dependencies: 0
inputs: height
180 centimetre
=
function: Find
inputs: Jack Kemp
function: SelectBetween
dependencies: 1
2
inputs: height
less
Answer: Michael O'Neill