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