Question: What is the number of church buildings whose establishment date is after 901 or National Heritage List for England number is 1066370?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
901
>
function: FilterConcept
dependencies: 1
inputs: church building
function: FindAll
function: FilterStr
dependencies: 3
inputs: National Heritage List for England number
1066370
function: FilterConcept
dependencies: 4
inputs: church building
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "church building" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 901 ) .  } UNION { ?e <National_Heritage_List_for_England_number> ?pv . ?pv <pred:value> "1066370" .  } }
Answer: 3