Question: Is Alan Ball, of the Dallas Cowboys, or David Carney shorter?
Choices:
Richard Gere
Sylvester Stallone
Alan Ball
Max Fleischer
Rahul Dev Burman
Simon Cowell
David Carney
James E. Reilly
David Byrne
Paul Simon
Program:
function: Find
inputs: David Carney
function: Find
inputs: Dallas Cowboys
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Alan Ball
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Carney" .  } UNION { ?e <pred:name> "Alan Ball" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Dallas Cowboys" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: David Carney