Question: Who has less mass, Ben Foster who was born in Royal Leamington Spa, or Mark Johnson, who is related to ice hockey?
Choices: David Byrne
James E. Reilly
Mark Johnson
Max Fleischer
Paul Simon
Simon Cowell
William Henry Harrison
Rahul Dev Burman
Richard Gere
Sylvester Stallone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ben Foster" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Royal Leamington Spa" .   } UNION { ?e <pred:name> "Mark Johnson" . ?e <sport> ?e_2 . ?e_2 <pred:name> "ice hockey" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Royal Leamington Spa
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Ben Foster
function: And
dependencies: 1
2
function: Find
inputs: ice hockey
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Mark Johnson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less
Answer: Mark Johnson