Question: Which person has less mass Tom Johnson (the one that is a member of Boston Bruins) or David Arnold (the one that is the citizen of United States of America)?
Choices:
David Arnold
Tom Johnson
Sylvester Stallone
James E. Reilly
William Henry Harrison
Paul Simon
Rahul Dev Burman
Richard Gere
Max Fleischer
Simon Cowell
Answer: Tom Johnson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tom Johnson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Boston Bruins" .   } UNION { ?e <pred:name> "David Arnold" . ?e <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Boston Bruins
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Tom Johnson
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country of citizenship
backward
function: Find
inputs: David Arnold
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less