Question: Who is shorter: American-style football's Mark Williams, or Gerard Butler?
Choices:
Rahul Dev Burman
Richard Gere
Paul Simon
Gerard Butler
William Henry Harrison
David Byrne
Max Fleischer
Simon Cowell
Sylvester Stallone
James E. Reilly
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Find
inputs: Gerard Butler
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Williams" . ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .   } UNION { ?e <pred:name> "Gerard Butler" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gerard Butler