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