Question: Which one is lighter, Keith Allen (the one that is a member of Detroit Red Wings) or Scott Wilson (the one that is a member of Pittsburgh Penguins) ?
Choices:
James E. Reilly
Simon Cowell
Max Fleischer
Keith Allen
David Byrne
Sylvester Stallone
Richard Gere
Paul Simon
Scott Wilson
William Henry Harrison
Answer: Scott Wilson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Keith Allen" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Detroit Red Wings" .   } UNION { ?e <pred:name> "Scott Wilson" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Pittsburgh Penguins" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Detroit Red Wings
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Keith Allen
function: And
dependencies: 1
2
function: Find
inputs: Pittsburgh Penguins
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Scott Wilson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less