Question: Who is shorter, Jack Thompson of the Tampa Bay Buccaneers or Dakota Fanning?
Choices:
Rahul Dev Burman
Paul Simon
Jack Thompson
David Byrne
Simon Cowell
William Henry Harrison
Dakota Fanning
Sylvester Stallone
Max Fleischer
Richard Gere
Program:
function: Find
inputs: Tampa Bay Buccaneers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jack Thompson
function: And
dependencies: 1
2
function: Find
inputs: Dakota Fanning
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jack Thompson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Tampa Bay Buccaneers" .   } UNION { ?e <pred:name> "Dakota Fanning" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dakota Fanning