Question: Who is shorter, Anupam Kher or Stephen Colbert (the one that is an ethnic group of Irish Americans)?
Choices: Sylvester Stallone
Richard Gere
Max Fleischer
Anupam Kher
Rahul Dev Burman
James E. Reilly
Stephen Colbert
Paul Simon
David Byrne
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anupam Kher" .  } UNION { ?e <pred:name> "Stephen Colbert" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> "Irish Americans" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Anupam Kher
function: Find
inputs: Irish Americans
function: Relate
dependencies: 1
inputs: ethnic group
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less
Answer: Anupam Kher