Question: 1996 Grammy Awards recipient Michael Jackson is buried in how many cemeteries?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "cemetery" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "Michael Jackson" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "1996 Grammy Awards" .   }
Program:
function: Find
inputs: 1996 Grammy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of burial
forward
function: FilterConcept
dependencies: 4
inputs: cemetery
function: Count
dependencies: 5