Question: Who is shorter, Andy Williams (the one that is a member of New England Revolution) or John Wood (the one that is a participant of 1968 Summer Olympics)?
Choices:
James E. Reilly
Simon Cowell
Max Fleischer
David Byrne
Rahul Dev Burman
Andy Williams
Richard Gere
John Wood
William Henry Harrison
Paul Simon
Program:
function: Find
inputs: New England Revolution
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Andy Williams
function: And
dependencies: 1
2
function: Find
inputs: 1968 Summer Olympics
function: Relate
dependencies: 4
inputs: participant of
backward
function: Find
inputs: John Wood
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Andy Williams" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "New England Revolution" .   } UNION { ?e <pred:name> "John Wood" . ?e <participant_of> ?e_2 . ?e_2 <pred:name> "1968 Summer Olympics" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Andy Williams