Question: What is the number of dynasties named after Windsor Castle or that has the British Museum person-institution is 152002
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Windsor Castle
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: dynasty
function: FindAll
function: FilterStr
dependencies: 3
inputs: British Museum person-institution
152002
function: FilterConcept
dependencies: 4
inputs: dynasty
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> "dynasty" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Windsor Castle" .  } UNION { ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> "152002" .  } }
Answer: 2