Question: Who weighs less, Chris Paul or Marilyn Monroe (the one that is educated at University of California, Los Angeles)?
Choices:
Richard Gere
James E. Reilly
Marilyn Monroe
Max Fleischer
David Byrne
William Henry Harrison
Chris Paul
Rahul Dev Burman
Paul Simon
Simon Cowell
Answer: Marilyn Monroe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Paul" .  } UNION { ?e <pred:name> "Marilyn Monroe" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "University of California, Los Angeles" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Chris Paul
function: Find
inputs: University of California, Los Angeles
function: Relate
dependencies: 1
inputs: educated at
backward
function: Find
inputs: Marilyn Monroe
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
less