Question: Who is taller, Chris Brown (who weighs 68 kilograms) or Craig Bellamy?
Choices: Chris Brown
James E. Reilly
Rahul Dev Burman
William Henry Harrison
Craig Bellamy
Max Fleischer
Simon Cowell
Richard Gere
David Byrne
Sylvester Stallone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Brown" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "68"^^xsd:double . } UNION { ?e <pred:name> "Craig Bellamy" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chris Brown
function: FilterNum
dependencies: 0
inputs: mass
68 kilogram
=
function: Find
inputs: Craig Bellamy
function: SelectBetween
dependencies: 1
2
inputs: height
greater
Answer: Chris Brown