Question: Who is taller: Israel, at 172 centimetres, or Bruce Campbell, at 198 centimetres?
Choices: Israel
Paul Simon
Richard Gere
David Byrne
James E. Reilly
Sylvester Stallone
Simon Cowell
William Henry Harrison
Bruce Campbell
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Israel" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "172"^^xsd:double . } UNION { ?e <pred:name> "Bruce Campbell" . ?e <height> ?pv_2 . ?pv_2 <pred:unit> "centimetre" . ?pv_2 <pred:value> "198"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Israel
function: FilterNum
dependencies: 0
inputs: height
172 centimetre
=
function: Find
inputs: Bruce Campbell
function: FilterNum
dependencies: 2
inputs: height
198 centimetre
=
function: SelectBetween
dependencies: 1
3
inputs: height
greater
Answer: Bruce Campbell