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