Question: How many cemeteries have George Stevens (the one that is the screenwriter of The Greatest Story Ever Told) buried there, and were founded before 1825?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
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> "George Stevens" . ?e_2 <screenwriter> ?e_1 . ?e_2 <pred:name> "The Greatest Story Ever Told" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1825 ) .  }
Program:
function: Find
inputs: The Greatest Story Ever Told
function: Relate
dependencies: 0
inputs: screenwriter
forward
function: Find
inputs: George Stevens
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of burial
forward
function: FilterConcept
dependencies: 4
inputs: cemetery
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1825
<
function: FilterConcept
dependencies: 7
inputs: cemetery
function: And
dependencies: 5
8
function: Count
dependencies: 9