Simple Question (Direct)
Simple Question
Q4682130
P27
Q15617994
USER
Which administrative territory is Ademar Aparecido Xavier Júnior a civilian of ?
(Q4682130,P27,c(Q15617994))
action filter_type
action find
entity Q4682130
relation P27
type Q15617994
['Q4682130', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4682130 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Ademar Aparecido Xavier Júnior
action filter_type
action find
entity Ademar Aparecido Xavier Júnior
relation country of citizenship
type designation for an administrative territorial entity
['Ademar Aparecido Xavier Júnior', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ademar_Aparecido_Xavier_Júnior property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q4682130,P27,c(Q15617994))
action filter_type
action find
entity Q4682130
relation P27
type Q15617994
[ANSWER] is Ademar Aparecido Xavier Júnior a civilian of
['Q4682130', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4682130 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Brazil
Brazil is Ademar Aparecido Xavier Júnior a civilian of
Brazil
action filter_type
action find
entity Ademar Aparecido Xavier Júnior
relation country of citizenship
type designation for an administrative territorial entity
['Ademar Aparecido Xavier Júnior', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ademar_Aparecido_Xavier_Júnior property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P123
Q2342494
USER
Which collectables produced that administrative territory ?
(c(Q2342494),P123,Q155)
action filter_type
action find_reverse
entity Q155
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q155']
SELECT DISTINCT ?s WHERE { ?s property:P123 resource:Q155 . ?s rdf:type ontology:Q2342494 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Brazil']
SELECT DISTINCT ?s WHERE { ?s property:publisher resource:Brazil . ?s rdf:type ontology:collectable }
[]
collectable
Q7666148 Q7105479 Q7073328
SYSTEM
Sétimo, Os Sete, O Senhor da Chuva
Q7105479 Q7073328 Q4655739 Q7666148 Q7449233
(c(Q2342494),P123,Q155)
action filter_type
action find_reverse
entity Q155
relation P123
type Q2342494
[ANSWERS] produced that administrative territory
[{'concept': 'Q2342494'}, 'P123', 'Q155']
SELECT DISTINCT ?s WHERE { ?s property:P123 resource:Q155 . ?s rdf:type ontology:Q2342494 }
Os Sete O Senhor da Chuva A Casa Sétimo Sementes no Gelo
Sétimo, Os Sete and O Senhor da Chuva produced that administrative territory
Sétimo Os Sete O Senhor da Chuva
action filter_type
action find_reverse
entity Brazil
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Brazil']
SELECT DISTINCT ?s WHERE { ?s property:publisher resource:Brazil . ?s rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1030
P85
Q484692 Q7725634 Q15617994
USER
Which administrative territories have approximately the same number of hymns and literary works as their national anthem as Namibia ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q1030
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?c rdf:type ?n } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q1030 property:P85 ?b . { { ?b rdf:type ontology:Q7725634 } UNION { ?b rdf:type ontology:Q484692 } } } } . FILTER ( ?g = ?w ) }
Namibia
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Namibia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?c rdf:type ?n } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Namibia property:anthem ?b . { { ?b rdf:type ontology:literary_work } UNION { ?b rdf:type ontology:hymn } } } } . FILTER ( ?g = ?w ) }
[]
hymn literary work designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 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 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q1030
relation P85
type Q484692
type Q7725634
[ANSWERS] have approximately the same number of hymns and literary works as their national anthem as Namibia
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?c rdf:type ?n } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q1030 property:P85 ?b . { { ?b rdf:type ontology:Q7725634 } UNION { ?b rdf:type ontology:Q484692 } } } } . FILTER ( ?g = ?w ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea 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 Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen 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 Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
Italy, Brazil and United States of America have approximately the same number of hymns and literary works as their national anthem as Namibia
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Namibia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?c rdf:type ?n } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Namibia property:anthem ?b . { { ?b rdf:type ontology:literary_work } UNION { ?b rdf:type ontology:hymn } } } } . FILTER ( ?g = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1045
P85
Q484692 Q7725634 Q15617994
USER
And also tell me about Somalia?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q1045
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?i WHERE { VALUES ( ?d ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?w rdf:type ?d } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } . resource:Q1045 property:P85 ?t } } . FILTER ( ?o = ?z ) }
Somalia
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Somalia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?i WHERE { VALUES ( ?d ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?w rdf:type ?d } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:hymn ) ( ontology:literary_work ) } } . resource:Somalia property:anthem ?t } } . FILTER ( ?o = ?z ) }
[]
hymn literary work designation for an administrative territorial entity
Q159 Q242 Q1045
SYSTEM
Russia, Belize, Somalia
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q1045
relation P85
type Q484692
type Q7725634
[ANSWERS]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?i WHERE { VALUES ( ?d ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?w rdf:type ?d } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } . resource:Q1045 property:P85 ?t } } . FILTER ( ?o = ?z ) }
Russia Belize Somalia
Russia Belize Somalia
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Somalia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?i WHERE { VALUES ( ?d ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?w rdf:type ?d } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:hymn ) ( ontology:literary_work ) } } . resource:Somalia property:anthem ?t } } . FILTER ( ?o = ?z ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4221571
P530
Q1048835
USER
Do Hurskoho have tactful political relations with those administrative territories ?
(Q4221571,P530,Q159) (Q4221571,P530,Q242) (Q4221571,P530,Q1045)
action is_in
entity prev_answer
action find
entity Q4221571
relation P530
['Q4221571', 'P530', 'Q159'] ['Q4221571', 'P530', 'Q242'] ['Q4221571', 'P530', 'Q1045']
ASK WHERE { resource:Q4221571 property:P530 ?s . VALUES ( ?s ) { ( resource:Q159 ) ( resource:Q242 ) ( resource:Q1045 ) } }
Hurskoho
action is_in
entity prev_answer
action find
entity Hurskoho
relation diplomatic relation
['Hurskoho', 'diplomatic relation', 'Russia'] ['Hurskoho', 'diplomatic relation', 'Belize'] ['Hurskoho', 'diplomatic relation', 'Somalia']
ASK WHERE { resource:Hurskoho property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Russia ) ( resource:Belize ) ( resource:Somalia ) } }
[]
political territorial entity
SYSTEM
NO
(Q4221571,P530,Q159) (Q4221571,P530,Q242) (Q4221571,P530,Q1045)
action is_in
entity prev_answer
action find
entity Q4221571
relation P530
[ANSWER]
['Q4221571', 'P530', 'Q159'] ['Q4221571', 'P530', 'Q242'] ['Q4221571', 'P530', 'Q1045']
ASK WHERE { resource:Q4221571 property:P530 ?s . VALUES ( ?s ) { ( resource:Q159 ) ( resource:Q242 ) ( resource:Q1045 ) } }
No
action is_in
entity prev_answer
action find
entity Hurskoho
relation diplomatic relation
['Hurskoho', 'diplomatic relation', 'Russia'] ['Hurskoho', 'diplomatic relation', 'Belize'] ['Hurskoho', 'diplomatic relation', 'Somalia']
ASK WHERE { resource:Hurskoho property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Russia ) ( resource:Belize ) ( resource:Somalia ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1045 Q114
P47
Q15617994
USER
Is Kenya bordered by Somalia ?
(Q1045,P47,Q114)
action is_in
entity Q114
action find
entity Q1045
relation P47
['Q1045', 'P47', 'Q114']
ASK WHERE { resource:Q1045 property:P47 resource:Q114 }
Somalia Kenya
action is_in
entity Kenya
action find
entity Somalia
relation shares border with
['Somalia', 'shares border with', 'Kenya']
ASK WHERE { resource:Somalia property:shares_border_with resource:Kenya }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1045,P47,Q114)
action is_in
entity Q114
action find
entity Q1045
relation P47
[ANSWER]
['Q1045', 'P47', 'Q114']
ASK WHERE { resource:Q1045 property:P47 resource:Q114 }
Yes
action is_in
entity Kenya
action find
entity Somalia
relation shares border with
['Somalia', 'shares border with', 'Kenya']
ASK WHERE { resource:Somalia property:shares_border_with resource:Kenya }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6708790 Q155
P530 P27
Q1048835
USER
Which political territories have a diplomatic relationship with Brazil and are not the countries of citizenship of Lyne Poirier ?
AND((Q155,P530,c(Q1048835)), NOT((Q6708790,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q155
relation P530
action find
entity Q6708790
relation P27
type Q1048835
{'AND': [['Q155', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q6708790', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?u WHERE { resource:Q155 property:P530 ?u . MINUS { resource:Q6708790 property:P27 ?u } . ?u rdf:type ontology:Q1048835 }
Lyne Poirier Brazil
action filter_type
action difference
action find
entity Brazil
relation diplomatic relation
action find
entity Lyne Poirier
relation country of citizenship
type political territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Lyne Poirier', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?u WHERE { resource:Brazil property:diplomatic_relation ?u . MINUS { resource:Lyne_Poirier property:country_of_citizenship ?u } . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q766 Q183 Q35
SYSTEM
Australia, Jamaica, Germany, Denmark
Q408 Q766 Q183 Q35
AND((Q155,P530,c(Q1048835)), NOT((Q6708790,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q155
relation P530
action find
entity Q6708790
relation P27
type Q1048835
[ANSWERS] have a diplomatic relationship with Brazil and are not the countries of citizenship of Lyne Poirier
{'AND': [['Q155', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q6708790', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?u WHERE { resource:Q155 property:P530 ?u . MINUS { resource:Q6708790 property:P27 ?u } . ?u rdf:type ontology:Q1048835 }
Australia Jamaica Germany Denmark
Australia, Jamaica, Germany and Denmark have a diplomatic relationship with Brazil and are not the countries of citizenship of Lyne Poirier
Australia Jamaica Germany Denmark
action filter_type
action difference
action find
entity Brazil
relation diplomatic relation
action find
entity Lyne Poirier
relation country of citizenship
type political territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Lyne Poirier', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?u WHERE { resource:Brazil property:diplomatic_relation ?u . MINUS { resource:Lyne_Poirier property:country_of_citizenship ?u } . ?u rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q710
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with approximately the same number of political territories as Kiribati ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q710
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q710 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?o ) }
Kiribati
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Kiribati
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Kiribati property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?o ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
12
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q710
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q710 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?o ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
12
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Kiribati
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Kiribati property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q881
P530
Q15617994 Q1048835
USER
And how about Vietnam?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q881
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?p ) WHERE { ?l property:P530 ?v . ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?p = ?j ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q881 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } }
Vietnam
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Vietnam
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?p ) WHERE { ?l property:diplomatic_relation ?v . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?p = ?j ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Vietnam property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
48
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q881
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?p ) WHERE { ?l property:P530 ?v . ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?p = ?j ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q881 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
48
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Vietnam
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?p ) WHERE { ?l property:diplomatic_relation ?v . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?p = ?j ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Vietnam property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with exactly 3 political territories ?
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?v ) WHERE { ?d property:P530 ?t . ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?d } . FILTER ( ?v = 3 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?v ) WHERE { ?d property:diplomatic_relation ?t . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?d } . FILTER ( ?v = 3 ) }
[]
political territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q739 Q423 Q851 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWERS] have ambassadorial relations with exactly 3 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?v ) WHERE { ?d property:P530 ?t . ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?d } . FILTER ( ?v = 3 ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Colombia North Korea Saudi Arabia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates
United States of America, Russia and France have ambassadorial relations with exactly 3 political territories
United States of America Russia France
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?v ) WHERE { ?d property:diplomatic_relation ?t . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?d } . FILTER ( ?v = 3 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q792
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately the same number of administrative territories as El Salvador ?
(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 Q792
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { ?y rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?y property:P530 ?q } GROUP BY ?q } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q792 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
El Salvador
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 El Salvador
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?q } GROUP BY ?q } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:El_Salvador property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
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 Q792
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with approximately the same number of administrative territories as El Salvador
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { ?y rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?y property:P530 ?q } GROUP BY ?q } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q792 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
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 diplomatic relationships with approximately the same number of administrative territories as El Salvador
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 El Salvador
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?q } GROUP BY ?q } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:El_Salvador property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1019
P530
Q15617994 Q15617994
USER
And how about Madagascar?
(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 Q1019
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P530 ?c . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q1019 property:P530 ?u } } . FILTER ( ?k = ?p ) }
Madagascar
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 Madagascar
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:diplomatic_relation ?c . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Madagascar property:diplomatic_relation ?u } } . FILTER ( ?k = ?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 Q1019
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P530 ?c . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q1019 property:P530 ?u } } . FILTER ( ?k = ?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 Madagascar
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:diplomatic_relation ?c . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Madagascar property:diplomatic_relation ?u } } . FILTER ( ?k = ?p ) }
[]