Question: Who weighs less, Vince McMahon or Joe Jackson (the one whose mass is 78 kilogram)?
Choices: Rahul Dev Burman
Max Fleischer
William Henry Harrison
Simon Cowell
James E. Reilly
Joe Jackson
Sylvester Stallone
David Byrne
Paul Simon
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vince McMahon" . } 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 ?v LIMIT 1
Program:
function: Find
inputs: Vince McMahon
function: Find
inputs: Joe Jackson
function: FilterNum
dependencies: 1
inputs: mass
78 kilogram
=
function: SelectBetween
dependencies: 0
2
inputs: mass
less
Answer: Joe Jackson