Question: Who is shorter, Paul Williams (the one that is a member of Southampton F.C.) or Roger Federer?
Choices:
Paul Simon
William Henry Harrison
Richard Gere
Max Fleischer
Paul Williams
David Byrne
James E. Reilly
Simon Cowell
Rahul Dev Burman
Sylvester Stallone
Program:
function: Find
inputs: Southampton F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Paul Williams
function: And
dependencies: 1
2
function: Find
inputs: Roger Federer
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paul Williams" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Southampton F.C." .   } UNION { ?e <pred:name> "Roger Federer" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Paul Williams