Simple Question (Direct)
Simple Question
Q1468598
P937
Q56061
USER
What is the work location of Fritz Söhlmann ?
(Q1468598,P937,c(Q56061))
action filter_type
action find
entity Q1468598
relation P937
type Q56061
['Q1468598', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1468598 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Fritz Söhlmann
action filter_type
action find
entity Fritz Söhlmann
relation work location
type administrative territorial entity
['Fritz Söhlmann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Fritz_Söhlmann property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1715
SYSTEM
Hanover
Q1715
(Q1468598,P937,c(Q56061))
action filter_type
action find
entity Q1468598
relation P937
type Q56061
The work location of Fritz Söhlmann is in [ANSWER]
['Q1468598', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1468598 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Hanover
The work location of Fritz Söhlmann is in Hanover
Hanover
action filter_type
action find
entity Fritz Söhlmann
relation work location
type administrative territorial entity
['Fritz Söhlmann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Fritz_Söhlmann property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1715
P36
Q7275
USER
Which state contains that administrative territory as its capital ?
(c(Q7275),P36,Q1715)
action filter_type
action find_reverse
entity Q1715
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q1715']
SELECT DISTINCT ?v WHERE { ?v property:P36 resource:Q1715 . ?v rdf:type ontology:Q7275 }
Hanover
action filter_type
action find_reverse
entity Hanover
relation capital
type state
[{'concept': 'state'}, 'capital', 'Hanover']
SELECT DISTINCT ?v WHERE { ?v property:capital resource:Hanover . ?v rdf:type ontology:state }
[]
state
Q164079
SYSTEM
Kingdom of Hanover
Q164079
(c(Q7275),P36,Q1715)
action filter_type
action find_reverse
entity Q1715
relation P36
type Q7275
Hanover [ANSWER] contains that administrative territory as its capital
[{'concept': 'Q7275'}, 'P36', 'Q1715']
SELECT DISTINCT ?v WHERE { ?v property:P36 resource:Q1715 . ?v rdf:type ontology:Q7275 }
Kingdom of Hanover
Hanover Kingdom of Hanover contains that administrative territory as its capital
Kingdom of Hanover
action filter_type
action find_reverse
entity Hanover
relation capital
type state
[{'concept': 'state'}, 'capital', 'Hanover']
SELECT DISTINCT ?v WHERE { ?v property:capital resource:Hanover . ?v rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q164079 Q556971
P17
Q15617994
USER
Is Busdorf present in that state ?
(Q556971,P17,Q164079)
action is_in
entity Q556971
action find
entity Q164079
relation P17
['Q556971', 'P17', 'Q164079']
ASK WHERE { resource:Q164079 property:P17 resource:Q556971 }
Kingdom of Hanover Busdorf
action is_in
entity Busdorf
action find
entity Kingdom of Hanover
relation country
['Busdorf', 'country', 'Kingdom of Hanover']
ASK WHERE { resource:Kingdom_of_Hanover property:country resource:Busdorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q556971,P17,Q164079)
action is_in
entity Q556971
action find
entity Q164079
relation P17
[ANSWER]
['Q556971', 'P17', 'Q164079']
ASK WHERE { resource:Q164079 property:P17 resource:Q556971 }
No
action is_in
entity Busdorf
action find
entity Kingdom of Hanover
relation country
['Busdorf', 'country', 'Kingdom of Hanover']
ASK WHERE { resource:Kingdom_of_Hanover property:country resource:Busdorf }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1715 Q30974 Q6730
P190
Q20667921
USER
Is Hanover twin town of Rouen and Perpignan ?
(Q1715,P190,Q30974) (Q1715,P190,Q6730)
action is_in
entity Q1715
action intersection
action find_reverse
entity Q30974
relation P190
action find_reverse
entity Q6730
relation P190
['Q1715', 'P190', 'Q30974'] ['Q1715', 'P190', 'Q6730']
ASK WHERE { resource:Q1715 property:P190 resource:Q30974 . resource:Q1715 property:P190 resource:Q6730 }
Hanover Rouen Perpignan
action is_in
entity Hanover
action intersection
action find_reverse
entity Rouen
relation sister city
action find_reverse
entity Perpignan
relation sister city
['Hanover', 'sister city', 'Rouen'] ['Hanover', 'sister city', 'Perpignan']
ASK WHERE { resource:Hanover property:sister_city resource:Rouen . resource:Hanover property:sister_city resource:Perpignan }
[]
type of french administrative division
SYSTEM
YES
(Q1715,P190,Q30974) (Q1715,P190,Q6730)
action is_in
entity Q1715
action intersection
action find_reverse
entity Q30974
relation P190
action find_reverse
entity Q6730
relation P190
[ANSWER]
['Q1715', 'P190', 'Q30974'] ['Q1715', 'P190', 'Q6730']
ASK WHERE { resource:Q1715 property:P190 resource:Q30974 . resource:Q1715 property:P190 resource:Q6730 }
Yes
action is_in
entity Hanover
action intersection
action find_reverse
entity Rouen
relation sister city
action find_reverse
entity Perpignan
relation sister city
['Hanover', 'sister city', 'Rouen'] ['Hanover', 'sister city', 'Perpignan']
ASK WHERE { resource:Hanover property:sister_city resource:Rouen . resource:Hanover property:sister_city resource:Perpignan }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q156038
P194
Q11204 Q1752346 Q7275
USER
Which states have around the same number of legislatures or assemblies as their legislative body as Duchy of Courland and Semigallia ?
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q156038
relation P194
type Q11204
type Q1752346
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { { ?j property:P194 ?m . ?j rdf:type ontology:Q7275 . ?m rdf:type ontology:Q11204 } UNION { ?j property:P194 ?m . ?j rdf:type ontology:Q7275 . ?m rdf:type ontology:Q1752346 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q156038 property:P194 ?o . { { ?o rdf:type ontology:Q11204 } UNION { ?o rdf:type ontology:Q1752346 } } } } . FILTER ( ?z = ?n ) }
Duchy of Courland and Semigallia
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Duchy of Courland and Semigallia
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { { ?j property:legislative_body ?m . ?j rdf:type ontology:state . ?m rdf:type ontology:legislature } UNION { ?j property:legislative_body ?m . ?j rdf:type ontology:state . ?m rdf:type ontology:assembly } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Duchy_of_Courland_and_Semigallia property:legislative_body ?o . { { ?o rdf:type ontology:legislature } UNION { ?o rdf:type ontology:assembly } } } } . FILTER ( ?z = ?n ) }
[]
legislature assembly state
Q980 Q518101 Q26273
SYSTEM
Bavaria, First Republic of Austria, Sint Maarten
Q241748 Q774783 Q105092 Q70802 Q842931 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q25279 Q174193 Q233263 Q330988 Q27306 Q533558 Q1044536 Q21203 Q215530 Q488521 Q161885 Q328818 Q2638486 Q171150 Q1789596 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q1062422 Q15864 Q844250 Q303421 Q2396442 Q178038 Q386496 Q71092 Q217230 Q170072 Q146328 Q58296 Q371334 Q156038 Q824489 Q7314513 Q1140152 Q615902 Q1077630 Q491559 Q154195 Q368986 Q285658 Q156020 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q487687 Q161036 Q41304
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q156038
relation P194
type Q11204
type Q1752346
[ANSWERS] have around the same number of legislatures or assemblies as their legislative body as Duchy of Courland and Semigallia
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { { ?j property:P194 ?m . ?j rdf:type ontology:Q7275 . ?m rdf:type ontology:Q11204 } UNION { ?j property:P194 ?m . ?j rdf:type ontology:Q7275 . ?m rdf:type ontology:Q1752346 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q156038 property:P194 ?o . { { ?o rdf:type ontology:Q11204 } UNION { ?o rdf:type ontology:Q1752346 } } } } . FILTER ( ?z = ?n ) }
Kingdom of Serbia Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Curaçao United Kingdom of Great Britain and Ireland Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Kingdom of Croatia-Slavonia Spain under the Restoration Aruba Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Cambodia Kingdom of Hungary Croatia in personal union with Hungary Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Konbaung Dynasty United Kingdom of the Netherlands Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Kingdom of Montenegro Second French Empire Empire of Brazil Dutch Republic Commonwealth of the Philippines French Republic Second Mexican Empire Duchy of Courland and Semigallia Estado Novo Republic of South Carolina Irish Republic Kingdom of Finland Septinsular Republic First Republic of South Korea Kingdom of Bavaria Republic of Mississippi First Mexican Empire State of the Teutonic Order First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Third Republic of South Korea Free State of Prussia Weimar Republic
Bavaria, First Republic of Austria and Sint Maarten have around the same number of legislatures or assemblies as their legislative body as Duchy of Courland and Semigallia
Bavaria First Republic of Austria Sint Maarten
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Duchy of Courland and Semigallia
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { { ?j property:legislative_body ?m . ?j rdf:type ontology:state . ?m rdf:type ontology:legislature } UNION { ?j property:legislative_body ?m . ?j rdf:type ontology:state . ?m rdf:type ontology:assembly } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Duchy_of_Courland_and_Semigallia property:legislative_body ?o . { { ?o rdf:type ontology:legislature } UNION { ?o rdf:type ontology:assembly } } } } . FILTER ( ?z = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q285658
P194
Q11204 Q1752346 Q7275
USER
And how about First Mexican Empire?
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q285658
relation P194
type Q11204
type Q1752346
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?g WHERE { { ?g property:P194 ?c . ?g rdf:type ontology:Q7275 . ?c rdf:type ontology:Q11204 } UNION { ?g property:P194 ?c . ?c rdf:type ontology:Q1752346 . ?g rdf:type ontology:Q7275 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q285658 property:P194 ?k . { ?k rdf:type ?q . VALUES ( ?q ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?i = ?w ) }
First Mexican Empire
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity First Mexican Empire
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?g WHERE { { ?g property:legislative_body ?c . ?g rdf:type ontology:state . ?c rdf:type ontology:legislature } UNION { ?g property:legislative_body ?c . ?c rdf:type ontology:assembly . ?g rdf:type ontology:state } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:First_Mexican_Empire property:legislative_body ?k . { ?k rdf:type ?q . VALUES ( ?q ) { ( ontology:legislature ) ( ontology:assembly ) } } } } . FILTER ( ?i = ?w ) }
[]
legislature assembly state
Q980 Q518101 Q26273
SYSTEM
Bavaria, First Republic of Austria, Sint Maarten
Q241748 Q774783 Q105092 Q70802 Q842931 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q25279 Q174193 Q233263 Q330988 Q27306 Q533558 Q1044536 Q21203 Q215530 Q488521 Q161885 Q328818 Q2638486 Q171150 Q1789596 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q1062422 Q15864 Q844250 Q303421 Q2396442 Q178038 Q386496 Q71092 Q217230 Q170072 Q146328 Q58296 Q371334 Q156038 Q824489 Q7314513 Q1140152 Q615902 Q1077630 Q491559 Q154195 Q368986 Q285658 Q156020 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q487687 Q161036 Q41304
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q285658
relation P194
type Q11204
type Q1752346
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?g WHERE { { ?g property:P194 ?c . ?g rdf:type ontology:Q7275 . ?c rdf:type ontology:Q11204 } UNION { ?g property:P194 ?c . ?c rdf:type ontology:Q1752346 . ?g rdf:type ontology:Q7275 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q285658 property:P194 ?k . { ?k rdf:type ?q . VALUES ( ?q ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?i = ?w ) }
Kingdom of Serbia Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Curaçao United Kingdom of Great Britain and Ireland Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Kingdom of Croatia-Slavonia Spain under the Restoration Aruba Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Cambodia Kingdom of Hungary Croatia in personal union with Hungary Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Konbaung Dynasty United Kingdom of the Netherlands Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Kingdom of Montenegro Second French Empire Empire of Brazil Dutch Republic Commonwealth of the Philippines French Republic Second Mexican Empire Duchy of Courland and Semigallia Estado Novo Republic of South Carolina Irish Republic Kingdom of Finland Septinsular Republic First Republic of South Korea Kingdom of Bavaria Republic of Mississippi First Mexican Empire State of the Teutonic Order First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Third Republic of South Korea Free State of Prussia Weimar Republic
Bavaria First Republic of Austria Sint Maarten
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity First Mexican Empire
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?g WHERE { { ?g property:legislative_body ?c . ?g rdf:type ontology:state . ?c rdf:type ontology:legislature } UNION { ?g property:legislative_body ?c . ?c rdf:type ontology:assembly . ?g rdf:type ontology:state } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:First_Mexican_Empire property:legislative_body ?k . { ?k rdf:type ?q . VALUES ( ?q ) { ( ontology:legislature ) ( ontology:assembly ) } } } } . FILTER ( ?i = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16934215
P194
Q11204 Q7275
USER
Which legislatures are the legislative bodies for around the same number of states as Nottinghamshire County Council ?
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q16934215
relation P194
type Q11204
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Q16934215 property:P194 ?q . ?q rdf:type ontology:Q11204 } } . FILTER ( ?e = ?y ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P194 ?j . ?j rdf:type ontology:Q11204 . ?v rdf:type ontology:Q7275 } GROUP BY ?j } }
Nottinghamshire County Council
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Nottinghamshire County Council
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Nottinghamshire_County_Council property:legislative_body ?q . ?q rdf:type ontology:legislature } } . FILTER ( ?e = ?y ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:legislative_body ?j . ?j rdf:type ontology:legislature . ?v rdf:type ontology:state } GROUP BY ?j } }
[]
legislature state
Q11268 Q19208 Q3687390
SYSTEM
United States Congress, Legislative Council of Hong Kong, Regional Council of Veneto
Q6064424 Q7101400 Q2518570 Q2304409 Q2650715 Q3365321 Q2656777 Q6386149 Q2867079 Q320501 Q550133 Q5692374 Q589022 Q19208 Q3556484 Q3687390 Q3687397 Q4817650 Q2994027 Q3687394 Q22330280 Q7700086 Q1643140 Q2994248 Q3084210 Q1319595 Q2993961 Q5783861 Q7681292 Q5783863 Q5783866 Q1281107 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q22443324 Q595411 Q22443327 Q22360043 Q7101257 Q2564988 Q135630 Q4902948 Q2653964 Q7320919 Q2994272 Q374152 Q19211 Q530970 Q4313275 Q5261561 Q1136026 Q680806 Q2867077 Q19606559 Q2707406 Q5684411 Q11268 Q5025648 Q7010195 Q4345425 Q217799 Q330600 Q285714 Q1514096 Q6518465 Q457869 Q10566065 Q2994267 Q2994263 Q2994260 Q1386962 Q22443273 Q14562584 Q22443277 Q5783847 Q5783845 Q131279 Q5783843 Q2747168 Q5783841 Q3634937 Q22443275 Q5783849 Q2994073 Q7972258 Q5253303 Q579836 Q7008154 Q3625554 Q2993782 Q647976 Q1437547 Q1453540 Q3270273 Q764201 Q3270271 Q3270276 Q3687391 Q3270274 Q2080399 Q5783859 Q7080820 Q7986861 Q5783851 Q5783853 Q5783856 Q2747172 Q3687395 Q5161534 Q22330307 Q7051064 Q5399679 Q2386705 Q5148810 Q6386198 Q3270268 Q1484102 Q3270265 Q4303926 Q146138 Q775994 Q22443253 Q5783828 Q16934215 Q17017103 Q897278 Q5783824 Q5783833 Q5783826 Q5783821 Q583952 Q14468380 Q6527389 Q1127198 Q5783831 Q688346 Q2741727 Q2301457 Q14562680 Q5160905 Q274918 Q7604031 Q7055026 Q493517 Q1684080 Q2994252 Q2994253 Q2384499 Q2994255 Q2994239 Q6879566 Q5783839 Q5783837 Q2994234 Q2994235 Q4256974 Q2994237 Q996610 Q1137059 Q3462542 Q719894 Q10566263 Q22443256 Q16996347 Q5018721 Q3687399 Q2565909 Q2994249 Q6689290 Q22443317 Q2994245 Q2994244 Q3365495 Q4938196 Q2994241 Q2994240 Q2994243 Q1563736 Q920609 Q2867076 Q693192 Q6664413 Q6392265 Q7082403 Q250641 Q202384 Q4791449 Q1117432 Q3687389 Q2742602 Q18342090 Q3555619 Q3687386 Q3687387 Q3567567 Q17443556 Q129821 Q7478146 Q2749841 Q3658756 Q22569956
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q16934215
relation P194
type Q11204
[ANSWERS] are the legislative bodies for around the same number of states as Nottinghamshire County Council
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Q16934215 property:P194 ?q . ?q rdf:type ontology:Q11204 } } . FILTER ( ?e = ?y ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P194 ?j . ?j rdf:type ontology:Q11204 . ?v rdf:type ontology:Q7275 } GROUP BY ?j } }
Iowa General Assembly Oregon Territorial Legislature Regional Council of Rhône-Alpes South Dakota Legislature General Council of Loiret Legislative Assembly of the Falkland Islands Parliament of Transnistria Lancashire County Council New Jersey Legislature Landtag Legislative Assembly of Macau Legislative Council of Carabobo Regional Council of Lorraine Legislative Council of Hong Kong Florida Legislature Regional Council of Veneto Regional Council of Sardinia Austrian Parliament Seine-Saint-Denis General Council Regional Council of Calabria Cebu Provincial Board Tennessee General Assembly Niue Assembly Regional Council of Languedoc-Roussillon California State Legislature National Assembly general council of Meurthe-et-Moselle Legislative Council of Vargas Tamil Nadu Legislative Assembly Legislative Council of Yaracuy Legislative Council of Mérida House of Assembly of Kiribati Landtag of Liechtenstein Legislative Yuan Sangguniang Panlungsod of Carcar Sangguniang Bayan of Alcoy Legislative Assembly of El Salvador Sangguniang Panlungsod of Tagbilaran Sangguniang Panlungsod of Mandaue Sangguniang Bayan of Alegria Sangguniang Panlungsod of Lapu-Lapu Congress of the Dominican Republic Sangguniang Panlungsod of Cebu City Sangguniang Panlungsod of Naga Oregon Legislative Assembly Corsican Assembly Parliament of Catalonia National Legislature Texas Legislature Rhode Island General Assembly Regional Council of Nord-Pas-de-Calais Seimas National People's Congress Virginia General Assembly People's Assembly of the Republic of Dagestan Derbyshire County Council Congress of Guatemala National Parliament Pennsylvania General Assembly Regional Council of Auvergne-Rhône-Alpes Sicilian Regional Assembly Hawaii State Legislature United States Congress Cambridgeshire County Council New Mexico Legislature Parliament of Fiji Islands Riigikogu National Assembly of Azerbaijan Northern Ireland Assembly People's Assembly of Abkhazia Legislature of the Virgin Islands Federal Assembly of the Russian Federation Maryland General Assembly Regional Council of Limousin Regional Council of Martinique Regional Council of Pays de la Loire Legislative Assembly of Costa Rica Sangguniang Bayan of Madridejos Regional Council of Marche Sangguniang Bayan of Alcantara Legislative Council of Monagas Legislative Council of Lara Althing Legislative Council of Guárico Arkansas General Assembly Legislative Council of Falcón Indiana General Assembly Sangguniang Panlungsod of Toledo Legislative Council of Nueva Esparta Nord General Council Washington State Legislature Delaware General Assembly Legislative Council of Zulia New Hampshire General Court Legislative Assembly of the Cayman Islands Regional Council of the Aosta Valley Regional Council of Centre Illinois General Assembly Massachusetts General Court Michigan Legislature Parliament of Vanuatu Kansas Legislature Wyoming Legislature Regional Council of Abruzzo Wisconsin Legislature Parliament of Bhutan Legislative Council of Táchira Ohio General Assembly West Virginia Legislature Legislative Council of Portuguesa Legislative Council of Sucre Legislative Council of Trujillo Arizona State Legislature Regional Council of Lombardy Connecticut General Assembly Siquijor Provincial Board Norfolk Legislative Assembly Essex County Council National Assembly Colorado General Assembly Leicestershire County Council New York State Legislature House of Representatives Alabama Legislature Moscow Oblast Duma Bundesrat Council of Paris Sangguniang Bayan of Bantayan Legislative Council of Barinas Nottinghamshire County Council North Yorkshire County Council Parliament of Tuvalu Legislative Council of Apure Legislative Council of Bolívar Consejo Legislativo del Estado Bolivariano de Aragua Legislative Council of Anzoátegui Oklahoma Legislature Parliament of Kenya Council of the District of Columbia National Council Legislative Council of Miranda Diet of Dalmatia General Council of Finistère Regional Council of Brittany Regional Council of Apulia Congress of Zacatecas Grand National Assembly of Turkey States of Alderney North Dakota Legislative Assembly National Assembly for Wales Jatiyo Sangshad Regional Council of Provence-Alpes-Côte d'Azur Regional Council of Poitou-Charentes Utah State Legislature Regional Council of Guadeloupe Regional Council of Basse-Normandie Missouri General Assembly Legislative Council of Delta Amacuro Legislative Council of Cojedes Regional Council of Île-de-France Regional Council of Auvergne Idaho Legislature Regional Council of Burgundy Nebraska Legislature Belgian Federal Parliament Kerala Legislative Assembly Alaska Legislature North Carolina General Assembly Sangguniang Bayan of Santa Fe Lincolnshire County Council National Legislature Regional Council of Tuscany Parliament of Barbados Regional Council of Picardy Louisiana State Legislature Sangguniang Bayan of Aloguinsan Regional Council of Upper Normandy Franche-Comté Regional Council Parliament of Tunisia Bohol Provincial Board Regional Council of Champagne-Ardenne Alsace Regional Council Aquitaine Regional Council Parliament of Saint Lucia House of Burgesses Vermont General Assembly Regional Council of Midi-Pyrénées Peterborough City Council Kentucky General Assembly Oklahoma Territorial Legislature Tagsatzung National Diet Arizona Territorial Legislature Minnesota Legislature Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Assembly of the Representatives of the People Nevada Legislature Regional Council of Friuli-Venezia Giulia Regional Council of Lazio Montana Legislature House of Representatives Oireachtas Pontifical Commission for Vatican City State Maine Legislature San Francisco Board of Supervisors Sangguniang Bayan of Bien Unido
United States Congress, Legislative Council of Hong Kong and Regional Council of Veneto are the legislative bodies for around the same number of states as Nottinghamshire County Council
United States Congress Legislative Council of Hong Kong Regional Council of Veneto
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Nottinghamshire County Council
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Nottinghamshire_County_Council property:legislative_body ?q . ?q rdf:type ontology:legislature } } . FILTER ( ?e = ?y ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:legislative_body ?j . ?j rdf:type ontology:legislature . ?v rdf:type ontology:state } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3219043 Q26273
P47 P27
Q15617994
USER
Which administrative territories share border with Sint Maarten and are Laurent Bignolas an inhabitant of ?
AND((Q26273,P47,c(Q15617994)), (Q3219043,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q26273
relation P47
action find
entity Q3219043
relation P27
type Q15617994
{'AND': [['Q26273', 'P47', {'concept': 'Q15617994'}], ['Q3219043', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q26273 property:P47 ?j . resource:Q3219043 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Laurent Bignolas Sint Maarten
action filter_type
action intersection
action find
entity Sint Maarten
relation shares border with
action find
entity Laurent Bignolas
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Sint Maarten', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Laurent Bignolas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Sint_Maarten property:shares_border_with ?j . resource:Laurent_Bignolas property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q26273,P47,c(Q15617994)), (Q3219043,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q26273
relation P47
action find
entity Q3219043
relation P27
type Q15617994
[ANSWER] share border with Sint Maarten and are Laurent Bignolas an inhabitant of
{'AND': [['Q26273', 'P47', {'concept': 'Q15617994'}], ['Q3219043', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q26273 property:P47 ?j . resource:Q3219043 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
France
France share border with Sint Maarten and are Laurent Bignolas an inhabitant of
France
action filter_type
action intersection
action find
entity Sint Maarten
relation shares border with
action find
entity Laurent Bignolas
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Sint Maarten', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Laurent Bignolas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Sint_Maarten property:shares_border_with ?j . resource:Laurent_Bignolas property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]