Question: Who is shorter, Keith Urban or Bruce Campbell (the one that is related to sport American football)?
Choices:
Simon Cowell
Bruce Campbell
William Henry Harrison
Keith Urban
Max Fleischer
Sylvester Stallone
Paul Simon
David Byrne
James E. Reilly
Richard Gere
Program:
function: Find
inputs: Keith Urban
function: Find
inputs: American football
function: Relate
dependencies: 1
inputs: sport
backward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Keith Urban" .  } UNION { ?e <pred:name> "Bruce Campbell" . ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Keith Urban