Question: Who is shorter, Seal who has the record label Warner Bros. Records or Allison Janney?
Choices:
Allison Janney
James E. Reilly
Simon Cowell
Richard Gere
Sylvester Stallone
William Henry Harrison
Paul Simon
Seal
David Byrne
Rahul Dev Burman
Program:
function: Find
inputs: Warner Bros. Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Seal
function: And
dependencies: 1
2
function: Find
inputs: Allison Janney
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seal" . ?e <record_label> ?e_1 . ?e_1 <pred:name> "Warner Bros. Records" .   } UNION { ?e <pred:name> "Allison Janney" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Allison Janney