Question: Who is shorter: January Jones or John Hughes, the member of Swansea City A.F.C.?
Choices:
James E. Reilly
Simon Cowell
Richard Gere
David Byrne
William Henry Harrison
Sylvester Stallone
January Jones
Paul Simon
Max Fleischer
John Hughes
Program:
function: Find
inputs: January Jones
function: Find
inputs: Swansea City A.F.C.
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: John Hughes
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "January Jones" .  } UNION { ?e <pred:name> "John Hughes" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Swansea City A.F.C." .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: January Jones