Simple Question (Direct)
Simple Question
Q1599312
P937
Q56061
USER
What is the location where Heinrich Wilkens worked ?
(Q1599312,P937,c(Q56061))
action filter_type
action find
entity Q1599312
relation P937
type Q56061
['Q1599312', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1599312 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Heinrich Wilkens
action filter_type
action find
entity Heinrich Wilkens
relation work location
type administrative territorial entity
['Heinrich Wilkens', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Heinrich_Wilkens property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1599312,P937,c(Q56061))
action filter_type
action find
entity Q1599312
relation P937
type Q56061
The location Heinrich Wilkens worked is in [ANSWER]
['Q1599312', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1599312 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Berlin
The location Heinrich Wilkens worked is in Berlin
Berlin
action filter_type
action find
entity Heinrich Wilkens
relation work location
type administrative territorial entity
['Heinrich Wilkens', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Heinrich_Wilkens property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1599312
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q64,P39,c(Q12737077))
action filter_type
action find
entity Q1599312
relation P39
type Q12737077
['Q64', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1599312 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Heinrich Wilkens
action filter_type
action find
entity Heinrich Wilkens
relation position held
type occupation
['Berlin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Heinrich_Wilkens property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q17850767
SYSTEM
member of the Reichstag of the Weimar Republic
Q17850767
(Q64,P39,c(Q12737077))
action filter_type
action find
entity Q1599312
relation P39
type Q12737077
A [ANSWER] was a position for which that person was appointed
['Q64', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1599312 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
member of the Reichstag of the Weimar Republic
A member of the Reichstag of the Weimar Republic was a position for which that person was appointed
member of the Reichstag of the Weimar Republic
action filter_type
action find
entity Heinrich Wilkens
relation position held
type occupation
['Berlin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Heinrich_Wilkens property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q17850767 Q1135960 Q637829
P361
Q1752346
USER
Is that occupation a component of Parliament of Albania and Reichstag ?
(Q17850767,P361,Q1135960) (Q17850767,P361,Q637829)
action is_in
entity Q17850767
action intersection
action find_reverse
entity Q1135960
relation P361
action find_reverse
entity Q637829
relation P361
['Q17850767', 'P361', 'Q1135960'] ['Q17850767', 'P361', 'Q637829']
ASK WHERE { resource:Q17850767 property:P361 resource:Q1135960 . resource:Q17850767 property:P361 resource:Q637829 }
member of the Reichstag of the Weimar Republic Parliament of Albania Reichstag
action is_in
entity member of the Reichstag of the Weimar Republic
action intersection
action find_reverse
entity Parliament of Albania
relation part of
action find_reverse
entity Reichstag
relation part of
['member of the Reichstag of the Weimar Republic', 'part of', 'Parliament of Albania'] ['member of the Reichstag of the Weimar Republic', 'part of', 'Reichstag']
ASK WHERE { resource:member_of_the_Reichstag_of_the_Weimar_Republic property:part_of resource:Parliament_of_Albania . resource:member_of_the_Reichstag_of_the_Weimar_Republic property:part_of resource:Reichstag }
[]
assembly
SYSTEM
NO and YES respectively
(Q17850767,P361,Q1135960) (Q17850767,P361,Q637829)
action is_in
entity Q17850767
action intersection
action find_reverse
entity Q1135960
relation P361
action find_reverse
entity Q637829
relation P361
[ANSWER]
['Q17850767', 'P361', 'Q1135960'] ['Q17850767', 'P361', 'Q637829']
ASK WHERE { resource:Q17850767 property:P361 resource:Q1135960 . resource:Q17850767 property:P361 resource:Q637829 }
NO and YES respectively
action is_in
entity member of the Reichstag of the Weimar Republic
action intersection
action find_reverse
entity Parliament of Albania
relation part of
action find_reverse
entity Reichstag
relation part of
['member of the Reichstag of the Weimar Republic', 'part of', 'Parliament of Albania'] ['member of the Reichstag of the Weimar Republic', 'part of', 'Reichstag']
ASK WHERE { resource:member_of_the_Reichstag_of_the_Weimar_Republic property:part_of resource:Parliament_of_Albania . resource:member_of_the_Reichstag_of_the_Weimar_Republic property:part_of resource:Reichstag }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1440358 Q637829
P194
Q7275
USER
Which states have Reichstag or Landtag of the Kingdom of Saxony as their representative body ?
OR((c(Q7275),P194,Q637829), (c(Q7275),P194,Q1440358))
action filter_type
action union
action find_reverse
entity Q637829
relation P194
action find_reverse
entity Q1440358
relation P194
type Q7275
{'OR': [[{'concept': 'Q7275'}, 'P194', 'Q637829'], [{'concept': 'Q7275'}, 'P194', 'Q1440358']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?m ) { ( resource:Q1440358 ) ( resource:Q637829 ) } . ?g property:P194 ?m } . ?g rdf:type ontology:Q7275 }
Landtag of the Kingdom of Saxony Reichstag
action filter_type
action union
action find_reverse
entity Reichstag
relation legislative body
action find_reverse
entity Landtag of the Kingdom of Saxony
relation legislative body
type state
{'OR': [[{'concept': 'state'}, 'legislative body', 'Reichstag'], [{'concept': 'state'}, 'legislative body', 'Landtag of the Kingdom of Saxony']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?m ) { ( resource:Landtag_of_the_Kingdom_of_Saxony ) ( resource:Reichstag ) } . ?g property:legislative_body ?m } . ?g rdf:type ontology:state }
[]
state
Q153015 Q41304
SYSTEM
Kingdom of Saxony, Weimar Republic
Q153015 Q41304
OR((c(Q7275),P194,Q637829), (c(Q7275),P194,Q1440358))
action filter_type
action union
action find_reverse
entity Q637829
relation P194
action find_reverse
entity Q1440358
relation P194
type Q7275
The [ANSWERS] have Reichstag or Landtag of the Kingdom of Saxony as their representative body
{'OR': [[{'concept': 'Q7275'}, 'P194', 'Q637829'], [{'concept': 'Q7275'}, 'P194', 'Q1440358']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?m ) { ( resource:Q1440358 ) ( resource:Q637829 ) } . ?g property:P194 ?m } . ?g rdf:type ontology:Q7275 }
Kingdom of Saxony Weimar Republic
The Kingdom of Saxony and Weimar Republic have Reichstag or Landtag of the Kingdom of Saxony as their representative body
Kingdom of Saxony Weimar Republic
action filter_type
action union
action find_reverse
entity Reichstag
relation legislative body
action find_reverse
entity Landtag of the Kingdom of Saxony
relation legislative body
type state
{'OR': [[{'concept': 'state'}, 'legislative body', 'Reichstag'], [{'concept': 'state'}, 'legislative body', 'Landtag of the Kingdom of Saxony']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?m ) { ( resource:Landtag_of_the_Kingdom_of_Saxony ) ( resource:Reichstag ) } . ?g property:legislative_body ?m } . ?g rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q153015 Q41304
P17
Q1190554
USER
Which events are located in Kingdom of Saxony and Weimar Republic ?
(c(Q1190554),P17,Q153015) (c(Q1190554),P17,Q41304)
action union
action filter_type
action find_reverse
entity Q153015
relation P17
type Q1190554
action filter_type
action find_reverse
entity Q41304
relation P17
type Q1190554
[{'concept': 'Q1190554'}, 'P17', 'Q153015'] [{'concept': 'Q1190554'}, 'P17', 'Q41304']
SELECT DISTINCT ?j WHERE { ?j property:P17 ?x . VALUES ( ?x ) { ( resource:Q41304 ) ( resource:Q153015 ) } }
Kingdom of Saxony Weimar Republic
action union
action filter_type
action find_reverse
entity Kingdom of Saxony
relation country
type event
action filter_type
action find_reverse
entity Weimar Republic
relation country
type event
[{'concept': 'event'}, 'country', 'Kingdom of Saxony'] [{'concept': 'event'}, 'country', 'Weimar Republic']
SELECT DISTINCT ?j WHERE { ?j property:country ?x . VALUES ( ?x ) { ( resource:Weimar_Republic ) ( resource:Kingdom_of_Saxony ) } }
[]
event
Q151005 Q160225
SYSTEM
Battle of Leipzig, Nuremberg Rally
Q151005 Q160225
(c(Q1190554),P17,Q153015) (c(Q1190554),P17,Q41304)
action union
action filter_type
action find_reverse
entity Q153015
relation P17
type Q1190554
action filter_type
action find_reverse
entity Q41304
relation P17
type Q1190554
[ANSWERS] are located in Kingdom of Saxony and Weimar Republic
[{'concept': 'Q1190554'}, 'P17', 'Q153015'] [{'concept': 'Q1190554'}, 'P17', 'Q41304']
SELECT DISTINCT ?j WHERE { ?j property:P17 ?x . VALUES ( ?x ) { ( resource:Q41304 ) ( resource:Q153015 ) } }
Battle of Leipzig Nuremberg Rally
Battle of Leipzig and Nuremberg Rally are located in Kingdom of Saxony and Weimar Republic
Battle of Leipzig Nuremberg Rally
action union
action filter_type
action find_reverse
entity Kingdom of Saxony
relation country
type event
action filter_type
action find_reverse
entity Weimar Republic
relation country
type event
[{'concept': 'event'}, 'country', 'Kingdom of Saxony'] [{'concept': 'event'}, 'country', 'Weimar Republic']
SELECT DISTINCT ?j WHERE { ?j property:country ?x . VALUES ( ?x ) { ( resource:Weimar_Republic ) ( resource:Kingdom_of_Saxony ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q153015
P140
Q879146
USER
Which Christian denomination does that state correspond to ?
(Q153015,P140,c(Q879146))
action filter_type
action find
entity Q153015
relation P140
type Q879146
['Q153015', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { resource:Q153015 property:P140 ?d . ?d rdf:type ontology:Q879146 }
Kingdom of Saxony
action filter_type
action find
entity Kingdom of Saxony
relation religion
type Christian denomination
['Kingdom of Saxony', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { resource:Kingdom_of_Saxony property:religion ?d . ?d rdf:type ontology:Christian_denomination }
[]
Christian denomination
Clarification for simple ques.
Q153015
SYSTEM
Did you mean Kingdom of Saxony ?
Q151005 Q160225
(Q151005,P140,c(Q879146)) (Q160225,P140,c(Q879146))
[ANSWER]
['Q151005', 'P140', {'concept': 'Q879146'}] ['Q160225', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { resource:Q153015 property:P140 ?d . ?d rdf:type ontology:Q879146 }
Battle of Leipzig Nuremberg Rally
Did you mean Kingdom of Saxony ?
Kingdom of Saxony
['Battle of Leipzig', 'religion', {'concept': 'Christian denomination'}] ['Nuremberg Rally', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { resource:Kingdom_of_Saxony property:religion ?d . ?d rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
USER
Yes
(Q153015,P140,c(Q879146))
['Q153015', 'P140', {'concept': 'Q879146'}]
['Kingdom of Saxony', 'religion', {'concept': 'Christian denomination'}]
[]
Q170111
SYSTEM
Evangelical Church in Germany
Q170111
(Q153015,P140,c(Q879146))
action filter_type
action find
entity Q153015
relation P140
type Q879146
That state corresponds to [ANSWER]
['Q153015', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { resource:Q153015 property:P140 ?d . ?d rdf:type ontology:Q879146 }
Evangelical Church in Germany
That state corresponds to Evangelical Church in Germany
Evangelical Church in Germany
action filter_type
action find
entity Kingdom of Saxony
relation religion
type Christian denomination
['Kingdom of Saxony', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { resource:Kingdom_of_Saxony property:religion ?d . ?d rdf:type ontology:Christian_denomination }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1434345 Q1599312
P27
Q1048835
USER
Which political territories are the native countriesof Heinrich Wilkens and Fritz Märklin ?
AND((Q1599312,P27,c(Q1048835)), (Q1434345,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1599312
relation P27
action find
entity Q1434345
relation P27
type Q1048835
{'AND': [['Q1599312', 'P27', {'concept': 'Q1048835'}], ['Q1434345', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { resource:Q1599312 property:P27 ?j . resource:Q1434345 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Fritz Märklin Heinrich Wilkens
action filter_type
action intersection
action find
entity Heinrich Wilkens
relation country of citizenship
action find
entity Fritz Märklin
relation country of citizenship
type political territorial entity
{'AND': [['Heinrich Wilkens', 'country of citizenship', {'concept': 'political territorial entity'}], ['Fritz Märklin', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Heinrich_Wilkens property:country_of_citizenship ?j . resource:Fritz_Märklin property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q1599312,P27,c(Q1048835)), (Q1434345,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1599312
relation P27
action find
entity Q1434345
relation P27
type Q1048835
[ANSWER] is the native countriesof Heinrich Wilkens and Fritz Märklin
{'AND': [['Q1599312', 'P27', {'concept': 'Q1048835'}], ['Q1434345', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { resource:Q1599312 property:P27 ?j . resource:Q1434345 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Germany
Germany is the native countriesof Heinrich Wilkens and Fritz Märklin
Germany
action filter_type
action intersection
action find
entity Heinrich Wilkens
relation country of citizenship
action find
entity Fritz Märklin
relation country of citizenship
type political territorial entity
{'AND': [['Heinrich Wilkens', 'country of citizenship', {'concept': 'political territorial entity'}], ['Fritz Märklin', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Heinrich_Wilkens property:country_of_citizenship ?j . resource:Fritz_Märklin property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1434345
P21
Q290
USER
What is the sex of Fritz Märklin ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q1434345
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1434345 property:P21 ?q . ?q rdf:type ontology:Q290 }
Fritz Märklin
action filter_type
action find
entity Fritz Märklin
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Fritz_Märklin property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290))
action filter_type
action find
entity Q1434345
relation P21
type Q290
The sex of Fritz Märklin is the [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1434345 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Fritz Märklin is the male
male
action filter_type
action find
entity Fritz Märklin
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Fritz_Märklin property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1434345
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1434345
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1434345 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Fritz Märklin
action filter_type
action find
entity Fritz Märklin
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Fritz_Märklin property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q131524
SYSTEM
entrepreneur
Q131524
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1434345
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1434345 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
entrepreneur
That person does an entrepreneur for a living
entrepreneur
action filter_type
action find
entity Fritz Märklin
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Fritz_Märklin property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q879146 Q56061 Q874405
USER
Which Christian denominations are min number of administrative territories and social groups a component of ?
(c(Q56061)|c(Q874405),P361,c(Q879146))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action find_reverse_tuple_counts
relation P361
type Q879146
type Q874405
[[{'concept': 'Q56061'}, {'concept': 'Q874405'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?l WHERE { { ?z property:P361 ?l . ?l rdf:type ontology:Q879146 . ?z rdf:type ontology:Q56061 } UNION { ?z property:P361 ?l . ?l rdf:type ontology:Q879146 . ?z rdf:type ontology:Q874405 } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?r WHERE { VALUES ( ?k ) { ( ontology:Q56061 ) ( ontology:Q874405 ) } . ?y rdf:type ?k } GROUP BY ?r } . FILTER ( ?i = ?s ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type Christian denomination
type social group
[[{'concept': 'administrative territorial entity'}, {'concept': 'social group'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?l WHERE { { ?z property:part_of ?l . ?l rdf:type ontology:Christian_denomination . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z property:part_of ?l . ?l rdf:type ontology:Christian_denomination . ?z rdf:type ontology:social_group } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?r WHERE { VALUES ( ?k ) { ( ontology:administrative_territorial_entity ) ( ontology:social_group ) } . ?y rdf:type ?k } GROUP BY ?r } . FILTER ( ?i = ?s ) }
[]
Christian denomination administrative territorial entity social group
Q752470 Q1379849 Q1089788
SYSTEM
Finnish Orthodox Church, Evangelical Lutheran Church of Finland, Church in Wales
Q682443 Q666860 Q752470 Q346575 Q749243 Q540782 Q922480 Q1089788 Q1379849
(c(Q56061)|c(Q874405),P361,c(Q879146))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action find_reverse_tuple_counts
relation P361
type Q879146
type Q874405
Are min number of administrative territories and social groups a component of the [ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q874405'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?l WHERE { { ?z property:P361 ?l . ?l rdf:type ontology:Q879146 . ?z rdf:type ontology:Q56061 } UNION { ?z property:P361 ?l . ?l rdf:type ontology:Q879146 . ?z rdf:type ontology:Q874405 } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?r WHERE { VALUES ( ?k ) { ( ontology:Q56061 ) ( ontology:Q874405 ) } . ?y rdf:type ?k } GROUP BY ?r } . FILTER ( ?i = ?s ) }
Episcopal Church Church of Norway Finnish Orthodox Church Evangelical Church Church of Sweden Anglican Church of Canada Church of Scotland Church in Wales Evangelical Lutheran Church of Finland
Are min number of administrative territories and social groups a component of the Finnish Orthodox Church, Evangelical Lutheran Church of Finland and Church in Wales
Finnish Orthodox Church Evangelical Lutheran Church of Finland Church in Wales
action argmin
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type Christian denomination
type social group
[[{'concept': 'administrative territorial entity'}, {'concept': 'social group'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?l WHERE { { ?z property:part_of ?l . ?l rdf:type ontology:Christian_denomination . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z property:part_of ?l . ?l rdf:type ontology:Christian_denomination . ?z rdf:type ontology:social_group } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?r WHERE { VALUES ( ?k ) { ( ontology:administrative_territorial_entity ) ( ontology:social_group ) } . ?y rdf:type ?k } GROUP BY ?r } . FILTER ( ?i = ?s ) }
[]