Simple Question (Direct)
Simple Question
Q7792189
P19
Q1496967
USER
Which territory is the birthplace of Thomas Marshall ?
(Q7792189,P19,c(Q1496967))
action filter_type
action find
entity Q7792189
relation P19
type Q1496967
['Q7792189', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q7792189 property:P19 ?u . ?u rdf:type ontology:Q1496967 }
Thomas Marshall
action filter_type
action find
entity Thomas Marshall
relation place of birth
type territorial entity
['Thomas Marshall', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Marshall property:place_of_birth ?u . ?u rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q7792189,P19,c(Q1496967))
action filter_type
action find
entity Q7792189
relation P19
type Q1496967
It [ANSWER] is the birthplace of Thomas Marshall
['Q7792189', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q7792189 property:P19 ?u . ?u rdf:type ontology:Q1496967 }
England
It England is the birthplace of Thomas Marshall
England
action filter_type
action find
entity Thomas Marshall
relation place of birth
type territorial entity
['Thomas Marshall', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Marshall property:place_of_birth ?u . ?u rdf:type ontology:territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7792189
P641
Q349
USER
Which sport was Thomas Marshall a part of ?
(Q7792189,P641,c(Q349))
action filter_type
action find
entity Q7792189
relation P641
type Q349
['Q7792189', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q7792189 property:P641 ?m . ?m rdf:type ontology:Q349 }
Thomas Marshall
action filter_type
action find
entity Thomas Marshall
relation sport
type sport
['Thomas Marshall', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Thomas_Marshall property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7792189,P641,c(Q349))
action filter_type
action find
entity Q7792189
relation P641
type Q349
Which sport was Thomas Marshall a part of
['Q7792189', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q7792189 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Which sport was Thomas Marshall a part of
association football
action filter_type
action find
entity Thomas Marshall
relation sport
type sport
['Thomas Marshall', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Thomas_Marshall property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7792189
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7792189
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7792189 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Thomas Marshall
action filter_type
action find
entity Thomas Marshall
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Marshall property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7792189
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7792189 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person a civilian of
United Kingdom
action filter_type
action find
entity Thomas Marshall
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Marshall property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7792189
P21
Q290
USER
What is the sex of Thomas Marshall ?
(Q7792189,P21,c(Q290))
action filter_type
action find
entity Q7792189
relation P21
type Q290
['Q7792189', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q7792189 property:P21 ?o . ?o rdf:type ontology:Q290 }
Thomas Marshall
action filter_type
action find
entity Thomas Marshall
relation gender
type sex
['Thomas Marshall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Marshall property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7792189,P21,c(Q290))
action filter_type
action find
entity Q7792189
relation P21
type Q290
The sex of Thomas Marshall is a [ANSWER]
['Q7792189', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q7792189 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Thomas Marshall is a male
male
action filter_type
action find
entity Thomas Marshall
relation gender
type sex
['Thomas Marshall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Marshall property:gender ?o . ?o rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q7442445
P21
Q502895
USER
Does Sebastian Jones have that sex as the sex ?
(Q7442445,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7442445
relation P21
['Q7442445', 'P21', 'Q6581097']
ASK WHERE { resource:Q7442445 property:P21 resource:Q6581097 }
male Sebastian Jones
action is_in
entity male
action find
entity Sebastian Jones
relation gender
['Sebastian Jones', 'gender', 'male']
ASK WHERE { resource:Sebastian_Jones property:gender resource:male }
[]
common name
SYSTEM
YES
(Q7442445,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7442445
relation P21
[ANSWER]
['Q7442445', 'P21', 'Q6581097']
ASK WHERE { resource:Q7442445 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Sebastian Jones
relation gender
['Sebastian Jones', 'gender', 'male']
ASK WHERE { resource:Sebastian_Jones property:gender resource:male }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q953
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with less number of administrative territories than Zambia ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q953
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:Q953 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?f ) }
Zambia
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
entity Zambia
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:Zambia property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?f ) }
[]
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 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q953
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with less number of administrative territories than Zambia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:Q953 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?f ) }
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 Togo Tonga Spain New Caledonia Thailand
Georgia, Netherlands and Poland hold diplomatic relationship with less number of administrative territories than Zambia
Georgia Netherlands Poland
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
entity Zambia
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:Zambia property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q217
P530
Q15617994 Q15617994
USER
And how about Republic of Moldova?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q217
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?d < ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P530 resource:Q217 . ?t rdf:type ontology:Q15617994 } } }
Republic of Moldova
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 Republic of Moldova
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 ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?d < ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:diplomatic_relation resource:Republic_of_Moldova . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
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 less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q217
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?d < ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P530 resource:Q217 . ?t rdf:type ontology:Q15617994 } } }
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
Romania Norway Tunisia
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 Republic of Moldova
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 ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?d < ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:diplomatic_relation resource:Republic_of_Moldova . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q917
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with greater number of administrative territories than Bhutan ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 . ?s property:P530 ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q917 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?i ) }
Bhutan
action count
action greater
action find_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 Bhutan
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 ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Bhutan property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
66
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 . ?s property:P530 ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q917 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?i ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
66
action count
action greater
action find_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 Bhutan
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 ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Bhutan property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q817
P530
Q15617994 Q15617994
USER
And also tell me about Kuwait?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q817
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?a ) WHERE { ?m property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q817 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?a > ?d ) }
Kuwait
action count
action greater
action find_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 Kuwait
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 ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?a ) WHERE { ?m property:diplomatic_relation ?h . ?h 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 ( ?n ) AS ?d ) WHERE { resource:Kuwait property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a > ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q817
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?a ) WHERE { ?m property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q817 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?a > ?d ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
action find_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 Kuwait
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 ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?a ) WHERE { ?m property:diplomatic_relation ?h . ?h 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 ( ?n ) AS ?d ) WHERE { resource:Kuwait property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with approximately the same number of administrative territories as Denmark ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?y ) WHERE { ?h property:P530 ?d . ?h rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q35 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } . FILTER ( ?y = ?u ) }
Denmark
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?y ) WHERE { ?h property:diplomatic_relation ?d . ?h rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Denmark property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } . FILTER ( ?y = ?u ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS] are known to have diplomatic connections with approximately the same number of administrative territories as Denmark
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?y ) WHERE { ?h property:P530 ?d . ?h rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q35 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } . FILTER ( ?y = ?u ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria are known to have diplomatic connections with approximately the same number of administrative territories as Denmark
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?y ) WHERE { ?h property:diplomatic_relation ?d . ?h rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Denmark property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } . FILTER ( ?y = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And how about Canada?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?r ) WHERE { ?l property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q16 property:P530 ?z . ?z rdf:type ontology:Q1048835 } } . FILTER ( ?r = ?x ) }
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?r ) WHERE { ?l property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Canada property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } } . FILTER ( ?r = ?x ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?r ) WHERE { ?l property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q16 property:P530 ?z . ?z rdf:type ontology:Q1048835 } } . FILTER ( ?r = ?x ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?r ) WHERE { ?l property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Canada property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } } . FILTER ( ?r = ?x ) }
[]