Question: Which one, Bill Berry (the one that is educated at Michigan State University) or Rory Fallon, has less height?
Choices:
Sylvester Stallone
Rahul Dev Burman
James E. Reilly
William Henry Harrison
David Byrne
Richard Gere
Rory Fallon
Max Fleischer
Simon Cowell
Bill Berry
Program:
function: Find
inputs: Michigan State University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Bill Berry
function: And
dependencies: 1
2
function: Find
inputs: Rory Fallon
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bill Berry" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Michigan State University" .   } UNION { ?e <pred:name> "Rory Fallon" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rory Fallon