Question: Who is taller, Rupert Everett or Chris Carter, at 185-centimetres?
Choices:
Max Fleischer
James E. Reilly
Rupert Everett
Paul Simon
David Byrne
Sylvester Stallone
Chris Carter
Simon Cowell
Rahul Dev Burman
William Henry Harrison
Program:
function: Find
inputs: Rupert Everett
function: Find
inputs: Chris Carter
function: FilterNum
dependencies: 1
inputs: height
185 centimetre
=
function: SelectBetween
dependencies: 0
2
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rupert Everett" . } UNION { ?e <pred:name> "Chris Carter" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "185"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rupert Everett