Question: Who has less mass, Anthony Anderson of the Pittsburgh Steelers or John Williams of the Indiana Pacers?
Choices:
Simon Cowell
William Henry Harrison
James E. Reilly
John Williams
David Byrne
Rahul Dev Burman
Paul Simon
Max Fleischer
Richard Gere
Anthony Anderson
Program:
function: Find
inputs: Pittsburgh Steelers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Anthony Anderson
function: And
dependencies: 1
2
function: Find
inputs: Indiana Pacers
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: John Williams
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anthony Anderson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Pittsburgh Steelers" .   } UNION { ?e <pred:name> "John Williams" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Indiana Pacers" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Anthony Anderson