Question: Who is heavier: Brian Jones of the New England Patriots, or the 250-lb.Tony Bennett?
Choices: William Henry Harrison
Brian Jones
David Byrne
Sylvester Stallone
Simon Cowell
Paul Simon
James E. Reilly
Max Fleischer
Tony Bennett
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brian Jones" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "New England Patriots" . } UNION { ?e <pred:name> "Tony Bennett" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "250"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New England Patriots
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 1
2
function: Find
inputs: Tony Bennett
function: FilterNum
dependencies: 4
inputs: mass
250 pound
=
function: SelectBetween
dependencies: 3
5
inputs: mass
greater
Answer: Brian Jones