Question: Who is heavier in weight, Junichi Inamoto or the John Williams who died in Baton Rouge?
Choices:
John Williams
Simon Cowell
William Henry Harrison
Rahul Dev Burman
Paul Simon
Max Fleischer
Richard Gere
James E. Reilly
Sylvester Stallone
Junichi Inamoto
Program:
function: Find
inputs: Junichi Inamoto
function: Find
inputs: Baton Rouge
function: Relate
dependencies: 1
inputs: place of death
backward
function: Find
inputs: John Williams
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Junichi Inamoto" .  } UNION { ?e <pred:name> "John Williams" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Baton Rouge" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: John Williams