Simple Question (Direct)
Simple Question
Q7940768
P39
Q12737077
USER
Which occupations were the positions for which Voltaire Molesworth were appointed ?
(Q7940768,P39,c(Q12737077))
action filter_type
action find
entity Q7940768
relation P39
type Q12737077
['Q7940768', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7940768 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Voltaire Molesworth
action filter_type
action find
entity Voltaire Molesworth
relation position held
type occupation
['Voltaire Molesworth', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Voltaire_Molesworth property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q19202748 Q18810377
SYSTEM
Member of the New South Wales Legislative Assembly, Member of the New South Wales Legislative Council
Q19202748 Q18810377
(Q7940768,P39,c(Q12737077))
action filter_type
action find
entity Q7940768
relation P39
type Q12737077
Respectively [ANSWERS] were the positions for which Voltaire Molesworth were appointed
['Q7940768', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7940768 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Member of the New South Wales Legislative Assembly Member of the New South Wales Legislative Council
Respectively Member of the New South Wales Legislative Assembly and Member of the New South Wales Legislative Council were the positions for which Voltaire Molesworth were appointed
Member of the New South Wales Legislative Assembly Member of the New South Wales Legislative Council
action filter_type
action find
entity Voltaire Molesworth
relation position held
type occupation
['Voltaire Molesworth', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Voltaire_Molesworth property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18810377
P361
Q11204
USER
What is that occupation a portion of ?
(Q18810377,P361,c(Q11204))
action filter_type
action find
entity Q18810377
relation P361
type Q11204
['Q18810377', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?k WHERE { resource:Q18810377 property:P361 ?k . ?k rdf:type ontology:Q11204 }
Member of the New South Wales Legislative Council
action filter_type
action find
entity Member of the New South Wales Legislative Council
relation part of
type legislature
['Member of the New South Wales Legislative Council', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?k WHERE { resource:Member_of_the_New_South_Wales_Legislative_Council property:part_of ?k . ?k rdf:type ontology:legislature }
[]
legislature
Clarification for simple ques.
Q18810377
SYSTEM
Did you mean Member of the New South Wales Legislative Council ?
Q19202748 Q18810377
(Q19202748,P361,c(Q11204)) (Q18810377,P361,c(Q11204))
[ANSWER]
['Q19202748', 'P361', {'concept': 'Q11204'}] ['Q18810377', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?k WHERE { resource:Q18810377 property:P361 ?k . ?k rdf:type ontology:Q11204 }
Member of the New South Wales Legislative Assembly Member of the New South Wales Legislative Council
Did you mean Member of the New South Wales Legislative Council ?
Member of the New South Wales Legislative Council
['Member of the New South Wales Legislative Assembly', 'part of', {'concept': 'legislature'}] ['Member of the New South Wales Legislative Council', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?k WHERE { resource:Member_of_the_New_South_Wales_Legislative_Council property:part_of ?k . ?k rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18810377,P361,c(Q11204))
['Q18810377', 'P361', {'concept': 'Q11204'}]
['Member of the New South Wales Legislative Council', 'part of', {'concept': 'legislature'}]
[]
Q3244676
SYSTEM
New South Wales Legislative Council
Q3244676
(Q18810377,P361,c(Q11204))
action filter_type
action find
entity Q18810377
relation P361
type Q11204
That occupation a portion of is in [ANSWER]
['Q18810377', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?k WHERE { resource:Q18810377 property:P361 ?k . ?k rdf:type ontology:Q11204 }
New South Wales Legislative Council
That occupation a portion of is in New South Wales Legislative Council
New South Wales Legislative Council
action filter_type
action find
entity Member of the New South Wales Legislative Council
relation part of
type legislature
['Member of the New South Wales Legislative Council', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?k WHERE { resource:Member_of_the_New_South_Wales_Legislative_Council property:part_of ?k . ?k rdf:type ontology:legislature }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P1001
Q1048835 Q11204
USER
Which legislatures have control over the jurisdiction of around the same number of political territories as that legislature ?
(c(Q11204),P1001,c(Q1048835))
action approx
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
action count
action filter_type
action find
entity Q3244676
relation P1001
type Q11204
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?c ) WHERE { ?a rdf:type ontology:Q11204 . ?k rdf:type ontology:Q1048835 . ?a property:P1001 ?k } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q3244676 property:P1001 ?f . ?f rdf:type ontology:Q11204 } } . FILTER ( ?c = ?q ) }
action approx
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
action count
action filter_type
action find
entity New South Wales Legislative Council
relation applies to jurisdiction
type legislature
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?c ) WHERE { ?a rdf:type ontology:legislature . ?k rdf:type ontology:political_territorial_entity . ?a property:applies_to_jurisdiction ?k } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:New_South_Wales_Legislative_Council property:applies_to_jurisdiction ?f . ?f rdf:type ontology:legislature } } . FILTER ( ?c = ?q ) }
[]
political territorial entity legislature
Q11268 Q1516914 Q1492249
SYSTEM
United States Congress, Legislative Assembly of New Brunswick, National Assembly of Quebec
Q6064424 Q7903336 Q494162 Q2656777 Q6733343 Q5692374 Q7903335 Q19208 Q1144019 Q7051064 Q1246562 Q5783861 Q5783863 Q5783866 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q374152 Q595411 Q22360043 Q7101257 Q2994117 Q6879217 Q22443324 Q7058463 Q530970 Q22443327 Q1136026 Q980284 Q2867076 Q11268 Q22569956 Q217799 Q285714 Q2626571 Q1514096 Q457869 Q10566065 Q7320919 Q6518465 Q22443273 Q7450030 Q22443277 Q22443275 Q5783847 Q1812858 Q5783845 Q5783843 Q5783841 Q5783849 Q2994072 Q1516914 Q13217296 Q579836 Q2384499 Q7054573 Q3462542 Q1492249 Q7566128 Q5783859 Q3687390 Q4348725 Q5783851 Q5783853 Q5783856 Q5161534 Q3658756 Q17034697 Q5148810 Q3270268 Q775994 Q22443253 Q5783828 Q22443256 Q5783824 Q5783826 Q5783821 Q6527389 Q6518247 Q2741727 Q5160905 Q539149 Q2729213 Q7604031 Q23782077 Q493517 Q1684080 Q2994333 Q5783839 Q5783837 Q5783833 Q5783831 Q320273 Q996610 Q2993952 Q3244676 Q6386227 Q10566263 Q5261430 Q7566117 Q550133 Q6689290 Q22443317 Q1281107 Q812372 Q3687389 Q2742602 Q131279 Q3103766 Q3555619 Q19211 Q3248654 Q6518242 Q2063555
(c(Q11204),P1001,c(Q1048835))
action approx
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
action count
action filter_type
action find
entity Q3244676
relation P1001
type Q11204
[ANSWERS] have control over the jurisdiction of around the same number of political territories as that legislature
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?c ) WHERE { ?a rdf:type ontology:Q11204 . ?k rdf:type ontology:Q1048835 . ?a property:P1001 ?k } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q3244676 property:P1001 ?f . ?f rdf:type ontology:Q11204 } } . FILTER ( ?c = ?q ) }
Iowa General Assembly Uttar Pradesh Legislature National Assembly Parliament of Transnistria Maharashtra Legislative Assembly Legislative Council of Carabobo Uttar Pradesh Legislative Council Legislative Council of Hong Kong Bournemouth Borough Council Norfolk Legislative Assembly Assembly of Kosovo Legislative Council of Vargas Legislative Council of Yaracuy Legislative Council of Mérida 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 Seimas Congress of the Dominican Republic Sangguniang Panlungsod of Naga Oregon Legislative Assembly Legislative Council of New Brunswick Mississippi Legislature Sangguniang Panlungsod of Lapu-Lapu Northern Ireland Assembly Virginia General Assembly Sangguniang Panlungsod of Cebu City Congress of Guatemala South Carolina General Assembly Vermont General Assembly United States Congress Sangguniang Bayan of Bien Unido Riigikogu Northern Ireland Assembly Supreme Soviet of Russia People's Assembly of Abkhazia Federal Assembly of the Russian Federation Maryland General Assembly Rhode Island General Assembly Legislature of the Virgin Islands Sangguniang Bayan of Madridejos Senate of Northern Ireland Sangguniang Bayan of Alcantara Sangguniang Panlungsod of Toledo Legislative Council of Monagas Legislative Council of Quebec Legislative Council of Lara Legislative Council of Guárico Legislative Council of Falcón Legislative Council of Nueva Esparta General Council of Morbihan Legislative Assembly of New Brunswick General Council of the Seine Legislative Council of Zulia Utah State Legislature North Carolina Provincial Congress Kerala Legislative Assembly National Assembly of Quebec South Australian Legislative Council Legislative Council of Táchira Regional Council of Veneto Diet of Finland Legislative Council of Portuguesa Legislative Council of Sucre Legislative Council of Trujillo Connecticut General Assembly San Francisco Board of Supervisors Torbay Council Colorado General Assembly New York State Legislature Council of Paris Sangguniang Bayan of Bantayan Legislative Council of Barinas Sangguniang Bayan of Santa Fe Legislative Council of Apure Consejo Legislativo del Estado Bolivariano de Aragua Legislative Council of Anzoátegui Council of the District of Columbia Legislative Council of Saint Helena General Council of Finistère Congress of Zacatecas Congress of Deputies Assembly of French Polynesia States of Alderney Seine-et-Marne Departmental Council National Assembly for Wales Jatiyo Sangshad Territorial Council of Saint-Barthélemy Legislative Council of Delta Amacuro Legislative Council of Cojedes Legislative Council of Bolívar Legislative Council of Miranda Nova Scotia House of Assembly Nebraska Legislature General Council of Ille-et-Vilaine New South Wales Legislative Council Norfolk County Council North Carolina General Assembly Derby City Council South Australian House of Assembly Legislative Assembly of Macau Louisiana State Legislature Sangguniang Bayan of Aloguinsan House of Assembly of Kiribati Bavarian Senate Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Althing Georgia General Assembly Nevada Legislature National People's Congress General Council of French Guiana Legislative Council of Nova Scotia Parliament of South Ossetia
United States Congress, Legislative Assembly of New Brunswick and National Assembly of Quebec have control over the jurisdiction of around the same number of political territories as that legislature
United States Congress Legislative Assembly of New Brunswick National Assembly of Quebec
action approx
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
action count
action filter_type
action find
entity New South Wales Legislative Council
relation applies to jurisdiction
type legislature
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?c ) WHERE { ?a rdf:type ontology:legislature . ?k rdf:type ontology:political_territorial_entity . ?a property:applies_to_jurisdiction ?k } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:New_South_Wales_Legislative_Council property:applies_to_jurisdiction ?f . ?f rdf:type ontology:legislature } } . FILTER ( ?c = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19202748
P17
Q1048835
USER
Which political territory is Member of the New South Wales Legislative Assembly present in ?
(Q19202748,P17,c(Q1048835))
action filter_type
action find
entity Q19202748
relation P17
type Q1048835
['Q19202748', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q19202748 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Member of the New South Wales Legislative Assembly
action filter_type
action find
entity Member of the New South Wales Legislative Assembly
relation country
type political territorial entity
['Member of the New South Wales Legislative Assembly', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Member_of_the_New_South_Wales_Legislative_Assembly property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q19202748,P17,c(Q1048835))
action filter_type
action find
entity Q19202748
relation P17
type Q1048835
[ANSWER] is Member of the New South Wales Legislative Assembly present in
['Q19202748', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q19202748 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Australia
Australia is Member of the New South Wales Legislative Assembly present in
Australia
action filter_type
action find
entity Member of the New South Wales Legislative Assembly
relation country
type political territorial entity
['Member of the New South Wales Legislative Assembly', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Member_of_the_New_South_Wales_Legislative_Assembly property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P463
Q484652 Q874405
USER
How many international organizations and social groups were Australia a member of ?
(Q408,P463,c(Q484652)) (Q408,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q408
relation P463
type Q484652
action filter_type
action find
entity Q408
relation P463
type Q874405
['Q408', 'P463', {'concept': 'Q484652'}] ['Q408', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ontology:Q484652 . resource:Q408 property:P463 ?q } UNION { ?q rdf:type ontology:Q874405 . resource:Q408 property:P463 ?q } }
Australia
action count
action union
action filter_type
action find
entity Australia
relation member of
type international organization
action filter_type
action find
entity Australia
relation member of
type social group
['Australia', 'member of', {'concept': 'international organization'}] ['Australia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ontology:international_organization . resource:Australia property:member_of ?q } UNION { ?q rdf:type ontology:social_group . resource:Australia property:member_of ?q } }
[]
international organization social group
SYSTEM
6 international organizations and 2 social groups
Q782942 Q295875 Q7768 Q1065 Q7785 Q19771 Q188822 Q1043527
(Q408,P463,c(Q484652)) (Q408,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q408
relation P463
type Q484652
action filter_type
action find
entity Q408
relation P463
type Q874405
[ANSWER]
['Q408', 'P463', {'concept': 'Q484652'}] ['Q408', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ontology:Q484652 . resource:Q408 property:P463 ?q } UNION { ?q rdf:type ontology:Q874405 . resource:Q408 property:P463 ?q } }
Australia Group ANZUS ASEAN United Nations Commonwealth of Nations G20 Asian Development Bank Multilateral Investment Guarantee Agency
6 international organizations and 2 social groups
action count
action union
action filter_type
action find
entity Australia
relation member of
type international organization
action filter_type
action find
entity Australia
relation member of
type social group
['Australia', 'member of', {'concept': 'international organization'}] ['Australia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ontology:international_organization . resource:Australia property:member_of ?q } UNION { ?q rdf:type ontology:social_group . resource:Australia property:member_of ?q } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q852446 Q1048835 Q11204
USER
Which legislatures have jurisdiction over around 1 US administrative territories or political territories ?
(c(Q11204),P1001,c(Q852446)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P1001
type Q11204
type Q852446
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
value 1
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?x ) WHERE { { ?b rdf:type ontology:Q11204 . ?s rdf:type ontology:Q852446 . ?b property:P1001 ?s } UNION { ?b property:P1001 ?s . ?b rdf:type ontology:Q11204 . ?s rdf:type ontology:Q1048835 } } GROUP BY ?b } . FILTER ( ?x = 1 ) }
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity of the United States
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
value 1
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?x ) WHERE { { ?b rdf:type ontology:legislature . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?b property:applies_to_jurisdiction ?s } UNION { ?b property:applies_to_jurisdiction ?s . ?b rdf:type ontology:legislature . ?s rdf:type ontology:political_territorial_entity } } GROUP BY ?b } . FILTER ( ?x = 1 ) }
[]
administrative territorial entity of the United States political territorial entity legislature
Q6518241 Q6064424 Q7101400
SYSTEM
Legislative Council of Newfoundland, Iowa General Assembly, Oregon Territorial Legislature
Q6064424 Q7101400 Q6386149 Q5261561 Q7101257 Q7082403 Q135630 Q6879217 Q530970 Q980284 Q2867076 Q5025648 Q17081929 Q10566065 Q7320919 Q5399679 Q2384499 Q7054573 Q5161534 Q5148810 Q3270268 Q146138 Q16934215 Q6518241 Q996610 Q10566263 Q17017103 Q16996347 Q6689290 Q4791449 Q3103766 Q3555619
(c(Q11204),P1001,c(Q852446)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P1001
type Q11204
type Q852446
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
value 1
The [ANSWERS] have jurisdiction over around 1 US administrative territories or political territories
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?x ) WHERE { { ?b rdf:type ontology:Q11204 . ?s rdf:type ontology:Q852446 . ?b property:P1001 ?s } UNION { ?b property:P1001 ?s . ?b rdf:type ontology:Q11204 . ?s rdf:type ontology:Q1048835 } } GROUP BY ?b } . FILTER ( ?x = 1 ) }
Iowa General Assembly Oregon Territorial Legislature Lancashire County Council Derbyshire County Council Oregon Legislative Assembly Oklahoma Territorial Legislature Parliament of Catalonia Mississippi Legislature Virginia General Assembly South Carolina General Assembly Vermont General Assembly Cambridgeshire County Council Western Cape Provincial Parliament Maryland General Assembly Rhode Island General Assembly Essex County Council Utah State Legislature North Carolina Provincial Congress Connecticut General Assembly Colorado General Assembly New York State Legislature Bundesrat Nottinghamshire County Council Legislative Council of Newfoundland Nebraska Legislature North Carolina General Assembly North Yorkshire County Council Lincolnshire County Council Louisiana State Legislature Arizona Territorial Legislature Georgia General Assembly Nevada Legislature
The Legislative Council of Newfoundland, Iowa General Assembly and Oregon Territorial Legislature have jurisdiction over around 1 US administrative territories or political territories
Legislative Council of Newfoundland Iowa General Assembly Oregon Territorial Legislature
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity of the United States
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
value 1
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?x ) WHERE { { ?b rdf:type ontology:legislature . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?b property:applies_to_jurisdiction ?s } UNION { ?b property:applies_to_jurisdiction ?s . ?b rdf:type ontology:legislature . ?s rdf:type ontology:political_territorial_entity } } GROUP BY ?b } . FILTER ( ?x = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q11204 Q1048835
USER
How many political territories have atmost 1 legislature as their legislative body ?
(c(Q1048835),P194,c(Q11204))
action count
action atmost
action find_tuple_counts
relation P194
type Q1048835
type Q11204
value 1
[{'concept': 'Q1048835'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?d ) WHERE { ?u property:P194 ?j . ?u rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q11204 } GROUP BY ?u } . FILTER ( ?d <= 1 ) }
action count
action atmost
action find_tuple_counts
relation legislative body
type political territorial entity
type legislature
value 1
[{'concept': 'political territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?d ) WHERE { ?u property:legislative_body ?j . ?u rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:legislature } GROUP BY ?u } . FILTER ( ?d <= 1 ) }
[]
legislature political territorial entity
SYSTEM
69
Q2629895 Q31747 Q171965 Q4148245 Q89959 Q785 Q47134 Q193619 Q769 Q2029351 Q1059046 Q21272241 Q240 Q21272736 Q664 Q766 Q21269047 Q2785114 Q5720 Q1925048 Q2898 Q11775003 Q4099702 Q5748 Q5705 Q13786 Q178084 Q16 Q170604 Q4076638 Q35 Q38610 Q24674797 Q540996 Q5785 Q4462199 Q2017330 Q13424648 Q21279371 Q2594990 Q778 Q21272276 Q408 Q13752 Q183 Q13879 Q9648 Q204940 Q90027 Q234 Q601252 Q4040 Q21241814 Q40 Q21272890 Q9331 Q3908 Q9337 Q670002 Q1420228 Q5739 Q231 Q781 Q4439819 Q5777 Q79965 Q129286 Q5756 Q4276678
(c(Q1048835),P194,c(Q11204))
action count
action atmost
action find_tuple_counts
relation P194
type Q1048835
type Q11204
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?d ) WHERE { ?u property:P194 ?j . ?u rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q11204 } GROUP BY ?u } . FILTER ( ?d <= 1 ) }
Kotlovyna Irish Free State Luhansk Oblast Hrebenyky French Community of Belgium Jersey Shetland Union of South Africa Grenada Bilolissia Merkit people Essex Brussels Nottinghamshire New Zealand Jamaica Lincolnshire Dutch Cultural Community Valencian Country San Pedro Partido Rostock District Derbyshire Burlacha Balka Castile-La Mancha Catalonia Cebu Ilkhanate Canada New France Balychi Denmark Dominion of Newfoundland Aberffraw Community Vishneve Cayman Islands Trapivka Oklahoma Territory Troitske Lancashire Dominion of New Zealand The Bahamas Cambridgeshire Australia Bohol Germany Siquijor Falkland Islands West Lothian German-speaking Community of Belgium Flemish Region Banovina of Croatia Aragon North Yorkshire Austria Leicestershire Flemish Community Galicia Flemish Region Arizona Territory Oregon Territory Castile and León Walloon Region Antigua and Barbuda Stara Tsarychanka Extremadura Golden Horde British Raj Community of Madrid Mala Oleksandrivka
69
action count
action atmost
action find_tuple_counts
relation legislative body
type political territorial entity
type legislature
value 1
[{'concept': 'political territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?d ) WHERE { ?u property:legislative_body ?j . ?u rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:legislature } GROUP BY ?u } . FILTER ( ?d <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7082403
P1001
Q15617994 Q56061 Q11204
USER
How many legislatures have jurisdiction over more number of administrative territories or administrative territories than Oklahoma Territorial Legislature ?
(c(Q11204),P1001,c(Q15617994)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q11204
type Q15617994
action find_tuple_counts
relation P1001
type Q11204
type Q56061
action count
action filter_multi_types
action find
entity Q7082403
relation P1001
type Q15617994
type Q56061
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?z rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q7082403 property:P1001 ?a . { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?a rdf:type ?f } } } . FILTER ( ?b > ?t ) }
Oklahoma Territorial Legislature
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type designation for an administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity
action count
action filter_multi_types
action find
entity Oklahoma Territorial Legislature
relation applies to jurisdiction
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?z rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Oklahoma_Territorial_Legislature property:applies_to_jurisdiction ?a . { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?a rdf:type ?f } } } . FILTER ( ?b > ?t ) }
[]
designation for an administrative territorial entity administrative territorial entity legislature
SYSTEM
37
Q494162 Q1144019 Q1149644 Q1812873 Q374152 Q595411 Q2994117 Q7058463 Q1136026 Q11268 Q217799 Q285714 Q457869 Q6518465 Q7450030 Q1812858 Q2994072 Q1516914 Q13217296 Q1492249 Q3687390 Q3658756 Q775994 Q6527389 Q2741727 Q539149 Q7604031 Q23782077 Q1684080 Q320273 Q2993952 Q5261430 Q1281107 Q3687389 Q131279 Q19211 Q6518242
(c(Q11204),P1001,c(Q15617994)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q11204
type Q15617994
action find_tuple_counts
relation P1001
type Q11204
type Q56061
action count
action filter_multi_types
action find
entity Q7082403
relation P1001
type Q15617994
type Q56061
[ANSWER]
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?z rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q7082403 property:P1001 ?a . { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?a rdf:type ?f } } } . FILTER ( ?b > ?t ) }
National Assembly Bournemouth Borough Council Landtag of Liechtenstein Legislative Assembly of El Salvador Seimas Congress of the Dominican Republic Legislative Council of New Brunswick Northern Ireland Assembly Congress of Guatemala United States Congress Riigikogu Northern Ireland Assembly Federal Assembly of the Russian Federation Legislature of the Virgin Islands Senate of Northern Ireland Legislative Council of Quebec General Council of Morbihan Legislative Assembly of New Brunswick General Council of the Seine National Assembly of Quebec Regional Council of Veneto San Francisco Board of Supervisors Council of Paris Council of the District of Columbia General Council of Finistère Congress of Deputies States of Alderney Seine-et-Marne Departmental Council Jatiyo Sangshad Nova Scotia House of Assembly General Council of Ille-et-Vilaine Derby City Council House of Assembly of Kiribati Regional council of Trentino-Alto Adige/Südtirol Althing National People's Congress Legislative Council of Nova Scotia
37
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type designation for an administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity
action count
action filter_multi_types
action find
entity Oklahoma Territorial Legislature
relation applies to jurisdiction
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?z rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Oklahoma_Territorial_Legislature property:applies_to_jurisdiction ?a . { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?a rdf:type ?f } } } . FILTER ( ?b > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q4791449
P1001
Q15617994 Q56061 Q11204
USER
And also tell me about Arizona Territorial Legislature?
(c(Q11204),P1001,c(Q15617994)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q11204
type Q15617994
action find_tuple_counts
relation P1001
type Q11204
type Q56061
action count
action filter_multi_types
action find
entity Q4791449
relation P1001
type Q15617994
type Q56061
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?d ) WHERE { VALUES ( ?a ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?q rdf:type ?a } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Q4791449 property:P1001 ?b . { { ?b rdf:type ontology:Q15617994 } UNION { ?b rdf:type ontology:Q56061 } } } } . FILTER ( ?d > ?l ) }
Arizona Territorial Legislature
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type designation for an administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity
action count
action filter_multi_types
action find
entity Arizona Territorial Legislature
relation applies to jurisdiction
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?d ) WHERE { VALUES ( ?a ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?q rdf:type ?a } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Arizona_Territorial_Legislature property:applies_to_jurisdiction ?b . { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?d > ?l ) }
[]
designation for an administrative territorial entity administrative territorial entity legislature
SYSTEM
37
Q494162 Q1144019 Q1149644 Q1812873 Q374152 Q595411 Q2994117 Q7058463 Q1136026 Q11268 Q217799 Q285714 Q457869 Q6518465 Q7450030 Q1812858 Q2994072 Q1516914 Q13217296 Q1492249 Q3687390 Q3658756 Q775994 Q6527389 Q2741727 Q539149 Q7604031 Q23782077 Q1684080 Q320273 Q2993952 Q5261430 Q1281107 Q3687389 Q131279 Q19211 Q6518242
(c(Q11204),P1001,c(Q15617994)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q11204
type Q15617994
action find_tuple_counts
relation P1001
type Q11204
type Q56061
action count
action filter_multi_types
action find
entity Q4791449
relation P1001
type Q15617994
type Q56061
[ANSWER]
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?d ) WHERE { VALUES ( ?a ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?q rdf:type ?a } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Q4791449 property:P1001 ?b . { { ?b rdf:type ontology:Q15617994 } UNION { ?b rdf:type ontology:Q56061 } } } } . FILTER ( ?d > ?l ) }
National Assembly Bournemouth Borough Council Landtag of Liechtenstein Legislative Assembly of El Salvador Seimas Congress of the Dominican Republic Legislative Council of New Brunswick Northern Ireland Assembly Congress of Guatemala United States Congress Riigikogu Northern Ireland Assembly Federal Assembly of the Russian Federation Legislature of the Virgin Islands Senate of Northern Ireland Legislative Council of Quebec General Council of Morbihan Legislative Assembly of New Brunswick General Council of the Seine National Assembly of Quebec Regional Council of Veneto San Francisco Board of Supervisors Council of Paris Council of the District of Columbia General Council of Finistère Congress of Deputies States of Alderney Seine-et-Marne Departmental Council Jatiyo Sangshad Nova Scotia House of Assembly General Council of Ille-et-Vilaine Derby City Council House of Assembly of Kiribati Regional council of Trentino-Alto Adige/Südtirol Althing National People's Congress Legislative Council of Nova Scotia
37
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type designation for an administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity
action count
action filter_multi_types
action find
entity Arizona Territorial Legislature
relation applies to jurisdiction
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?d ) WHERE { VALUES ( ?a ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?q rdf:type ?a } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Arizona_Territorial_Legislature property:applies_to_jurisdiction ?b . { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?d > ?l ) }
[]