Question: Who is taller: Oscar, at 179 cm, or John Ruddy?
Choices:
Rahul Dev Burman
Oscar
John Ruddy
Sylvester Stallone
Max Fleischer
James E. Reilly
William Henry Harrison
Simon Cowell
Paul Simon
David Byrne
Answer: John Ruddy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oscar" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "179"^^xsd:double . } UNION { ?e <pred:name> "John Ruddy" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Oscar
function: FilterNum
dependencies: 0
inputs: height
179 centimetre
=
function: Find
inputs: John Ruddy
function: SelectBetween
dependencies: 1
2
inputs: height
greater