Simple Question (Direct)
Simple Question
Q1529893
P20
Q56061
USER
Where did the demise of Hans Wolfgang Hillers occur ?
(Q1529893,P20,c(Q56061))
action filter_type
action find
entity Q1529893
relation P20
type Q56061
['Q1529893', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1529893 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Hans Wolfgang Hillers
action filter_type
action find
entity Hans Wolfgang Hillers
relation place of death
type administrative territorial entity
['Hans Wolfgang Hillers', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Hans_Wolfgang_Hillers property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
(Q1529893,P20,c(Q56061))
action filter_type
action find
entity Q1529893
relation P20
type Q56061
The demise of Hans Wolfgang Hillers occurred in [ANSWER]
['Q1529893', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1529893 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Düsseldorf
The demise of Hans Wolfgang Hillers occurred in Düsseldorf
Düsseldorf
action filter_type
action find
entity Hans Wolfgang Hillers
relation place of death
type administrative territorial entity
['Hans Wolfgang Hillers', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Hans_Wolfgang_Hillers property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1718
P84
Q1076486
USER
Which sports venue was that administrative territory the designer of ?
(c(Q1076486),P84,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P84
type Q1076486
[{'concept': 'Q1076486'}, 'P84', 'Q1718']
SELECT DISTINCT ?i WHERE { ?i property:P84 resource:Q1718 . ?i rdf:type ontology:Q1076486 }
Düsseldorf
action filter_type
action find_reverse
entity Düsseldorf
relation architect
type sports venue
[{'concept': 'sports venue'}, 'architect', 'Düsseldorf']
SELECT DISTINCT ?i WHERE { ?i property:architect resource:Düsseldorf . ?i rdf:type ontology:sports_venue }
[]
sports venue
Q206135
SYSTEM
Red Bull Arena
Q206135
(c(Q1076486),P84,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P84
type Q1076486
[ANSWER] was that administrative territory the designer of
[{'concept': 'Q1076486'}, 'P84', 'Q1718']
SELECT DISTINCT ?i WHERE { ?i property:P84 resource:Q1718 . ?i rdf:type ontology:Q1076486 }
Red Bull Arena
Red Bull Arena was that administrative territory the designer of
Red Bull Arena
action filter_type
action find_reverse
entity Düsseldorf
relation architect
type sports venue
[{'concept': 'sports venue'}, 'architect', 'Düsseldorf']
SELECT DISTINCT ?i WHERE { ?i property:architect resource:Düsseldorf . ?i rdf:type ontology:sports_venue }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q40690 Q1718
P47
Q15617994
USER
Which administrative territories have a shared border with Düsseldorf or Forcola ?
OR((Q1718,P47,c(Q15617994)), (Q40690,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1718
relation P47
action find
entity Q40690
relation P47
type Q15617994
{'OR': [['Q1718', 'P47', {'concept': 'Q15617994'}], ['Q40690', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { VALUES ( ?p ) { ( resource:Q1718 ) ( resource:Q40690 ) } . ?p property:P47 ?w } }
Forcola Düsseldorf
action filter_type
action union
action find
entity Düsseldorf
relation shares border with
action find
entity Forcola
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Düsseldorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Forcola', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?p ) { ( resource:Düsseldorf ) ( resource:Forcola ) } . ?p property:shares_border_with ?w } }
[]
designation for an administrative territorial entity
Q4105 Q39384 Q4094 Q3791 Q39905 Q39136 Q40766 Q6968 Q39204 Q14878
SYSTEM
Some of them are Meerbusch, Buglio in Monte, Hilden, Ratingen, Ardenno, Colorina, Fusine, Erkrath, Tartano, Mettmann
Q3791 Q6968 Q39384 Q39204 Q4105 Q40880 Q14878 Q40766 Q39136 Q4048 Q39905 Q4094
OR((Q1718,P47,c(Q15617994)), (Q40690,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1718
relation P47
action find
entity Q40690
relation P47
type Q15617994
[ANSWERS] have a shared border with Düsseldorf or Forcola
{'OR': [['Q1718', 'P47', {'concept': 'Q15617994'}], ['Q40690', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { VALUES ( ?p ) { ( resource:Q1718 ) ( resource:Q40690 ) } . ?p property:P47 ?w } }
Ratingen Erkrath Buglio in Monte Tartano Meerbusch Talamona Mettmann Fusine Colorina Langenfeld Ardenno Hilden
Meerbusch, Buglio in Monte, Hilden, Ratingen, Ardenno, Colorina, Fusine, Erkrath, Tartano and Mettmann have a shared border with Düsseldorf or Forcola
Meerbusch Buglio in Monte Hilden Ratingen Ardenno Colorina Fusine Erkrath Tartano Mettmann
action filter_type
action union
action find
entity Düsseldorf
relation shares border with
action find
entity Forcola
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Düsseldorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Forcola', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?p ) { ( resource:Düsseldorf ) ( resource:Forcola ) } . ?p property:shares_border_with ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atleast 23 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 23
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?l ) WHERE { ?j property:P530 ?r . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?l >= 23 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 23
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?l ) WHERE { ?j property:diplomatic_relation ?r . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?l >= 23 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
4
Q155 Q38 Q230 Q184
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 23
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?l ) WHERE { ?j property:P530 ?r . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?l >= 23 ) }
Brazil Italy Georgia Belarus
4
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 23
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?l ) WHERE { ?j property:diplomatic_relation ?r . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?l >= 23 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1718 Q10561018
P706
Q107425
USER
How many landscapes are the location where Düsseldorf or Libertus are located ?
(Q1718,P706,c(Q107425)) (Q10561018,P706,c(Q107425))
action count
action union
action filter_type
action find
entity Q1718
relation P706
type Q107425
action filter_type
action find
entity Q10561018
relation P706
type Q107425
['Q1718', 'P706', {'concept': 'Q107425'}] ['Q10561018', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?l ) { ( resource:Q10561018 ) ( resource:Q1718 ) } . ?l property:P706 ?k }
Düsseldorf Libertus
action count
action union
action filter_type
action find
entity Düsseldorf
relation located on terrain feature
type landscape
action filter_type
action find
entity Libertus
relation located on terrain feature
type landscape
['Düsseldorf', 'located on terrain feature', {'concept': 'landscape'}] ['Libertus', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?l ) { ( resource:Libertus ) ( resource:Düsseldorf ) } . ?l property:located_on_terrain_feature ?k }
[]
landscape
SYSTEM
2
Q753719 Q212520
(Q1718,P706,c(Q107425)) (Q10561018,P706,c(Q107425))
action count
action union
action filter_type
action find
entity Q1718
relation P706
type Q107425
action filter_type
action find
entity Q10561018
relation P706
type Q107425
[ANSWER]
['Q1718', 'P706', {'concept': 'Q107425'}] ['Q10561018', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?l ) { ( resource:Q10561018 ) ( resource:Q1718 ) } . ?l property:P706 ?k }
Fjäderholmarna Lower Rhine Plain
2
action count
action union
action filter_type
action find
entity Düsseldorf
relation located on terrain feature
type landscape
action filter_type
action find
entity Libertus
relation located on terrain feature
type landscape
['Düsseldorf', 'located on terrain feature', {'concept': 'landscape'}] ['Libertus', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?l ) { ( resource:Libertus ) ( resource:Düsseldorf ) } . ?l property:located_on_terrain_feature ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3791
P17
Q1048835
USER
Which political territory is Ratingen located in ?
(Q3791,P17,c(Q1048835))
action filter_type
action find
entity Q3791
relation P17
type Q1048835
['Q3791', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q3791 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Ratingen
action filter_type
action find
entity Ratingen
relation country
type political territorial entity
['Ratingen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Ratingen property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q3791,P17,c(Q1048835))
action filter_type
action find
entity Q3791
relation P17
type Q1048835
Ratingen is located in [ANSWER]
['Q3791', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q3791 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Ratingen is located in Germany
Germany
action filter_type
action find
entity Ratingen
relation country
type political territorial entity
['Ratingen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Ratingen property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P194
Q11204
USER
Which legislature is the legislative body for that political territory ?
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?v WHERE { resource:Q183 property:P194 ?v . ?v rdf:type ontology:Q11204 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?v WHERE { resource:Germany property:legislative_body ?v . ?v rdf:type ontology:legislature }
[]
legislature
Q146138
SYSTEM
Bundesrat
Q146138
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
[ANSWER] is the legislative body for that political territory
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?v WHERE { resource:Q183 property:P194 ?v . ?v rdf:type ontology:Q11204 }
Bundesrat
Bundesrat is the legislative body for that political territory
Bundesrat
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?v WHERE { resource:Germany property:legislative_body ?v . ?v rdf:type ontology:legislature }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q11204 Q56061 Q502895
USER
Which legislatures are approximately the same number of administrative territories and people a component of as that legislature ?
(c(Q56061)|c(Q502895),P361,c(Q11204))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q11204
type Q56061
action find_reverse_tuple_counts
relation P361
type Q11204
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q146138
relation P361
type Q56061
type Q502895
[[{'concept': 'Q56061'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { { ?q rdf:type ontology:Q56061 } UNION { ?q rdf:type ontology:Q502895 } } . ?q property:P361 resource:Q146138 } } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?i WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q502895 ) } } GROUP BY ?i } }
action approx
action union
action find_reverse_tuple_counts
relation part of
type legislature
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type legislature
type common name
action count
action filter_multi_types
action find_reverse
entity Bundesrat
relation part of
type administrative territorial entity
type common name
[[{'concept': 'administrative territorial entity'}, {'concept': 'common name'}], 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { { ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q rdf:type ontology:common_name } } . ?q property:part_of resource:Bundesrat } } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?i WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:common_name ) } } GROUP BY ?i } }
[]
legislature administrative territorial entity common name
Q2529439 Q11268 Q1516914
SYSTEM
Czech National Council, United States Congress, Legislative Assembly of New Brunswick
Q6064424 Q7903336 Q1427127 Q494162 Q1544714 Q2867079 Q6733343 Q24563 Q3687390 Q4817650 Q1479761 Q7700086 Q1280186 Q1319595 Q7681292 Q1149644 Q715869 Q3084210 Q1812873 Q202384 Q374152 Q897278 Q7101257 Q135630 Q2653964 Q6879217 Q1269555 Q1484102 Q530970 Q3270276 Q10566263 Q1136026 Q680806 Q980284 Q2867077 Q2867076 Q5684411 Q11268 Q1337463 Q7010195 Q1577811 Q4345425 Q217799 Q330600 Q285714 Q6518465 Q457869 Q1138071 Q10566065 Q7320919 Q1563896 Q1579497 Q1386962 Q2304409 Q7450030 Q2747168 Q1138357 Q3634937 Q1287831 Q7972258 Q5253303 Q650066 Q7008154 Q570619 Q3462542 Q1437547 Q1453540 Q3270273 Q764201 Q3270271 Q7566128 Q3270274 Q7080820 Q7986861 Q4348725 Q2747172 Q1267064 Q5161534 Q1854129 Q1969578 Q3556484 Q5148810 Q3270268 Q3270265 Q3270264 Q146138 Q1139228 Q2529439 Q812372 Q583952 Q14468380 Q129821 Q1127198 Q1516914 Q1246562 Q539149 Q1573424 Q7055026 Q493517 Q1684080 Q1287548 Q630145 Q2384499 Q6879566 Q827704 Q2386705 Q2052850 Q4256974 Q320273 Q996610 Q7054573 Q1137059 Q3244676 Q920222 Q719894 Q1765001 Q6689290 Q740533 Q1281107 Q1573929 Q818708 Q6392265 Q2396996 Q1492249 Q1117432 Q16057514 Q3687389 Q131279 Q1297237 Q3103766 Q1139363 Q3555619 Q19211 Q1784088 Q3567567 Q17443556 Q1512579 Q7478146 Q2749841
(c(Q56061)|c(Q502895),P361,c(Q11204))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q11204
type Q56061
action find_reverse_tuple_counts
relation P361
type Q11204
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q146138
relation P361
type Q56061
type Q502895
[ANSWERS] are approximately the same number of administrative territories and people a component of as that legislature
[[{'concept': 'Q56061'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { { ?q rdf:type ontology:Q56061 } UNION { ?q rdf:type ontology:Q502895 } } . ?q property:P361 resource:Q146138 } } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?i WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q502895 ) } } GROUP BY ?i } }
Iowa General Assembly Uttar Pradesh Legislature The Gambia National Assembly National Assembly State Great Khural New Jersey Legislature Maharashtra Legislative Assembly National Parliament of Papua New Guinea Regional Council of Veneto Austrian Parliament Federal National Council Tennessee General Assembly Legislature of the Marshall Islands National Assembly Tamil Nadu Legislative Assembly Landtag of Liechtenstein Legislative Yuan California State Legislature Legislative Assembly of El Salvador National Diet Seimas Parliament of Tuvalu Oregon Legislative Assembly Parliament of Catalonia Texas Legislature Mississippi Legislature Legislative Assembly of Samoa House of Representatives Virginia General Assembly Wyoming Legislature North Carolina General Assembly Congress of Guatemala National Parliament South Carolina General Assembly Pennsylvania General Assembly Vermont General Assembly Hawaii State Legislature United States Congress National Assembly of Armenia New Mexico Legislature National Assembly Parliament of Fiji Islands Riigikogu National Assembly of Azerbaijan Northern Ireland Assembly Legislature of the Virgin Islands Federal Assembly of the Russian Federation National Assembly Maryland General Assembly Rhode Island General Assembly Legislature of Guam Parliament of Montenegro Legislative Assembly of Costa Rica South Dakota Legislature Senate of Northern Ireland Arkansas General Assembly House of Assembly of Saint Vincent and the Grenadines Indiana General Assembly Legislative Assembly of Tonga Washington State Legislature Delaware General Assembly People's Majlis New Hampshire General Court House of Assembly of Barbados Kerala Legislative Assembly Illinois General Assembly Massachusetts General Court Michigan Legislature Parliament of Vanuatu Kansas Legislature South Australian Legislative Council Wisconsin Legislature Ohio General Assembly West Virginia Legislature Diet of Finland Arizona State Legislature National Assembly Connecticut General Assembly National Assembly National Assembly Florida Legislature Colorado General Assembly New York State Legislature Alabama Legislature legislature of a U.S. state Bundesrat National Assembly Czech National Council Bavarian Senate Oklahoma Legislature Parliament of Kenya Oireachtas National Council Legislative Assembly of New Brunswick Assembly of Kosovo Congress of Deputies Assembly of the Union of the Comoros North Dakota Legislative Assembly National Assembly for Wales Jatiyo Sangshad Congress of the Federated States of Micronesia Assembly of Turkmenistan Utah State Legislature Missouri General Assembly Tynwald National Assembly Parliament of Uganda Idaho Legislature Nova Scotia House of Assembly Nebraska Legislature North Carolina Provincial Congress Belgian Federal Parliament New South Wales Legislative Council National Assembly Alaska Legislature National Assembly Louisiana State Legislature National People's Assembly House of Assembly of Kiribati National Assembly Consultative Assembly of Saudi Arabia Kentucky General Assembly Legislative Council of Brunei National Assembly of Quebec Minnesota Legislature 2nd Nepalese Constituent Assembly Regional council of Trentino-Alto Adige/Südtirol Althing House of Assembly of Dominica Georgia General Assembly National Assembly Nevada Legislature National People's Congress National Assembly Montana Legislature House of Representatives National Assembly Pontifical Commission for Vatican City State Maine Legislature
Czech National Council, United States Congress and Legislative Assembly of New Brunswick are approximately the same number of administrative territories and people a component of as that legislature
Czech National Council United States Congress Legislative Assembly of New Brunswick
action approx
action union
action find_reverse_tuple_counts
relation part of
type legislature
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type legislature
type common name
action count
action filter_multi_types
action find_reverse
entity Bundesrat
relation part of
type administrative territorial entity
type common name
[[{'concept': 'administrative territorial entity'}, {'concept': 'common name'}], 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { { ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q rdf:type ontology:common_name } } . ?q property:part_of resource:Bundesrat } } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?i WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:common_name ) } } GROUP BY ?i } }
[]