Question: Who has the higher mass, Ben Foster, a member of the England national football team, or Mark Johnson, with a mass of 105 kilograms?
Choices: Simon Cowell
Paul Simon
James E. Reilly
David Byrne
Richard Gere
Mark Johnson
Rahul Dev Burman
William Henry Harrison
Sylvester Stallone
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ben Foster" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "England national football team" . } UNION { ?e <pred:name> "Mark Johnson" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "105"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: England national football team
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Ben Foster
function: And
dependencies: 1
2
function: Find
inputs: Mark Johnson
function: FilterNum
dependencies: 4
inputs: mass
105 kilogram
=
function: SelectBetween
dependencies: 3
5
inputs: mass
greater
Answer: Mark Johnson