Question: Is Marilyn Monroe (buried in Westwood Village Park Cemetery) or Avril Lavigne taller?
Choices:
Max Fleischer
Sylvester Stallone
William Henry Harrison
Simon Cowell
Marilyn Monroe
Avril Lavigne
Richard Gere
Paul Simon
Rahul Dev Burman
James E. Reilly
Program:
function: Find
inputs: Westwood Village Memorial Park Cemetery
function: Relate
dependencies: 0
inputs: place of burial
backward
function: Find
inputs: Marilyn Monroe
function: And
dependencies: 1
2
function: Find
inputs: Avril Lavigne
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marilyn Monroe" . ?e <place_of_burial> ?e_1 . ?e_1 <pred:name> "Westwood Village Memorial Park Cemetery" .   } UNION { ?e <pred:name> "Avril Lavigne" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Marilyn Monroe