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