Question: Who is shorter: University of California, Davis alumnus Chris Carter, or Katy Perry?
Choices: Paul Simon
Sylvester Stallone
David Byrne
Katy Perry
Richard Gere
Simon Cowell
Max Fleischer
Chris Carter
William Henry Harrison
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Carter" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "University of California, Davis" .   } UNION { ?e <pred:name> "Katy Perry" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: University of California, Davis
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Chris Carter
function: And
dependencies: 1
2
function: Find
inputs: Katy Perry
function: SelectBetween
dependencies: 3
4
inputs: height
less
Answer: Katy Perry