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