Simple Question (Direct)
Simple Question
Q6068666
P102
Q7210356
USER
Which party does Pedro Enrique Alfonso belong to ?
(Q6068666,P102,c(Q7210356))
action filter_type
action find
entity Q6068666
relation P102
type Q7210356
['Q6068666', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7210356 . resource:Q6068666 property:P102 ?i }
Pedro Enrique Alfonso
action filter_type
action find
entity Pedro Enrique Alfonso
relation member of political party
type political organization
['Pedro Enrique Alfonso', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_organization . resource:Pedro_Enrique_Alfonso property:member_of_political_party ?i }
[]
political organization
Q7280424
SYSTEM
Radical Democracy Party
Q7280424
(Q6068666,P102,c(Q7210356))
action filter_type
action find
entity Q6068666
relation P102
type Q7210356
Pedro Enrique Alfonso belongs to [ANSWER]
['Q6068666', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7210356 . resource:Q6068666 property:P102 ?i }
Radical Democracy Party
Pedro Enrique Alfonso belongs to Radical Democracy Party
Radical Democracy Party
action filter_type
action find
entity Pedro Enrique Alfonso
relation member of political party
type political organization
['Pedro Enrique Alfonso', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_organization . resource:Pedro_Enrique_Alfonso property:member_of_political_party ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6068666
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q7280424,P27,c(Q15617994))
action filter_type
action find
entity Q6068666
relation P27
type Q15617994
['Q7280424', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q6068666 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Pedro Enrique Alfonso
action filter_type
action find
entity Pedro Enrique Alfonso
relation country of citizenship
type designation for an administrative territorial entity
['Radical Democracy Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Pedro_Enrique_Alfonso property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q7280424,P27,c(Q15617994))
action filter_type
action find
entity Q6068666
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q7280424', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q6068666 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Chile
Chile is the native country of that person
Chile
action filter_type
action find
entity Pedro Enrique Alfonso
relation country of citizenship
type designation for an administrative territorial entity
['Radical Democracy Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Pedro_Enrique_Alfonso property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2468633 Q6068666
P27
Q15617994
USER
Or Margot Zanstra?
OR((Q6068666,P27,c(Q15617994)), (Q2468633,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6068666
relation P27
action find
entity Q2468633
relation P27
type Q15617994
{'OR': [['Q6068666', 'P27', {'concept': 'Q15617994'}], ['Q2468633', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q6068666 property:P27 ?x } UNION { resource:Q2468633 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Margot Zanstra Pedro Enrique Alfonso
action filter_type
action union
action find
entity Pedro Enrique Alfonso
relation country of citizenship
action find
entity Margot Zanstra
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pedro Enrique Alfonso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Margot Zanstra', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Pedro_Enrique_Alfonso property:country_of_citizenship ?x } UNION { resource:Margot_Zanstra property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298 Q29999
SYSTEM
Chile, Kingdom of the Netherlands
Q298 Q29999
OR((Q6068666,P27,c(Q15617994)), (Q2468633,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6068666
relation P27
action find
entity Q2468633
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q6068666', 'P27', {'concept': 'Q15617994'}], ['Q2468633', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q6068666 property:P27 ?x } UNION { resource:Q2468633 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Chile Kingdom of the Netherlands
Chile Kingdom of the Netherlands
action filter_type
action union
action find
entity Pedro Enrique Alfonso
relation country of citizenship
action find
entity Margot Zanstra
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pedro Enrique Alfonso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Margot Zanstra', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Pedro_Enrique_Alfonso property:country_of_citizenship ?x } UNION { resource:Margot_Zanstra property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5838693 Q7280424
P17
Q15617994
USER
Which administrative territories are Radical Democracy Party or Albujenam located in ?
OR((Q7280424,P17,c(Q15617994)), (Q5838693,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7280424
relation P17
action find
entity Q5838693
relation P17
type Q15617994
{'OR': [['Q7280424', 'P17', {'concept': 'Q15617994'}], ['Q5838693', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { ?q property:P17 ?l . VALUES ( ?q ) { ( resource:Q5838693 ) ( resource:Q7280424 ) } } }
Albujenam Radical Democracy Party
action filter_type
action union
action find
entity Radical Democracy Party
relation country
action find
entity Albujenam
relation country
type designation for an administrative territorial entity
{'OR': [['Radical Democracy Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Albujenam', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?q property:country ?l . VALUES ( ?q ) { ( resource:Albujenam ) ( resource:Radical_Democracy_Party ) } } }
[]
designation for an administrative territorial entity
Q298 Q794
SYSTEM
Chile, Iran
Q298 Q794
OR((Q7280424,P17,c(Q15617994)), (Q5838693,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7280424
relation P17
action find
entity Q5838693
relation P17
type Q15617994
Radical Democracy Party or Albujenam are located in [ANSWERS]
{'OR': [['Q7280424', 'P17', {'concept': 'Q15617994'}], ['Q5838693', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { ?q property:P17 ?l . VALUES ( ?q ) { ( resource:Q5838693 ) ( resource:Q7280424 ) } } }
Chile Iran
Radical Democracy Party or Albujenam are located in Chile and Iran
Chile Iran
action filter_type
action union
action find
entity Radical Democracy Party
relation country
action find
entity Albujenam
relation country
type designation for an administrative territorial entity
{'OR': [['Radical Democracy Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Albujenam', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?q property:country ?l . VALUES ( ?q ) { ( resource:Albujenam ) ( resource:Radical_Democracy_Party ) } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q805
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with lesser number of administrative territories than Yemen ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q805
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?s ) WHERE { ?j rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?j property:P530 ?n } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q805 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?x ) }
Yemen
action less
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 Yemen
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?s ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?n } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Yemen property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q142 Q36
SYSTEM
Netherlands, France, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q142 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 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 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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q805
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with lesser number of administrative territories than Yemen
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?s ) WHERE { ?j rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?j property:P530 ?n } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q805 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?x ) }
Federated States of Micronesia Panama Costa Rica 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 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 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 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 Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, France and Poland are known to have diplomatic connections with lesser number of administrative territories than Yemen
Netherlands France Poland
action less
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 Yemen
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?s ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?n } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Yemen property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q221
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately the same number of administrative territories as Republic of Macedonia ?
(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 Q221
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?e ) WHERE { ?x rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?x } GROUP BY ?x } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Q221 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } }
Republic of Macedonia
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 Republic of Macedonia
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?e ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?x } GROUP BY ?x } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?k . ?k 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 Q43 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 Q79 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 Q221
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with approximately the same number of administrative territories as Republic of Macedonia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?e ) WHERE { ?x rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?x } GROUP BY ?x } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Q221 property:P530 ?k . ?k 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 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 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 Egypt 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 Republic of Macedonia
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 Republic of Macedonia
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?e ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?x } GROUP BY ?x } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q971
P530
Q15617994 Q15617994
USER
And what about Republic of the Congo?
(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 Q971
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q971 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } }
Republic of the Congo
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 Republic of the Congo
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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Republic_of_the_Congo property:diplomatic_relation ?x . ?x 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 Q43 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 Q79 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 Q971
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q971 property:P530 ?x . ?x 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 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 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 Egypt 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 Republic of the Congo
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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Republic_of_the_Congo property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories inspired lesser number of fictional locations than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q36
SYSTEM
Did you mean Poland ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Poland ?
Poland
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q55
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55416
SYSTEM
Chioggia
Q55416
(c(Q3895768),P941,c(Q15617994))
[ANSWER] inspired lesser number of fictional locations than that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Chioggia
Chioggia inspired lesser number of fictional locations than that administrative territory
Chioggia
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories were less number of fictional locations inspired by than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
action count
action less
action find_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q55416
relation P941
type Q15617994
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?v ) WHERE { ?q property:P941 ?l . ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q3895768 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q55416 property:P941 ?r } } . FILTER ( ?v < ?f ) }
action count
action less
action find_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity Chioggia
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?v ) WHERE { ?q property:inspired_by ?l . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:fictional_location } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chioggia property:inspired_by ?r } } . FILTER ( ?v < ?f ) }
[]
designation for an administrative territorial entity fictional location
SYSTEM
0
(c(Q3895768),P941,c(Q15617994))
action count
action less
action find_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q55416
relation P941
type Q15617994
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?v ) WHERE { ?q property:P941 ?l . ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q3895768 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q55416 property:P941 ?r } } . FILTER ( ?v < ?f ) }
0
action count
action less
action find_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity Chioggia
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?v ) WHERE { ?q property:inspired_by ?l . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:fictional_location } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chioggia property:inspired_by ?r } } . FILTER ( ?v < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q801
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with less number of administrative territories than Israel ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q801
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q801 property:P530 ?q } } . FILTER ( ?w < ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?w ) WHERE { ?p property:P530 ?x . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?p } }
Israel
action less
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 Israel
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 ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Israel property:diplomatic_relation ?q } } . FILTER ( ?w < ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?w ) WHERE { ?p property:diplomatic_relation ?x . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q55 Q142
SYSTEM
United States of America, Netherlands, France
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 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 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 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
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q801
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with less number of administrative territories than Israel
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q801 property:P530 ?q } } . FILTER ( ?w < ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?w ) WHERE { ?p property:P530 ?x . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?p } }
Federated States of Micronesia Panama 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 Turkey Greece 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 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
United States of America, Netherlands and France have diplomatic associations with less number of administrative territories than Israel
United States of America Netherlands France
action less
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 Israel
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 ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Israel property:diplomatic_relation ?q } } . FILTER ( ?w < ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?w ) WHERE { ?p property:diplomatic_relation ?x . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q790
P530
Q15617994 Q15617994
USER
And how about Haiti?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?x ) WHERE { ?v property:P530 ?c . ?v rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q790 property:P530 ?k } } . FILTER ( ?x < ?l ) }
Haiti
action less
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 Haiti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?x ) WHERE { ?v property:diplomatic_relation ?c . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Haiti property:diplomatic_relation ?k } } . FILTER ( ?x < ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?x ) WHERE { ?v property:P530 ?c . ?v rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q790 property:P530 ?k } } . FILTER ( ?x < ?l ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands Dominican Republic Tanzania
action less
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 Haiti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?x ) WHERE { ?v property:diplomatic_relation ?c . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Haiti property:diplomatic_relation ?k } } . FILTER ( ?x < ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q55
P47
Q1048835 Q2221906
USER
How many political territories and geographic locations have an adjacent border with Netherlands ?
(c(Q1048835),P47,Q55) (c(Q2221906),P47,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q55
relation P47
type Q2221906
[{'concept': 'Q1048835'}, 'P47', 'Q55'] [{'concept': 'Q2221906'}, 'P47', 'Q55']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q2221906 ) } . ?l rdf:type ?h }
Netherlands
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Netherlands
relation shares border with
type geographic location
[{'concept': 'political territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'geographic location'}, 'shares border with', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:geographic_location ) } . ?l rdf:type ?h }
[]
political territorial entity geographic location
SYSTEM
1 political territories and 1 geographic locations
Q183 Q165269
(c(Q1048835),P47,Q55) (c(Q2221906),P47,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q55
relation P47
type Q2221906
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q55'] [{'concept': 'Q2221906'}, 'P47', 'Q55']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q2221906 ) } . ?l rdf:type ?h }
Germany East Frisia
1 political territories and 1 geographic locations
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Netherlands
relation shares border with
type geographic location
[{'concept': 'political territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'geographic location'}, 'shares border with', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:geographic_location ) } . ?l rdf:type ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q55
P47
Q1048835 Q2221906
USER
How many political territories or geographic locations share border with Netherlands ?
(c(Q1048835),P47,Q55) (c(Q2221906),P47,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q55
relation P47
type Q2221906
[{'concept': 'Q1048835'}, 'P47', 'Q55'] [{'concept': 'Q2221906'}, 'P47', 'Q55']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q2221906 ) } }
Netherlands
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Netherlands
relation shares border with
type geographic location
[{'concept': 'political territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'geographic location'}, 'shares border with', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:geographic_location ) } }
[]
political territorial entity geographic location
SYSTEM
2
Q183 Q165269
(c(Q1048835),P47,Q55) (c(Q2221906),P47,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q55
relation P47
type Q2221906
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q55'] [{'concept': 'Q2221906'}, 'P47', 'Q55']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q2221906 ) } }
Germany East Frisia
2
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Netherlands
relation shares border with
type geographic location
[{'concept': 'political territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'geographic location'}, 'shares border with', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:geographic_location ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q55
P1001
Q895526 Q2712963
USER
How many authority organs and abstract nouns have jurisdiction over Netherlands ?
(c(Q895526),P1001,Q55) (c(Q2712963),P1001,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P1001
type Q895526
action filter_type
action find_reverse
entity Q55
relation P1001
type Q2712963
[{'concept': 'Q895526'}, 'P1001', 'Q55'] [{'concept': 'Q2712963'}, 'P1001', 'Q55']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q895526 ) ( ontology:Q2712963 ) } }
Netherlands
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation applies to jurisdiction
type authority organ
action filter_type
action find_reverse
entity Netherlands
relation applies to jurisdiction
type abstract noun
[{'concept': 'authority organ'}, 'applies to jurisdiction', 'Netherlands'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:authority_organ ) ( ontology:abstract_noun ) } }
[]
authority organ abstract noun
SYSTEM
1 authority organs and 3 abstract nouns
Q1436139 Q17375963 Q19605764 Q146839
(c(Q895526),P1001,Q55) (c(Q2712963),P1001,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P1001
type Q895526
action filter_type
action find_reverse
entity Q55
relation P1001
type Q2712963
[ANSWER]
[{'concept': 'Q895526'}, 'P1001', 'Q55'] [{'concept': 'Q2712963'}, 'P1001', 'Q55']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q895526 ) ( ontology:Q2712963 ) } }
Naamloze vennootschap Besloten vennootschap met beperkte aansprakelijkheid stichting Dijkgraaf
1 authority organs and 3 abstract nouns
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation applies to jurisdiction
type authority organ
action filter_type
action find_reverse
entity Netherlands
relation applies to jurisdiction
type abstract noun
[{'concept': 'authority organ'}, 'applies to jurisdiction', 'Netherlands'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:authority_organ ) ( ontology:abstract_noun ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P30
Q2221906
USER
Which geographic location is that administrative territory situated in ?
action filter_type
action find
entity Q55
relation P30
type Q2221906
SELECT DISTINCT ?c WHERE { resource:Q55 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Netherlands
action filter_type
action find
entity Netherlands
relation continent
type geographic location
SELECT DISTINCT ?c WHERE { resource:Netherlands property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
action filter_type
action find
entity Q55
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q55 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Europe
That administrative territory is situated in Europe
Europe
action filter_type
action find
entity Netherlands
relation continent
type geographic location
SELECT DISTINCT ?c WHERE { resource:Netherlands property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q55 Q800
P530
Q1048835
USER
How many political territories have tactful political relations with Netherlands and Costa Rica ?
(c(Q1048835),P530,Q55) (c(Q1048835),P530,Q800)
action count
action intersection
action filter_type
action find_reverse
entity Q55
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q800
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q800']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P530 resource:Q800 . ?u rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 . ?u property:P530 resource:Q55 }
Netherlands Costa Rica
action count
action intersection
action filter_type
action find_reverse
entity Netherlands
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Costa Rica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Costa Rica']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:diplomatic_relation resource:Costa_Rica . ?u rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity . ?u property:diplomatic_relation resource:Netherlands }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q55) (c(Q1048835),P530,Q800)
action count
action intersection
action filter_type
action find_reverse
entity Q55
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q800
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q800']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P530 resource:Q800 . ?u rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 . ?u property:P530 resource:Q55 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Netherlands
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Costa Rica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Costa Rica']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:diplomatic_relation resource:Costa_Rica . ?u rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity . ?u property:diplomatic_relation resource:Netherlands }
[]