Question: Who has a greater mass, Joe Jackson (a Toronto Argonauts member) or Brad Jones (who is related to the sport of American football)?
Choices:
Rahul Dev Burman
Simon Cowell
William Henry Harrison
David Byrne
Max Fleischer
Joe Jackson
James E. Reilly
Sylvester Stallone
Brad Jones
Richard Gere
Program:
function: Find
inputs: Toronto Argonauts
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Joe Jackson
function: And
dependencies: 1
2
function: Find
inputs: American football
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Brad Jones
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joe Jackson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Toronto Argonauts" .   } UNION { ?e <pred:name> "Brad Jones" . ?e <sport> ?e_2 . ?e_2 <pred:name> "American football" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Joe Jackson