Question: How many cemeteries established in the year 1832 opened prior to 1833?
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 <inception> ?pv . ?pv <pred:year> 1832 . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1833 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1832
=
function: FilterConcept
dependencies: 1
inputs: cemetery
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
1833
<
function: FilterConcept
dependencies: 4
inputs: cemetery
function: And
dependencies: 2
5
function: Count
dependencies: 6