Question: Which has a greater mass, Mark Johnson (who was born in Minneapolis) or Derek Jeter?
Choices:
David Byrne
Rahul Dev Burman
Mark Johnson
Paul Simon
William Henry Harrison
James E. Reilly
Sylvester Stallone
Simon Cowell
Derek Jeter
Max Fleischer
Program:
function: Find
inputs: Minneapolis
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Mark Johnson
function: And
dependencies: 1
2
function: Find
inputs: Derek Jeter
function: SelectBetween
dependencies: 3
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Johnson" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Minneapolis" .   } UNION { ?e <pred:name> "Derek Jeter" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Derek Jeter