Question: Who is shorter, Seal, who was nominated for an MTV Video Musical Award for Best New Artist, or Douglas Adams?
Choices:
Richard Gere
Seal
Simon Cowell
Max Fleischer
Sylvester Stallone
Douglas Adams
Rahul Dev Burman
William Henry Harrison
David Byrne
Paul Simon
Program:
function: Find
inputs: MTV Video Music Award for Best New Artist
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Seal
function: And
dependencies: 1
2
function: Find
inputs: Douglas Adams
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seal" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Video Music Award for Best New Artist" .   } UNION { ?e <pred:name> "Douglas Adams" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Seal