Question: How many social groups have the dynasty whose country is England (the one whose native label is Kingdom of England) as a part?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "social group" . ?e_1 <part_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "dynasty" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "England" . ?e_2 <native_label> ?pv . ?pv <pred:value> "Kingdom of England" .   }
Program:
function: Find
inputs: England
function: FilterStr
dependencies: 0
inputs: native label
Kingdom of England
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: dynasty
function: Relate
dependencies: 3
inputs: part of
forward
function: FilterConcept
dependencies: 4
inputs: social group
function: Count
dependencies: 5