Simple Question (Direct)
Simple Question
Q475
P1196
Q1931388
USER
What situation did Eduardo Frei Montalva die in ?
(Q475,P1196,c(Q1931388))
action filter_type
action find
entity Q475
relation P1196
type Q1931388
['Q475', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1931388 . resource:Q475 property:P1196 ?a }
Eduardo Frei Montalva
action filter_type
action find
entity Eduardo Frei Montalva
relation manner of death
type cause of death
['Eduardo Frei Montalva', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:cause_of_death . resource:Eduardo_Frei_Montalva property:manner_of_death ?a }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q475,P1196,c(Q1931388))
action filter_type
action find
entity Q475
relation P1196
type Q1931388
Eduardo Frei Montalva died in [ANSWER]
['Q475', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1931388 . resource:Q475 property:P1196 ?a }
natural causes
Eduardo Frei Montalva died in natural causes
natural causes
action filter_type
action find
entity Eduardo Frei Montalva
relation manner of death
type cause of death
['Eduardo Frei Montalva', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:cause_of_death . resource:Eduardo_Frei_Montalva property:manner_of_death ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q475
P488
Q7210356
USER
Which political organization is Eduardo Frei Montalva a chairperson of ?
(c(Q7210356),P488,Q475)
action filter_type
action find_reverse
entity Q475
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q475']
SELECT DISTINCT ?m WHERE { ?m property:P488 resource:Q475 . ?m rdf:type ontology:Q7210356 }
Eduardo Frei Montalva
action filter_type
action find_reverse
entity Eduardo Frei Montalva
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Eduardo Frei Montalva']
SELECT DISTINCT ?m WHERE { ?m property:chairperson resource:Eduardo_Frei_Montalva . ?m rdf:type ontology:political_organization }
[]
political organization
Q2992695
SYSTEM
Confederation of Democracy
Q2992695
(c(Q7210356),P488,Q475)
action filter_type
action find_reverse
entity Q475
relation P488
type Q7210356
The [ANSWER] is Eduardo Frei Montalva a chairperson of
[{'concept': 'Q7210356'}, 'P488', 'Q475']
SELECT DISTINCT ?m WHERE { ?m property:P488 resource:Q475 . ?m rdf:type ontology:Q7210356 }
Confederation of Democracy
The Confederation of Democracy is Eduardo Frei Montalva a chairperson of
Confederation of Democracy
action filter_type
action find_reverse
entity Eduardo Frei Montalva
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Eduardo Frei Montalva']
SELECT DISTINCT ?m WHERE { ?m property:chairperson resource:Eduardo_Frei_Montalva . ?m rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q475
P39
Q12737077
USER
What were the positions held by Eduardo Frei Montalva ?
(Q475,P39,c(Q12737077))
action filter_type
action find
entity Q475
relation P39
type Q12737077
['Q475', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q475 property:P39 ?y }
Eduardo Frei Montalva
action filter_type
action find
entity Eduardo Frei Montalva
relation position held
type occupation
['Eduardo Frei Montalva', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Eduardo_Frei_Montalva property:position_held ?y }
[]
occupation
Q9062551 Q466956 Q18882653
SYSTEM
President of the Senate of Chile, President of Chile, member of the Senate of Chile
Q9062551 Q466956 Q18882653
(Q475,P39,c(Q12737077))
action filter_type
action find
entity Q475
relation P39
type Q12737077
The positions held by Eduardo Frei Montalva were [ANSWERS]
['Q475', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q475 property:P39 ?y }
President of the Senate of Chile President of Chile member of the Senate of Chile
The positions held by Eduardo Frei Montalva were President of the Senate of Chile, President of Chile and member of the Senate of Chile
President of the Senate of Chile President of Chile member of the Senate of Chile
action filter_type
action find
entity Eduardo Frei Montalva
relation position held
type occupation
['Eduardo Frei Montalva', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Eduardo_Frei_Montalva property:position_held ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q475
P102
Q7210356
USER
Which party does Eduardo Frei Montalva belong to ?
(Q475,P102,c(Q7210356))
action filter_type
action find
entity Q475
relation P102
type Q7210356
['Q475', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q475 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Eduardo Frei Montalva
action filter_type
action find
entity Eduardo Frei Montalva
relation member of political party
type political organization
['Eduardo Frei Montalva', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Eduardo_Frei_Montalva property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q1395049
SYSTEM
Christian Democratic Party
Q1395049
(Q475,P102,c(Q7210356))
action filter_type
action find
entity Q475
relation P102
type Q7210356
Eduardo Frei Montalva belongs to [ANSWER]
['Q475', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q475 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Christian Democratic Party
Eduardo Frei Montalva belongs to Christian Democratic Party
Christian Democratic Party
action filter_type
action find
entity Eduardo Frei Montalva
relation member of political party
type political organization
['Eduardo Frei Montalva', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Eduardo_Frei_Montalva property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q466956
P17
Q15617994
USER
Which administrative territory is President of Chile a part of ?
(Q466956,P17,c(Q15617994))
action filter_type
action find
entity Q466956
relation P17
type Q15617994
['Q466956', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q466956 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
President of Chile
action filter_type
action find
entity President of Chile
relation country
type designation for an administrative territorial entity
['President of Chile', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:President_of_Chile property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q466956,P17,c(Q15617994))
action filter_type
action find
entity Q466956
relation P17
type Q15617994
[ANSWER] is President of [ANSWER] a part of
['Q466956', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q466956 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Chile
Chile is President of Chile a part of
Chile
action filter_type
action find
entity President of Chile
relation country
type designation for an administrative territorial entity
['President of Chile', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:President_of_Chile property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298
P276
Q355304
USER
What is located at that administrative territory ?
(c(Q355304),P276,Q298)
action filter_type
action find_reverse
entity Q298
relation P276
type Q355304
[{'concept': 'Q355304'}, 'P276', 'Q298']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q355304 . ?n property:P276 resource:Q298 }
Chile
action filter_type
action find_reverse
entity Chile
relation location
type watercourse
[{'concept': 'watercourse'}, 'location', 'Chile']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:watercourse . ?n property:location resource:Chile }
[]
watercourse
Q23650148
SYSTEM
Río Chepu
Q23650148
(c(Q355304),P276,Q298)
action filter_type
action find_reverse
entity Q298
relation P276
type Q355304
[ANSWER] is located at that administrative territory
[{'concept': 'Q355304'}, 'P276', 'Q298']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q355304 . ?n property:P276 resource:Q298 }
Río Chepu
Río Chepu is located at that administrative territory
Río Chepu
action filter_type
action find_reverse
entity Chile
relation location
type watercourse
[{'concept': 'watercourse'}, 'location', 'Chile']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:watercourse . ?n property:location resource:Chile }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q1292279 Q12737077
USER
Which administrative territories apply to jurisdiction of exactly 15 political borders or occupations ?
(c(Q1292279)|c(Q12737077),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
value 15
[[{'concept': 'Q1292279'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { { ?w property:P1001 ?g . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q12737077 } UNION { ?w property:P1001 ?g . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1292279 } } GROUP BY ?g } . FILTER ( ?v = 15 ) }
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
value 15
[[{'concept': 'political border'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { { ?w property:applies_to_jurisdiction ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:occupation } UNION { ?w property:applies_to_jurisdiction ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_border } } GROUP BY ?g } . FILTER ( ?v = 15 ) }
[]
designation for an administrative territorial entity political border occupation
Q155 Q43 Q252
SYSTEM
Brazil, Turkey, Indonesia
Q252 Q43 Q155 Q924 Q28 Q1049 Q974
(c(Q1292279)|c(Q12737077),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
value 15
[ANSWERS] apply to jurisdiction of exactly 15 political borders or occupations
[[{'concept': 'Q1292279'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { { ?w property:P1001 ?g . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q12737077 } UNION { ?w property:P1001 ?g . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1292279 } } GROUP BY ?g } . FILTER ( ?v = 15 ) }
Indonesia Turkey Brazil Tanzania Hungary Sudan Democratic Republic of the Congo
Brazil, Turkey and Indonesia apply to jurisdiction of exactly 15 political borders or occupations
Brazil Turkey Indonesia
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
value 15
[[{'concept': 'political border'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { { ?w property:applies_to_jurisdiction ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:occupation } UNION { ?w property:applies_to_jurisdiction ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_border } } GROUP BY ?g } . FILTER ( ?v = 15 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q224
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with around the same number of administrative territories as Croatia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q224
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q224 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?m property:P530 ?o . ?m rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?m } }
Croatia
action count
action approx
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 Croatia
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 ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Croatia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?m property:diplomatic_relation ?o . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q224
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q224 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?m property:P530 ?o . ?m rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?m } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
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 Croatia
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 ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Croatia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?m property:diplomatic_relation ?o . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q733
P530
Q15617994 Q15617994
USER
And what about Paraguay?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?w = ?g ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q733 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?w ) WHERE { ?k property:P530 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?k } }
Paraguay
action count
action approx
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 Paraguay
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 ( ?k ) AS ?y ) WHERE { FILTER ( ?w = ?g ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Paraguay property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?w ) WHERE { ?k property:diplomatic_relation ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?w = ?g ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q733 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?w ) WHERE { ?k property:P530 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?k } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
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 Paraguay
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 ( ?k ) AS ?y ) WHERE { FILTER ( ?w = ?g ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Paraguay property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?w ) WHERE { ?k property:diplomatic_relation ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atmost 60 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 60
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w <= 60 ) . { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?w ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?v } }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 60
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w <= 60 ) . { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?w ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q30 Q159
SYSTEM
Brazil, United States of America, Russia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 60
[ANSWERS] have diplomatic relations with atmost 60 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w <= 60 ) . { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?w ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?v } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Brazil, United States of America and Russia have diplomatic relations with atmost 60 administrative territories
Brazil United States of America Russia
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 60
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w <= 60 ) . { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?w ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q813
P495
Q15617994 Q2342494 Q201658
USER
How many administrative territories are the countries of origin of more number of collectables or film genres than Kyrgyzstan ?
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q813
relation P495
type Q2342494
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) ?l WHERE { { ?d property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q201658 . ?d property:P495 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P495 resource:Q813 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q201658 } } } } . FILTER ( ?k > ?f ) }
Kyrgyzstan
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Kyrgyzstan
relation country of origin
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) ?l WHERE { { ?d property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:collectable } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:film_genre . ?d property:country_of_origin ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:country_of_origin resource:Kyrgyzstan . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:film_genre } } } } . FILTER ( ?k > ?f ) }
[]
designation for an administrative territorial entity collectable film genre
SYSTEM
106
Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q37 Q717 Q837 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q884 Q881 Q822 Q241 Q242 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q983 Q851 Q733 Q854 Q1013 Q230 Q232 Q233 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q1049 Q1027 Q189 Q843 Q1029 Q1028 Q736 Q227 Q225 Q224 Q222 Q96 Q17 Q902 Q1036 Q974 Q1032 Q1033 Q191 Q965 Q298 Q115 Q114 Q117 Q754 Q212 Q213 Q214 Q215 Q218 Q219 Q912 Q1006 Q833 Q1008 Q970 Q79 Q77 Q878 Q774 Q948 Q1019 Q1014 Q1011 Q29 Q869 Q953
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q813
relation P495
type Q2342494
type Q201658
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) ?l WHERE { { ?d property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q201658 . ?d property:P495 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P495 resource:Q813 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q201658 } } } } . FILTER ( ?k > ?f ) }
Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Lithuania Venezuela Nepal Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe South Korea Vietnam Lebanon Cuba Belize Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Lesotho Georgia Kazakhstan Malta Norway Somalia Sierra Leone Senegal Ireland Hungary Sudan Mauritius Iceland Pakistan Mozambique Morocco Ecuador Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Japan Bangladesh Uganda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Chile Ethiopia Kenya Ghana Trinidad and Tobago Ukraine Czech Republic Slovakia Slovenia Romania Bulgaria Mali Guinea Malaysia Côte d'Ivoire Comoros Egypt Uruguay United Arab Emirates Guatemala Tunisia Madagascar Liberia Cape Verde Spain Thailand Zambia
106
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Kyrgyzstan
relation country of origin
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) ?l WHERE { { ?d property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:collectable } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:film_genre . ?d property:country_of_origin ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:country_of_origin resource:Kyrgyzstan . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:film_genre } } } } . FILTER ( ?k > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q28
P495
Q15617994 Q2342494 Q201658
USER
And also tell me about Hungary?
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q28
relation P495
type Q2342494
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2342494 . ?g property:P495 ?k } UNION { ?g property:P495 ?k . ?g rdf:type ontology:Q201658 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P495 resource:Q28 . { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?w rdf:type ?s } } } . FILTER ( ?n > ?j ) }
Hungary
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Hungary
relation country of origin
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:collectable . ?g property:country_of_origin ?k } UNION { ?g property:country_of_origin ?k . ?g rdf:type ontology:film_genre . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:country_of_origin resource:Hungary . { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?w rdf:type ?s } } } . FILTER ( ?n > ?j ) }
[]
designation for an administrative territorial entity collectable film genre
SYSTEM
20
Q668 Q414 Q142 Q55 Q145 Q148 Q258 Q159 Q155 Q33 Q31 Q30 Q36 Q34 Q928 Q38 Q20 Q27 Q17 Q29
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q28
relation P495
type Q2342494
type Q201658
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2342494 . ?g property:P495 ?k } UNION { ?g property:P495 ?k . ?g rdf:type ontology:Q201658 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P495 resource:Q28 . { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?w rdf:type ?s } } } . FILTER ( ?n > ?j ) }
India Argentina France Netherlands United Kingdom People's Republic of China South Africa Russia Brazil Finland Belgium United States of America Poland Sweden Philippines Italy Norway Ireland Japan Spain
20
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Hungary
relation country of origin
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:collectable . ?g property:country_of_origin ?k } UNION { ?g property:country_of_origin ?k . ?g rdf:type ontology:film_genre . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:country_of_origin resource:Hungary . { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?w rdf:type ?s } } } . FILTER ( ?n > ?j ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q15238603 Q155
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Brazil and are not Kishorpura, Phagi present in ?
AND((Q155,P530,c(Q15617994)), NOT((Q15238603,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q155
relation P530
action find
entity Q15238603
relation P17
type Q15617994
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q15238603', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Q155 property:P530 ?c . FILTER NOT EXISTS { resource:Q15238603 property:P17 ?c } . ?c rdf:type ontology:Q15617994 }
Kishorpura, Phagi Brazil
action filter_type
action difference
action find
entity Brazil
relation diplomatic relation
action find
entity Kishorpura, Phagi
relation country
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Kishorpura, Phagi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Brazil property:diplomatic_relation ?c . FILTER NOT EXISTS { resource:Kishorpura,_Phagi property:country ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801 Q750 Q29 Q403 Q142 Q1049 Q783 Q252 Q79 Q148
SYSTEM
Some of them are Israel, Bolivia, Spain, Serbia, France, Sudan, Honduras, Indonesia, Egypt, People's Republic of China
Q783 Q801 Q800 Q843 Q1029 Q822 Q241 Q419 Q244 Q414 Q574 Q142 Q145 Q148 Q96 Q17 Q30 Q36 Q79 Q77 Q38 Q1016 Q739 Q423 Q717 Q983 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q750 Q212 Q213 Q45 Q159 Q43 Q41 Q734 Q790 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916
AND((Q155,P530,c(Q15617994)), NOT((Q15238603,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q155
relation P530
action find
entity Q15238603
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Brazil and are not Kishorpura, Phagi present in
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q15238603', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Q155 property:P530 ?c . FILTER NOT EXISTS { resource:Q15238603 property:P17 ?c } . ?c rdf:type ontology:Q15617994 }
Honduras Israel Costa Rica Pakistan Mozambique Lebanon Cuba Peru Barbados Argentina East Timor France United Kingdom People's Republic of China Mexico Japan United States of America Poland Egypt Uruguay Italy Libya Colombia North Korea Venezuela Equatorial Guinea Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Bolivia Ukraine Czech Republic Portugal Russia Turkey Greece Guyana Haiti Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola
Israel, Bolivia, Spain, Serbia, France, Sudan, Honduras, Indonesia, Egypt and People's Republic of China hold diplomatic relationship with Brazil and are not Kishorpura, Phagi present in
Israel Bolivia Spain Serbia France Sudan Honduras Indonesia Egypt People's Republic of China
action filter_type
action difference
action find
entity Brazil
relation diplomatic relation
action find
entity Kishorpura, Phagi
relation country
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Kishorpura, Phagi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Brazil property:diplomatic_relation ?c . FILTER NOT EXISTS { resource:Kishorpura,_Phagi property:country ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]