Question: Windsor Castle has how many religious buildings?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Windsor Castle
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: religious building
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "religious building" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Windsor Castle" .   }
Answer: 1