Question: How many dynasties are named after Windsor Castle or whose name in native language is ᠪᠣᠷᠵᠢᠭᠢᠨ?
Choices:
1
2
3
4
5
6
7
8
9
10
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: name in native language
ᠪᠣᠷᠵᠢᠭᠢᠨ
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 <name_in_native_language> ?pv . ?pv <pred:value> "ᠪᠣᠷᠵᠢᠭᠢᠨ" .  } }
Answer: 2