Question: Who is taller, Ulysses S. Grant or Kevin Smith (the one whose mass is 218 pound)?
Choices: Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
Kevin Smith
Richard Gere
Paul Simon
Max Fleischer
Simon Cowell
Ulysses S. Grant
James E. Reilly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ulysses S. Grant" . } UNION { ?e <pred:name> "Kevin Smith" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "218"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ulysses S. Grant
function: Find
inputs: Kevin Smith
function: FilterNum
dependencies: 1
inputs: mass
218 pound
=
function: SelectBetween
dependencies: 0
2
inputs: height
greater
Answer: Kevin Smith