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