Simple Question (Direct)
Simple Question
Q3638716
P19
Q15617994
USER
Which administrative territory was Bernardino Grimaldi born at ?
(Q3638716,P19,c(Q15617994))
action filter_type
action find
entity Q3638716
relation P19
type Q15617994
['Q3638716', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q3638716 property:P19 ?e }
Bernardino Grimaldi
action filter_type
action find
entity Bernardino Grimaldi
relation place of birth
type designation for an administrative territorial entity
['Bernardino Grimaldi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bernardino_Grimaldi property:place_of_birth ?e }
[]
designation for an administrative territorial entity
Q3883
SYSTEM
Catanzaro
Q3883
(Q3638716,P19,c(Q15617994))
action filter_type
action find
entity Q3638716
relation P19
type Q15617994
Bernardino Grimaldi was born in [ANSWER]
['Q3638716', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q3638716 property:P19 ?e }
Catanzaro
Bernardino Grimaldi was born in Catanzaro
Catanzaro
action filter_type
action find
entity Bernardino Grimaldi
relation place of birth
type designation for an administrative territorial entity
['Bernardino Grimaldi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bernardino_Grimaldi property:place_of_birth ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3883
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(Q3883,P47,c(Q15617994))
action filter_type
action find
entity Q3883
relation P47
type Q15617994
['Q3883', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3883 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Catanzaro
action filter_type
action find
entity Catanzaro
relation shares border with
type designation for an administrative territorial entity
['Catanzaro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Catanzaro property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53526 Q53727 Q53695
SYSTEM
Gimigliano, Squillace, Sellia, Calabria
Q53526 Q53695 Q53502 Q53497 Q53670 Q53732 Q53727 Q53720 Q53722 Q53686
(Q3883,P47,c(Q15617994))
action filter_type
action find
entity Q3883
relation P47
type Q15617994
[ANSWERS]
['Q3883', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3883 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Gimigliano Sellia, Calabria Caraffa di Catanzaro Borgia, Calabria Pentone Tiriolo Squillace Settingiano Simeri Crichi San Floro
Gimigliano, Squillace and Sellia, Calabria are bordered by that one
Gimigliano Squillace Sellia, Calabria
action filter_type
action find
entity Catanzaro
relation shares border with
type designation for an administrative territorial entity
['Catanzaro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Catanzaro property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q53526
P17
Q15617994
USER
Which administrative territory is that one present in ?
(Q53526,P17,c(Q15617994))
action filter_type
action find
entity Q53526
relation P17
type Q15617994
['Q53526', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q53526 property:P17 ?o }
Gimigliano
action filter_type
action find
entity Gimigliano
relation country
type designation for an administrative territorial entity
['Gimigliano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gimigliano property:country ?o }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q53526
SYSTEM
Did you mean Gimigliano ?
Q53526 Q53727 Q53695
(Q53526,P17,c(Q15617994)) (Q53727,P17,c(Q15617994)) (Q53695,P17,c(Q15617994))
[ANSWER]
['Q53526', 'P17', {'concept': 'Q15617994'}] ['Q53727', 'P17', {'concept': 'Q15617994'}] ['Q53695', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q53526 property:P17 ?o }
Gimigliano Squillace Sellia, Calabria
Did you mean Gimigliano ?
Gimigliano
['Gimigliano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Squillace', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sellia, Calabria', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gimigliano property:country ?o }
[]
Simple Question (Coreferenced)
USER
Yes
(Q53526,P17,c(Q15617994))
['Q53526', 'P17', {'concept': 'Q15617994'}]
['Gimigliano', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q53526,P17,c(Q15617994))
action filter_type
action find
entity Q53526
relation P17
type Q15617994
That one is in [ANSWER]
['Q53526', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q53526 property:P17 ?o }
Italy
That one is in Italy
Italy
action filter_type
action find
entity Gimigliano
relation country
type designation for an administrative territorial entity
['Gimigliano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gimigliano property:country ?o }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q192350 Q11204
USER
Which administrative territories belong to jurisdiction of around 5 ministries and legislatures ?
(c(Q192350)|c(Q11204),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
value 5
[[{'concept': 'Q192350'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:Q192350 ) ( ontology:Q11204 ) } . ?z rdf:type ?t } GROUP BY ?g } . FILTER ( ?d = 5 ) }
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
value 5
[[{'concept': 'ministry'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:ministry ) ( ontology:legislature ) } . ?z rdf:type ?t } GROUP BY ?g } . FILTER ( ?d = 5 ) }
[]
designation for an administrative territorial entity ministry legislature
Q148 Q29 Q668
SYSTEM
People's Republic of China, Spain, India
Q668 Q148 Q884 Q1965 Q212 Q29 Q176 Q298
(c(Q192350)|c(Q11204),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
value 5
[ANSWERS] belong to jurisdiction of around 5 ministries and legislatures
[[{'concept': 'Q192350'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:Q192350 ) ( ontology:Q11204 ) } . ?z rdf:type ?t } GROUP BY ?g } . FILTER ( ?d = 5 ) }
India People's Republic of China South Korea New Brunswick Ukraine Spain Quebec Chile
People's Republic of China, Spain and India belong to jurisdiction of around 5 ministries and legislatures
People's Republic of China Spain India
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
value 5
[[{'concept': 'ministry'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:ministry ) ( ontology:legislature ) } . ?z rdf:type ?t } GROUP BY ?g } . FILTER ( ?d = 5 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately 6 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 6
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?e ) WHERE { ?r property:P530 ?o . ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?e = 6 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 6
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?e ) WHERE { ?r property:diplomatic_relation ?o . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?e = 6 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q142 Q36
SYSTEM
Netherlands, France, Poland
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 6
[ANSWERS] have tactful political relations with approximately 6 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?e ) WHERE { ?r property:P530 ?o . ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?e = 6 ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, France and Poland have tactful political relations with approximately 6 administrative territories
Netherlands France Poland
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 6
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?e ) WHERE { ?r property:diplomatic_relation ?o . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?e = 6 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q486972 Q15617994
USER
How many administrative territories have exactly 1 cities or human settlements as their capital ?
(c(Q15617994),P36,c(Q515)|c(Q486972))
action count
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q486972
value 1
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?h } . FILTER ( ?p = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?h } . FILTER ( ?p = 1 ) }
[]
city human settlement designation for an administrative territorial entity
SYSTEM
73
Q2991354 Q414 Q1111401 Q399 Q258 Q155 Q736 Q16628524 Q843 Q2007 Q1050 Q12717 Q298 Q115 Q114 Q541589 Q696651 Q948 Q1268811 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q1037 Q1033 Q1030 Q662056 Q30831 Q878 Q46130 Q3044714 Q1951 Q2236821 Q492437 Q492430 Q711 Q717 Q1948 Q27 Q225 Q47261 Q347 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q222 Q228 Q3462133 Q17 Q3846423 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q15617994),P36,c(Q515)|c(Q486972))
action count
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q486972
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?h } . FILTER ( ?p = 1 ) }
Aquiles Serdán Municipality Argentina Kispest District Armenia South Africa Brazil Ecuador San Salvador el Verde municipality Pakistan Northwest Territories Swaziland Bas-Rhin Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Dyle Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Rwanda Nigeria Namibia Cushamen Department Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Rhône-et-Loire Bouches-du-Weser Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Duchy of Bavaria Liechtenstein Burkina Faso Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Albania Andorra Saxe-Coburg and Gotha Japan Viesca Municipality Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
73
action count
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?h } . FILTER ( ?p = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q145
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with lesser number of administrative territories than United Kingdom ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P530 resource:Q145 . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?q < ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?g } }
United Kingdom
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:diplomatic_relation resource:United_Kingdom . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q < ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P530 resource:Q145 . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?q < ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?g } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
156
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:diplomatic_relation resource:United_Kingdom . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q < ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q983
P530
Q15617994 Q15617994
USER
And also tell me about Equatorial Guinea?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q983
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P530 resource:Q983 . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?s ) }
Equatorial Guinea
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Equatorial Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:diplomatic_relation resource:Equatorial_Guinea . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q983
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P530 resource:Q983 . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?s ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Equatorial Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:diplomatic_relation resource:Equatorial_Guinea . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?s ) }
[]