Question: Is Neil Young - at 183 centimetres - or Serena Williams the taller of the two?
Choices:
Rahul Dev Burman
William Henry Harrison
David Byrne
Serena Williams
Max Fleischer
James E. Reilly
Neil Young
Simon Cowell
Richard Gere
Paul Simon
Program:
function: Find
inputs: Neil Young
function: FilterNum
dependencies: 0
inputs: height
183 centimetre
=
function: Find
inputs: Serena Williams
function: SelectBetween
dependencies: 1
2
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Neil Young" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "183"^^xsd:double . } UNION { ?e <pred:name> "Serena Williams" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Neil Young