Question: Which one is taller, Dany Heatley or Mike Myers (the one whose mass is 107 kilogram)?
Choices:
David Byrne
William Henry Harrison
Max Fleischer
Paul Simon
Richard Gere
Dany Heatley
Mike Myers
Rahul Dev Burman
James E. Reilly
Sylvester Stallone
Answer: Mike Myers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dany Heatley" . } UNION { ?e <pred:name> "Mike Myers" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "107"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dany Heatley
function: Find
inputs: Mike Myers
function: FilterNum
dependencies: 1
inputs: mass
107 kilogram
=
function: SelectBetween
dependencies: 0
2
inputs: height
greater