Question: Is Pete Townshend or Dave Foley (that is a member of the Buffalo Bills) shorter in height?
Choices:
Dave Foley
Pete Townshend
Richard Gere
William Henry Harrison
Sylvester Stallone
David Byrne
Max Fleischer
Paul Simon
James E. Reilly
Simon Cowell
Program:
function: Find
inputs: Pete Townshend
function: Find
inputs: Buffalo Bills
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Dave Foley
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pete Townshend" .  } UNION { ?e <pred:name> "Dave Foley" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Buffalo Bills" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pete Townshend