Question: I would like to know the one that has the most graves, Forest Lawn Memorial Park (which is where Tex Avery was buried), or Montmartre Cemetery.
Choices:
Montmartre Cemetery
Holy Cross Cemetery
Brompton Cemetery
Kensal Green Cemetery
Woodlawn Cemetery
Arlington National Cemetery
West Norwood Cemetery
Glasnevin Cemetery
Forest Lawn Memorial Park
Hollywood Forever Cemetery
Program:
function: Find
inputs: Tex Avery
function: Relate
dependencies: 0
inputs: place of burial
forward
function: Find
inputs: Forest Lawn Memorial Park
function: And
dependencies: 1
2
function: Find
inputs: Montmartre Cemetery
function: SelectBetween
dependencies: 3
4
inputs: number of graves
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Forest Lawn Memorial Park" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "Tex Avery" .   } UNION { ?e <pred:name> "Montmartre Cemetery" .  } ?e <number_of_graves> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Forest Lawn Memorial Park