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