Question: Who weighs more, Amy Winehouse or Joe Jackson (the one whose mass is 78 kilogram)?
Choices: Max Fleischer
Amy Winehouse
Simon Cowell
David Byrne
James E. Reilly
Paul Simon
Joe Jackson
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amy Winehouse" . } UNION { ?e <pred:name> "Joe Jackson" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "78"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Amy Winehouse
function: Find
inputs: Joe Jackson
function: FilterNum
dependencies: 1
inputs: mass
78 kilogram
=
function: SelectBetween
dependencies: 0
2
inputs: mass
greater
Answer: Joe Jackson