Simple Question (Direct)
Simple Question
Q2526665
P106
Q12737077
USER
Which occupation has Friday Iyam as his/her 's career ?
(Q2526665,P106,c(Q12737077))
action filter_type
action find
entity Q2526665
relation P106
type Q12737077
['Q2526665', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q2526665 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Friday Iyam
action filter_type
action find
entity Friday Iyam
relation occupation
type occupation
['Friday Iyam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Friday_Iyam property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2526665,P106,c(Q12737077))
action filter_type
action find
entity Q2526665
relation P106
type Q12737077
[ANSWER] has Friday Iyam as his/her 's career
['Q2526665', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q2526665 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
Association football player has Friday Iyam as his/her 's career
association football player
action filter_type
action find
entity Friday Iyam
relation occupation
type occupation
['Friday Iyam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Friday_Iyam property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2526665
P27
Q15617994
USER
Which administrative territory is Friday Iyam an inhabitant of ?
(Q2526665,P27,c(Q15617994))
action filter_type
action find
entity Q2526665
relation P27
type Q15617994
['Q2526665', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q2526665 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Friday Iyam
action filter_type
action find
entity Friday Iyam
relation country of citizenship
type designation for an administrative territorial entity
['Friday Iyam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Friday_Iyam property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q2526665,P27,c(Q15617994))
action filter_type
action find
entity Q2526665
relation P27
type Q15617994
[ANSWER] is Friday Iyam an inhabitant of
['Q2526665', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q2526665 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Nigeria
Nigeria is Friday Iyam an inhabitant of
Nigeria
action filter_type
action find
entity Friday Iyam
relation country of citizenship
type designation for an administrative territorial entity
['Friday Iyam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Friday_Iyam property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16727972
Q15617994
USER
And also tell me about Ming Chen?
(Q16727972,P27,c(Q15617994))
action filter_type
action find
entity Q16727972
relation P27
type Q15617994
['Q16727972', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q16727972 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Ming Chen
action filter_type
action find
entity Ming Chen
relation country of citizenship
type designation for an administrative territorial entity
['Ming Chen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ming_Chen property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q16727972,P27,c(Q15617994))
action filter_type
action find
entity Q16727972
relation P27
type Q15617994
[ANSWER]
['Q16727972', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q16727972 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Ming Chen
relation country of citizenship
type designation for an administrative territorial entity
['Ming Chen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ming_Chen property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1101
P1376
Q15617994 Q515 Q486972
USER
Which administrative territories have greater number of cities or human settlements as their county seat than North Brabant ?
(c(Q515)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1101
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:P1376 ?b . ?b rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q515 } UNION { ?v property:P1376 ?b . ?b rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q486972 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P1376 resource:Q1101 . { { ?w rdf:type ontology:Q515 } UNION { ?w rdf:type ontology:Q486972 } } } } . FILTER ( ?o > ?h ) }
North Brabant
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity North Brabant
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:capital_of ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:city } UNION { ?v property:capital_of ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:human_settlement } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:capital_of resource:North_Brabant . { { ?w rdf:type ontology:city } UNION { ?w rdf:type ontology:human_settlement } } } } . FILTER ( ?o > ?h ) }
[]
designation for an administrative territorial entity city human settlement
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q515)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1101
relation P1376
type Q515
type Q486972
[ANSWERS] have greater number of cities or human settlements as their county seat than North Brabant
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:P1376 ?b . ?b rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q515 } UNION { ?v property:P1376 ?b . ?b rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q486972 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P1376 resource:Q1101 . { { ?w rdf:type ontology:Q515 } UNION { ?w rdf:type ontology:Q486972 } } } } . FILTER ( ?o > ?h ) }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra 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 Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil, Japan and Liechtenstein have greater number of cities or human settlements as their county seat than North Brabant
Brazil Japan Liechtenstein
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity North Brabant
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:capital_of ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:city } UNION { ?v property:capital_of ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:human_settlement } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:capital_of resource:North_Brabant . { { ?w rdf:type ontology:city } UNION { ?w rdf:type ontology:human_settlement } } } } . FILTER ( ?o > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1886098
P1376
Q15617994 Q515 Q486972
USER
And also tell me about Pixley ka Seme District Municipality?
(c(Q515)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1886098
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?x WHERE { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:P1376 resource:Q1886098 . { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } } } . FILTER ( ?w > ?a ) }
Pixley ka Seme District Municipality
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Pixley ka Seme District Municipality
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?x WHERE { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:capital_of resource:Pixley_ka_Seme_District_Municipality . { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:city ) ( ontology:human_settlement ) } } } } . FILTER ( ?w > ?a ) }
[]
designation for an administrative territorial entity city human settlement
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q515)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1886098
relation P1376
type Q515
type Q486972
[ANSWERS]
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?x WHERE { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:P1376 resource:Q1886098 . { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } } } . FILTER ( ?w > ?a ) }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra 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 Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil Japan Liechtenstein
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Pixley ka Seme District Municipality
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?x WHERE { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:capital_of resource:Pixley_ka_Seme_District_Municipality . { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:city ) ( ontology:human_settlement ) } } } } . FILTER ( ?w > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q218
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with approximately the same number of administrative territories as Romania ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q218
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q218 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?z = ?b ) }
Romania
action approx
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
entity Romania
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Romania property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z = ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q218
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with approximately the same number of administrative territories as Romania
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q218 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?z = ?b ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland hold diplomatic relationship with approximately the same number of administrative territories as Romania
Georgia Netherlands Poland
action approx
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
entity Romania
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Romania property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q967
P530
Q15617994 Q15617994
USER
And what about Burundi?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P530 ?m . ?c rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q967 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?d ) }
Burundi
action approx
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
entity Burundi
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:diplomatic_relation ?m . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Burundi property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P530 ?m . ?c rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q967 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?d ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
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
entity Burundi
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:diplomatic_relation ?m . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Burundi property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?d ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q746335
P530
Q1048835
USER
Do Combinado have diplomatic associations with those administrative territories ?
(Q746335,P530,Q230) (Q746335,P530,Q55) (Q746335,P530,Q36)
action is_in
entity prev_answer
action find
entity Q746335
relation P530
['Q746335', 'P530', 'Q230'] ['Q746335', 'P530', 'Q55'] ['Q746335', 'P530', 'Q36']
ASK WHERE { VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q746335 property:P530 ?u }
Combinado
action is_in
entity prev_answer
action find
entity Combinado
relation diplomatic relation
['Combinado', 'diplomatic relation', 'Georgia'] ['Combinado', 'diplomatic relation', 'Netherlands'] ['Combinado', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Combinado property:diplomatic_relation ?u }
[]
political territorial entity
SYSTEM
NO
(Q746335,P530,Q230) (Q746335,P530,Q55) (Q746335,P530,Q36)
action is_in
entity prev_answer
action find
entity Q746335
relation P530
[ANSWER]
['Q746335', 'P530', 'Q230'] ['Q746335', 'P530', 'Q55'] ['Q746335', 'P530', 'Q36']
ASK WHERE { VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q746335 property:P530 ?u }
No
action is_in
entity prev_answer
action find
entity Combinado
relation diplomatic relation
['Combinado', 'diplomatic relation', 'Georgia'] ['Combinado', 'diplomatic relation', 'Netherlands'] ['Combinado', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Combinado property:diplomatic_relation ?u }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q414 Q53234
P530
Q15617994
USER
Does Brazil have tactful political relations with Argentina and Campolongo Tapogliano ?
(Q155,P530,Q414) (Q155,P530,Q53234)
action is_in
entity Q155
action intersection
action find_reverse
entity Q414
relation P530
action find_reverse
entity Q53234
relation P530
['Q155', 'P530', 'Q414'] ['Q155', 'P530', 'Q53234']
ASK WHERE { resource:Q155 property:P530 resource:Q414 . resource:Q155 property:P530 resource:Q53234 }
Brazil Argentina Campolongo Tapogliano
action is_in
entity Brazil
action intersection
action find_reverse
entity Argentina
relation diplomatic relation
action find_reverse
entity Campolongo Tapogliano
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Argentina'] ['Brazil', 'diplomatic relation', 'Campolongo Tapogliano']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Argentina . resource:Brazil property:diplomatic_relation resource:Campolongo_Tapogliano }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q155,P530,Q414) (Q155,P530,Q53234)
action is_in
entity Q155
action intersection
action find_reverse
entity Q414
relation P530
action find_reverse
entity Q53234
relation P530
[ANSWER]
['Q155', 'P530', 'Q414'] ['Q155', 'P530', 'Q53234']
ASK WHERE { resource:Q155 property:P530 resource:Q414 . resource:Q155 property:P530 resource:Q53234 }
YES and NO respectively
action is_in
entity Brazil
action intersection
action find_reverse
entity Argentina
relation diplomatic relation
action find_reverse
entity Campolongo Tapogliano
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Argentina'] ['Brazil', 'diplomatic relation', 'Campolongo Tapogliano']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Argentina . resource:Brazil property:diplomatic_relation resource:Campolongo_Tapogliano }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5073193 Q36
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with Poland or are Chaplain Branch situated in ?
OR((Q36,P530,c(Q1048835)), (Q5073193,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q5073193
relation P17
type Q1048835
{'OR': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q5073193', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q36 property:P530 ?g } UNION { resource:Q5073193 property:P17 ?g } } . ?g rdf:type ontology:Q1048835 }
Chaplain Branch Poland
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity Chaplain Branch
relation country
type political territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Chaplain Branch', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Poland property:diplomatic_relation ?g } UNION { resource:Chaplain_Branch property:country ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16 Q183
SYSTEM
Australia, Canada, Germany
Q408 Q16 Q183
OR((Q36,P530,c(Q1048835)), (Q5073193,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q5073193
relation P17
type Q1048835
[ANSWERS] have diplomatic relationships with Poland or are Chaplain Branch situated in
{'OR': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q5073193', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q36 property:P530 ?g } UNION { resource:Q5073193 property:P17 ?g } } . ?g rdf:type ontology:Q1048835 }
Australia Canada Germany
Australia, Canada and Germany have diplomatic relationships with Poland or are Chaplain Branch situated in
Australia Canada Germany
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity Chaplain Branch
relation country
type political territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Chaplain Branch', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Poland property:diplomatic_relation ?g } UNION { resource:Chaplain_Branch property:country ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19771
P17
Q484652
USER
Are G20 situated in those political territories ?
(Q19771,P17,Q408) (Q19771,P17,Q16) (Q19771,P17,Q183)
action is_in
entity prev_answer
action find
entity Q19771
relation P17
['Q19771', 'P17', 'Q408'] ['Q19771', 'P17', 'Q16'] ['Q19771', 'P17', 'Q183']
ASK WHERE { resource:Q19771 property:P17 ?d . VALUES ( ?d ) { ( resource:Q408 ) ( resource:Q16 ) ( resource:Q183 ) } }
G20
action is_in
entity prev_answer
action find
entity G20
relation country
['G20', 'country', 'Australia'] ['G20', 'country', 'Canada'] ['G20', 'country', 'Germany']
ASK WHERE { resource:G20 property:country ?d . VALUES ( ?d ) { ( resource:Australia ) ( resource:Canada ) ( resource:Germany ) } }
[]
international organization
SYSTEM
YES
(Q19771,P17,Q408) (Q19771,P17,Q16) (Q19771,P17,Q183)
action is_in
entity prev_answer
action find
entity Q19771
relation P17
[ANSWER]
['Q19771', 'P17', 'Q408'] ['Q19771', 'P17', 'Q16'] ['Q19771', 'P17', 'Q183']
ASK WHERE { resource:Q19771 property:P17 ?d . VALUES ( ?d ) { ( resource:Q408 ) ( resource:Q16 ) ( resource:Q183 ) } }
Yes
action is_in
entity prev_answer
action find
entity G20
relation country
['G20', 'country', 'Australia'] ['G20', 'country', 'Canada'] ['G20', 'country', 'Germany']
ASK WHERE { resource:G20 property:country ?d . VALUES ( ?d ) { ( resource:Australia ) ( resource:Canada ) ( resource:Germany ) } }
[]