Question: What are the number of church buildings whose inception time is after 1963 or whose location is Windsor Castle ?
Choices: 0
1
2
3
4
5
6
7
8
9
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 > 1963 ) .  } UNION { ?e <location> ?e_1 . ?e_1 <pred:name> "Windsor Castle" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1963
>
function: FilterConcept
dependencies: 1
inputs: church building
function: Find
inputs: Windsor Castle
function: Relate
dependencies: 3
inputs: location
backward
function: FilterConcept
dependencies: 4
inputs: church building
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1