Simple Question (Direct)
Simple Question
Q3424910
P20
Q56061
USER
Where did Herman Major Backer die ?
(Q3424910,P20,c(Q56061))
action filter_type
action find
entity Q3424910
relation P20
type Q56061
['Q3424910', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3424910 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Herman Major Backer
action filter_type
action find
entity Herman Major Backer
relation place of death
type administrative territorial entity
['Herman Major Backer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Herman_Major_Backer property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q3424910,P20,c(Q56061))
action filter_type
action find
entity Q3424910
relation P20
type Q56061
Herman Major Backer died i [ANSWER]
['Q3424910', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3424910 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Oslo
Herman Major Backer died i Oslo
Oslo
action filter_type
action find
entity Herman Major Backer
relation place of death
type administrative territorial entity
['Herman Major Backer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Herman_Major_Backer property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3424910
P27
Q15617994
USER
Which administrative territory is Herman Major Backer an inhabitant of ?
(Q3424910,P27,c(Q15617994))
action filter_type
action find
entity Q3424910
relation P27
type Q15617994
['Q3424910', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3424910 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Herman Major Backer
action filter_type
action find
entity Herman Major Backer
relation country of citizenship
type designation for an administrative territorial entity
['Herman Major Backer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Herman_Major_Backer property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q3424910,P27,c(Q15617994))
action filter_type
action find
entity Q3424910
relation P27
type Q15617994
[ANSWER] is Herman Major Backer an inhabitant of
['Q3424910', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3424910 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Norway
Norway is Herman Major Backer an inhabitant of
Norway
action filter_type
action find
entity Herman Major Backer
relation country of citizenship
type designation for an administrative territorial entity
['Herman Major Backer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Herman_Major_Backer property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2183769
Q15617994
USER
And also tell me about Didericus van Epen?
(Q2183769,P27,c(Q15617994))
action filter_type
action find
entity Q2183769
relation P27
type Q15617994
['Q2183769', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2183769 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Didericus van Epen
action filter_type
action find
entity Didericus van Epen
relation country of citizenship
type designation for an administrative territorial entity
['Didericus van Epen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Didericus_van_Epen property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2183769,P27,c(Q15617994))
action filter_type
action find
entity Q2183769
relation P27
type Q15617994
[ANSWER]
['Q2183769', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2183769 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands
action filter_type
action find
entity Didericus van Epen
relation country of citizenship
type designation for an administrative territorial entity
['Didericus van Epen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Didericus_van_Epen property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around 8 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?s = 8 ) }
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?s = 8 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
134
Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?s = 8 ) }
Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela 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 Barbados Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
134
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?s = 8 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q686
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with around the same number of administrative territories as Vanuatu ?
(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 Q686
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q686 property:P530 ?n } } . FILTER ( ?m = ?f ) }
Vanuatu
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 Vanuatu
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vanuatu property:diplomatic_relation ?n } } . FILTER ( ?m = ?f ) }
[]
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 Q686
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with around the same number of administrative territories as Vanuatu
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q686 property:P530 ?n } } . FILTER ( ?m = ?f ) }
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 have a diplomatic relationship with around the same number of administrative territories as Vanuatu
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 Vanuatu
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vanuatu property:diplomatic_relation ?n } } . FILTER ( ?m = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q232
P530
Q15617994 Q15617994
USER
And also tell me about Kazakhstan?
(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 Q232
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?x ) WHERE { ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?i property:P530 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q232 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?p ) }
Kazakhstan
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 Kazakhstan
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 ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?x ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Kazakhstan property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 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 Q232
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?x ) WHERE { ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?i property:P530 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q232 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?p ) }
Federated States of Micronesia Panama Costa Rica Peru 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 Kazakhstan
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 ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?x ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Kazakhstan property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1452650
P36
Q486972 Q56061 Q15617994
USER
Which administrative territories consists of more number of human settlements and administrative territories as their capital than Ombrone ?
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1452650
relation P36
type Q486972
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?r WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q1452650 property:P36 ?u . { { ?u rdf:type ontology:Q486972 } UNION { ?u rdf:type ontology:Q56061 } } } } . FILTER ( ?a > ?v ) }
Ombrone
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Ombrone
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?r WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Ombrone property:capital ?u . { { ?u rdf:type ontology:human_settlement } UNION { ?u rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?a > ?v ) }
[]
human settlement administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q17
SYSTEM
United States of America, Georgia, Japan
Q258 Q1020 Q41 Q30 Q230 Q199688 Q12536 Q517333 Q17 Q160307
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1452650
relation P36
type Q486972
type Q56061
[ANSWERS] consist of more number of human settlements and administrative territories as their capital than Ombrone
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?r WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q1452650 property:P36 ?u . { { ?u rdf:type ontology:Q486972 } UNION { ?u rdf:type ontology:Q56061 } } } } . FILTER ( ?a > ?v ) }
South Africa Malawi Greece United States of America Georgia Almohad Abbasid caliphate Principality of Polotsk Japan Fatimid caliphate
United States of America, Georgia and Japan consist of more number of human settlements and administrative territories as their capital than Ombrone
United States of America Georgia Japan
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Ombrone
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?r WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Ombrone property:capital ?u . { { ?u rdf:type ontology:human_settlement } UNION { ?u rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?a > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q419
P36
Q486972 Q56061 Q15617994
USER
And how about Peru?
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q419
relation P36
type Q486972
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?p WHERE { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q419 property:P36 ?o . { { ?o rdf:type ontology:Q486972 } UNION { ?o rdf:type ontology:Q56061 } } } } . FILTER ( ?z > ?i ) }
Peru
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Peru
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?p WHERE { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Peru property:capital ?o . { { ?o rdf:type ontology:human_settlement } UNION { ?o rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?z > ?i ) }
[]
human settlement administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q17
SYSTEM
United States of America, Georgia, Japan
Q258 Q1020 Q41 Q30 Q230 Q199688 Q12536 Q517333 Q17 Q160307
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q419
relation P36
type Q486972
type Q56061
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?p WHERE { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q419 property:P36 ?o . { { ?o rdf:type ontology:Q486972 } UNION { ?o rdf:type ontology:Q56061 } } } } . FILTER ( ?z > ?i ) }
South Africa Malawi Greece United States of America Georgia Almohad Abbasid caliphate Principality of Polotsk Japan Fatimid caliphate
United States of America Georgia Japan
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Peru
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?p WHERE { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Peru property:capital ?o . { { ?o rdf:type ontology:human_settlement } UNION { ?o rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?z > ?i ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q41156 Q230
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Georgia and are not administrative territorial entity of South Korea present in ?
AND((Q230,P530,c(Q15617994)), NOT((Q41156,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q230
relation P530
action find
entity Q41156
relation P17
type Q15617994
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q41156', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q230 property:P530 ?n . FILTER NOT EXISTS { resource:Q41156 property:P17 ?n } }
administrative territorial entity of South Korea Georgia
action filter_type
action difference
action find
entity Georgia
relation diplomatic relation
action find
entity administrative territorial entity of South Korea
relation country
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['administrative territorial entity of South Korea', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Georgia property:diplomatic_relation ?n . FILTER NOT EXISTS { resource:administrative_territorial_entity_of_South_Korea property:country ?n } }
[]
designation for an administrative territorial entity
Q184 Q774 Q784 Q222 Q810 Q399 Q414 Q1016 Q986 Q786
SYSTEM
Some of them are Belarus, Guatemala, Dominica, Albania, Jordan, Armenia, Argentina, Libya, Eritrea, Dominican Republic
Q986 Q805 Q1007 Q399 Q801 Q800 Q184 Q974 Q971 Q970 Q241 Q736 Q786 Q668 Q347 Q414 Q1006 Q227 Q225 Q29 Q686 Q222 Q1005 Q145 Q262 Q189 Q784 Q874 Q229 Q228 Q1016 Q32 Q17 Q30 Q37 Q79 Q31 Q1011 Q38 Q902 Q1009 Q878 Q739 Q774 Q423 Q710 Q810 Q983 Q1013 Q191 Q965 Q851 Q967 Q734 Q963 Q424 Q115 Q114 Q117 Q398 Q822 Q750 Q252 Q211 Q1008 Q43 Q155 Q792 Q219 Q796 Q794 Q954 Q889 Q27 Q921 Q819 Q953 Q881 Q916
AND((Q230,P530,c(Q15617994)), NOT((Q41156,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q230
relation P530
action find
entity Q41156
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Georgia and are not administrative territorial entity of South Korea present in
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q41156', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q230 property:P530 ?n . FILTER NOT EXISTS { resource:Q41156 property:P17 ?n } }
Eritrea Yemen Guinea-Bissau Armenia Israel Costa Rica Belarus Democratic Republic of the Congo Republic of the Congo Comoros Cuba Ecuador Dominican Republic India Liechtenstein Argentina Guinea Azerbaijan Bosnia and Herzegovina Spain Vanuatu Albania Gambia United Kingdom Algeria Iceland Dominica Turkmenistan Cyprus Andorra Libya Luxembourg Japan United States of America Lithuania Egypt Belgium Cape Verde Italy Bangladesh Cameroon United Arab Emirates Colombia Guatemala North Korea Kiribati Jordan Equatorial Guinea Lesotho Estonia Burkina Faso Saudi Arabia Burundi Guyana Botswana Cambodia Ethiopia Kenya Ghana Bahrain Lebanon Bolivia Indonesia Latvia Côte d'Ivoire Turkey Brazil El Salvador Bulgaria Iraq Iran Zimbabwe Afghanistan Ireland Brunei Laos Zambia Vietnam Angola
Belarus, Guatemala, Dominica, Albania, Jordan, Armenia, Argentina, Libya, Eritrea and Dominican Republic have diplomatic relationships with Georgia and are not administrative territorial entity of South Korea present in
Belarus Guatemala Dominica Albania Jordan Armenia Argentina Libya Eritrea Dominican Republic
action filter_type
action difference
action find
entity Georgia
relation diplomatic relation
action find
entity administrative territorial entity of South Korea
relation country
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['administrative territorial entity of South Korea', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Georgia property:diplomatic_relation ?n . FILTER NOT EXISTS { resource:administrative_territorial_entity_of_South_Korea property:country ?n } }
[]