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