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