Simple Question (Direct)
Simple Question
Q709037
P27
Q15617994
USER
Which administrative territory is the native country of Mikael Appelgren ?
(Q709037,P27,c(Q15617994))
action filter_type
action find
entity Q709037
relation P27
type Q15617994
['Q709037', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q709037 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Mikael Appelgren
action filter_type
action find
entity Mikael Appelgren
relation country of citizenship
type designation for an administrative territorial entity
['Mikael Appelgren', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Mikael_Appelgren property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q709037,P27,c(Q15617994))
action filter_type
action find
entity Q709037
relation P27
type Q15617994
[ANSWER] is the native country of Mikael Appelgren
['Q709037', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q709037 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of Mikael Appelgren
Sweden
action filter_type
action find
entity Mikael Appelgren
relation country of citizenship
type designation for an administrative territorial entity
['Mikael Appelgren', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Mikael_Appelgren property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P159
Q1400264
USER
Which artist collective has its head office location at that administrative territory ?
(c(Q1400264),P159,Q34)
action filter_type
action find_reverse
entity Q34
relation P159
type Q1400264
[{'concept': 'Q1400264'}, 'P159', 'Q34']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q34 . ?s rdf:type ontology:Q1400264 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation headquarters location
type artist collective
[{'concept': 'artist collective'}, 'headquarters location', 'Sweden']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:Sweden . ?s rdf:type ontology:artist_collective }
[]
artist collective
Q1393314
SYSTEM
Fairlight
Q1393314
(c(Q1400264),P159,Q34)
action filter_type
action find_reverse
entity Q34
relation P159
type Q1400264
[ANSWER] has its head office location at that administrative territory
[{'concept': 'Q1400264'}, 'P159', 'Q34']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q34 . ?s rdf:type ontology:Q1400264 }
Fairlight
Fairlight has its head office location at that administrative territory
Fairlight
action filter_type
action find_reverse
entity Sweden
relation headquarters location
type artist collective
[{'concept': 'artist collective'}, 'headquarters location', 'Sweden']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:Sweden . ?s rdf:type ontology:artist_collective }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1101
P1001
Q15617994 Q820655 Q17335294
USER
Which administrative territories are judicially linked to less number of statutes and coats of arms than North Brabant ?
(c(Q820655)|c(Q17335294),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q1101
relation P1001
type Q820655
type Q17335294
[[{'concept': 'Q820655'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?y ) WHERE { { ?z property:P1001 ?n . ?n rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q820655 } UNION { ?z property:P1001 ?n . ?n rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q17335294 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P1001 resource:Q1101 . { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q820655 ) ( ontology:Q17335294 ) } } } } . FILTER ( ?y < ?i ) }
North Brabant
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity North Brabant
relation applies to jurisdiction
type statute
type flag or coat of arms
[[{'concept': 'statute'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?y ) WHERE { { ?z property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:statute } UNION { ?z property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:applies_to_jurisdiction resource:North_Brabant . { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:statute ) ( ontology:flag_or_coat_of_arms ) } } } } . FILTER ( ?y < ?i ) }
[]
designation for an administrative territorial entity statute flag or coat of arms
Q155 Q230 Q36
SYSTEM
Brazil, Georgia, Poland
Q702 Q804 Q801 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q2871 Q262 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q45 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q924 Q36 Q34 Q155019 Q3389 Q986 Q423 Q983 Q851 Q733 Q854 Q734 Q819 Q424 Q163966 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q238 Q119284 Q1045 Q3403547 Q1041 Q27 Q28 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1029 Q2003 Q736 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q800 Q1039 Q672 Q929 Q298 Q329609 Q863 Q2938 Q869 Q1231 Q953 Q1237
(c(Q820655)|c(Q17335294),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q1101
relation P1001
type Q820655
type Q17335294
[ANSWERS] are judicially linked to less number of statutes and coats of arms than North Brabant
[[{'concept': 'Q820655'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?y ) WHERE { { ?z property:P1001 ?n . ?n rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q820655 } UNION { ?z property:P1001 ?n . ?n rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q17335294 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P1001 resource:Q1101 . { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q820655 ) ( ontology:Q17335294 ) } } } } . FILTER ( ?y < ?i ) }
Federated States of Micronesia Panama Israel Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Hagen Algeria Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Portugal Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Poland Sweden Duchy of Lorraine Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Guyana Laos Cambodia Mitte Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Senegal Ireland Hungary Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus Mozambique Newfoundland and Labrador Ecuador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Costa Rica Sao Tomé and Príncipe Tuvalu Central African Republic Chile Lichtenberg Tajikistan Leverkusen Thailand Kosovo Region Zambia Trentino-South Tyrol
Brazil, Georgia and Poland are judicially linked to less number of statutes and coats of arms than North Brabant
Brazil Georgia Poland
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity North Brabant
relation applies to jurisdiction
type statute
type flag or coat of arms
[[{'concept': 'statute'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?y ) WHERE { { ?z property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:statute } UNION { ?z property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:applies_to_jurisdiction resource:North_Brabant . { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:statute ) ( ontology:flag_or_coat_of_arms ) } } } } . FILTER ( ?y < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1267638
P1001
Q15617994 Q820655 Q17335294
USER
And also tell me about Beloostrov?
(c(Q820655)|c(Q17335294),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q1267638
relation P1001
type Q820655
type Q17335294
[[{'concept': 'Q820655'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?p ) WHERE { { ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q820655 . ?u property:P1001 ?e } UNION { ?u property:P1001 ?e . ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q17335294 } } GROUP BY ?e } . FILTER ( ?p < ?d ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q17335294 ) ( ontology:Q820655 ) } } . ?s property:P1001 resource:Q1267638 } } }
Beloostrov
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity Beloostrov
relation applies to jurisdiction
type statute
type flag or coat of arms
[[{'concept': 'statute'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?p ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:statute . ?u property:applies_to_jurisdiction ?e } UNION { ?u property:applies_to_jurisdiction ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?e } . FILTER ( ?p < ?d ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:flag_or_coat_of_arms ) ( ontology:statute ) } } . ?s property:applies_to_jurisdiction resource:Beloostrov } } }
[]
designation for an administrative territorial entity statute flag or coat of arms
Q155 Q230 Q36
SYSTEM
Brazil, Georgia, Poland
Q702 Q804 Q801 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q2871 Q262 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q45 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q924 Q36 Q34 Q155019 Q3389 Q986 Q423 Q983 Q851 Q733 Q854 Q734 Q819 Q424 Q163966 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q238 Q119284 Q1045 Q3403547 Q1041 Q27 Q28 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1029 Q2003 Q736 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q800 Q1039 Q672 Q929 Q298 Q329609 Q863 Q2938 Q869 Q1231 Q953 Q1237
(c(Q820655)|c(Q17335294),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q1267638
relation P1001
type Q820655
type Q17335294
[ANSWERS]
[[{'concept': 'Q820655'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?p ) WHERE { { ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q820655 . ?u property:P1001 ?e } UNION { ?u property:P1001 ?e . ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q17335294 } } GROUP BY ?e } . FILTER ( ?p < ?d ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q17335294 ) ( ontology:Q820655 ) } } . ?s property:P1001 resource:Q1267638 } } }
Federated States of Micronesia Panama Israel Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Hagen Algeria Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Portugal Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Poland Sweden Duchy of Lorraine Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Guyana Laos Cambodia Mitte Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Senegal Ireland Hungary Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus Mozambique Newfoundland and Labrador Ecuador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Costa Rica Sao Tomé and Príncipe Tuvalu Central African Republic Chile Lichtenberg Tajikistan Leverkusen Thailand Kosovo Region Zambia Trentino-South Tyrol
Brazil Georgia Poland
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity Beloostrov
relation applies to jurisdiction
type statute
type flag or coat of arms
[[{'concept': 'statute'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?p ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:statute . ?u property:applies_to_jurisdiction ?e } UNION { ?u property:applies_to_jurisdiction ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?e } . FILTER ( ?p < ?d ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:flag_or_coat_of_arms ) ( ontology:statute ) } } . ?s property:applies_to_jurisdiction resource:Beloostrov } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q838948
USER
Which administrative territories did greater number of literary works and works of art originate than that administrative territory ?
(c(Q7725634)|c(Q838948),P495,c(Q15617994))
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?d ) { ( ?z ) ( ?x ) } . ?d property:P495 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?d ) { ( ?z ) ( ?x ) } . ?d property:country_of_origin ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
designation for an administrative territorial entity literary work work of art
Comparative|More/Less|Mult. entity type|Clarification
Q155
SYSTEM
Did you mean Brazil ?
(c(Q7725634)|c(Q838948),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?d ) { ( ?z ) ( ?x ) } . ?d property:P495 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Did you mean Brazil ?
Brazil
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?d ) { ( ?z ) ( ?x ) } . ?d property:country_of_origin ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
USER
No, I meant Georgia. Could you tell me the answer for that?
(c(Q7725634)|c(Q838948),P495,c(Q15617994))
Q230
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q717 Q837 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q794 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q854 Q424 Q232 Q20 Q1041 Q27 Q28 Q189 Q843 Q1028 Q225 Q224 Q222 Q96 Q17 Q902 Q974 Q1033 Q191 Q965 Q298 Q212 Q213 Q211 Q214 Q215 Q218 Q219 Q833 Q836 Q79 Q77 Q858 Q948 Q29 Q869
(c(Q7725634)|c(Q838948),P495,c(Q15617994))
[ANSWERS] greater number of literary works and works of art originated than that administrative territory
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Israel Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Venezuela Nepal Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iran South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Sri Lanka Cambodia Kazakhstan Norway Senegal Ireland Hungary Iceland Pakistan Morocco Bosnia and Herzegovina Croatia Albania Mexico Japan Bangladesh Democratic Republic of the Congo Nigeria Estonia Burkina Faso Chile Ukraine Czech Republic Latvia Slovakia Slovenia Romania Bulgaria Malaysia Myanmar Egypt Uruguay Syria Tunisia Spain Thailand
Italy, Brazil and United States of America greater number of literary works and works of art originated than that administrative territory
Italy Brazil United States of America
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q12155690 Q230
P530 P495
Q15617994
USER
Which administrative territories have diplomatic relationships with Georgia and are the countries of origin of In Memoriam ?
AND((Q230,P530,c(Q15617994)), (Q12155690,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q230
relation P530
action find
entity Q12155690
relation P495
type Q15617994
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], ['Q12155690', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q12155690 property:P495 ?p . resource:Q230 property:P530 ?p . ?p rdf:type ontology:Q15617994 }
In Memoriam Georgia
action filter_type
action intersection
action find
entity Georgia
relation diplomatic relation
action find
entity In Memoriam
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['In Memoriam', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:In_Memoriam property:country_of_origin ?p . resource:Georgia property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q230,P530,c(Q15617994)), (Q12155690,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q230
relation P530
action find
entity Q12155690
relation P495
type Q15617994
[ANSWER] have diplomatic relationships with Georgia and are the countries of origin of In Memoriam
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], ['Q12155690', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q12155690 property:P495 ?p . resource:Q230 property:P530 ?p . ?p rdf:type ontology:Q15617994 }
Spain
Spain have diplomatic relationships with Georgia and are the countries of origin of In Memoriam
Spain
action filter_type
action intersection
action find
entity Georgia
relation diplomatic relation
action find
entity In Memoriam
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['In Memoriam', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:In_Memoriam property:country_of_origin ?p . resource:Georgia property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q15416
USER
How many administrative territories are the origins of less number of collectables or television programs than that administrative territory ?
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q29
relation P495
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:P495 ?e . ?r rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q15617994 } UNION { ?r property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15416 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P495 resource:Q29 . { VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?t rdf:type ?z } } } . FILTER ( ?x < ?m ) }
action count
action less
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 television program
action count
action filter_multi_types
action find_reverse
entity Spain
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:country_of_origin ?e . ?r rdf:type ontology:collectable . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:television_program } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:country_of_origin resource:Spain . { VALUES ( ?z ) { ( ontology:television_program ) ( ontology:collectable ) } . ?t rdf:type ?z } } } . FILTER ( ?x < ?m ) }
[]
designation for an administrative territorial entity collectable television program
SYSTEM
157
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q29
relation P495
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:P495 ?e . ?r rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q15617994 } UNION { ?r property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15416 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P495 resource:Q29 . { VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?t rdf:type ?z } } } . FILTER ( ?x < ?m ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
157
action count
action less
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 television program
action count
action filter_multi_types
action find_reverse
entity Spain
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:country_of_origin ?e . ?r rdf:type ontology:collectable . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:television_program } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:country_of_origin resource:Spain . { VALUES ( ?z ) { ( ontology:television_program ) ( ontology:collectable ) } . ?t rdf:type ?z } } } . FILTER ( ?x < ?m ) }
[]