Question: How many church buildings comprise a part of Windsor castle or have Westminster Abbey (6449810703).jpg as the nighttime wiew?
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 <part_of> ?e_1 . ?e_1 <pred:name> "Windsor Castle" .  } UNION { ?e <nighttime_view> ?pv . ?pv <pred:value> "Westminster Abbey (6449810703).jpg" .  } }
Program:
function: Find
inputs: Windsor Castle
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: church building
function: FindAll
function: FilterStr
dependencies: 3
inputs: nighttime view
Westminster Abbey (6449810703).jpg
function: FilterConcept
dependencies: 4
inputs: church building
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2