Question: Who weighs less, Paris Hilton or Johnny Green (the one that is drafted by New York Knicks)?
Choices: William Henry Harrison
James E. Reilly
David Byrne
Rahul Dev Burman
Paris Hilton
Johnny Green
Simon Cowell
Sylvester Stallone
Paul Simon
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paris Hilton" .  } UNION { ?e <pred:name> "Johnny Green" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "New York Knicks" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Paris Hilton
function: Find
inputs: New York Knicks
function: Relate
dependencies: 1
inputs: drafted by
backward
function: Find
inputs: Johnny Green
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
less
Answer: Paris Hilton