Simple Question (Direct)
Simple Question
Q11636466
P172
Q2472587
USER
What is the race of Daisuke Koshikawa ?
(Q11636466,P172,c(Q2472587))
action filter_type
action find
entity Q11636466
relation P172
type Q2472587
['Q11636466', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?w WHERE { resource:Q11636466 property:P172 ?w . ?w rdf:type ontology:Q2472587 }
Daisuke Koshikawa
action filter_type
action find
entity Daisuke Koshikawa
relation ethnic group
type people
['Daisuke Koshikawa', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?w WHERE { resource:Daisuke_Koshikawa property:ethnic_group ?w . ?w rdf:type ontology:people }
[]
people
Q640605
SYSTEM
Yamato people
Q640605
(Q11636466,P172,c(Q2472587))
action filter_type
action find
entity Q11636466
relation P172
type Q2472587
The race of Daisuke Koshikawa is the [ANSWER]
['Q11636466', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?w WHERE { resource:Q11636466 property:P172 ?w . ?w rdf:type ontology:Q2472587 }
Yamato people
The race of Daisuke Koshikawa is the Yamato people
Yamato people
action filter_type
action find
entity Daisuke Koshikawa
relation ethnic group
type people
['Daisuke Koshikawa', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?w WHERE { resource:Daisuke_Koshikawa property:ethnic_group ?w . ?w rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11636466
P27
Q15617994
USER
Which administrative territory is the native country of Daisuke Koshikawa ?
(Q11636466,P27,c(Q15617994))
action filter_type
action find
entity Q11636466
relation P27
type Q15617994
['Q11636466', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q11636466 property:P27 ?o }
Daisuke Koshikawa
action filter_type
action find
entity Daisuke Koshikawa
relation country of citizenship
type designation for an administrative territorial entity
['Daisuke Koshikawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daisuke_Koshikawa property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11636466,P27,c(Q15617994))
action filter_type
action find
entity Q11636466
relation P27
type Q15617994
In [ANSWER] is the native country of Daisuke Koshikawa
['Q11636466', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q11636466 property:P27 ?o }
Japan
In Japan is the native country of Daisuke Koshikawa
Japan
action filter_type
action find
entity Daisuke Koshikawa
relation country of citizenship
type designation for an administrative territorial entity
['Daisuke Koshikawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daisuke_Koshikawa property:country_of_citizenship ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of approximately the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q17
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2031291 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q17 property:P495 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?v ) }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Japan
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:release } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Japan property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?v ) }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 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 Q96 Q229 Q347 Q17 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 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q17
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2031291 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q17 property:P495 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?v ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom 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 Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy 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 Mexico Cyprus Liechtenstein Japan 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 Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Japan
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:release } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Japan property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P35
Q502895
USER
Who is the head of state of Japan ?
(Q17,P35,c(Q502895))
action filter_type
action find
entity Q17
relation P35
type Q502895
['Q17', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q17 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Japan
action filter_type
action find
entity Japan
relation head of state
type common name
['Japan', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Japan property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
common name
Q37979
SYSTEM
Akihito
Q37979
(Q17,P35,c(Q502895))
action filter_type
action find
entity Q17
relation P35
type Q502895
The head of state of Japan is Emperor [ANSWER]
['Q17', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q17 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Akihito
The head of state of Japan is Emperor Akihito
Akihito
action filter_type
action find
entity Japan
relation head of state
type common name
['Japan', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Japan property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q37979 Q311174
P22
Q502895
USER
Does Fumihito, Prince Akishino have that one as a father ?
(Q311174,P22,Q37979)
action is_in
entity Q37979
action find
entity Q311174
relation P22
['Q311174', 'P22', 'Q37979']
ASK WHERE { resource:Q311174 property:P22 resource:Q37979 }
Akihito Fumihito, Prince Akishino
action is_in
entity Akihito
action find
entity Fumihito, Prince Akishino
relation father
['Fumihito, Prince Akishino', 'father', 'Akihito']
ASK WHERE { resource:Fumihito,_Prince_Akishino property:father resource:Akihito }
[]
common name
SYSTEM
YES
(Q311174,P22,Q37979)
action is_in
entity Q37979
action find
entity Q311174
relation P22
[ANSWER]
['Q311174', 'P22', 'Q37979']
ASK WHERE { resource:Q311174 property:P22 resource:Q37979 }
Yes
action is_in
entity Akihito
action find
entity Fumihito, Prince Akishino
relation father
['Fumihito, Prince Akishino', 'father', 'Akihito']
ASK WHERE { resource:Fumihito,_Prince_Akishino property:father resource:Akihito }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q858
P1001
Q15617994 Q820655 Q4164871
USER
How many administrative territories apply to jurisdiction of approximately the same number of statutes or positions as Syria ?
(c(Q820655)|c(Q4164871),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action count
action filter_multi_types
action find_reverse
entity Q858
relation P1001
type Q820655
type Q4164871
[[{'concept': 'Q820655'}, {'concept': 'Q4164871'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:Q4164871 ) ( ontology:Q820655 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P1001 resource:Q858 . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q820655 ) ( ontology:Q4164871 ) } } } } . FILTER ( ?n = ?p ) }
Syria
action count
action approx
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 position
action count
action filter_multi_types
action find_reverse
entity Syria
relation applies to jurisdiction
type statute
type position
[[{'concept': 'statute'}, {'concept': 'position'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:position ) ( ontology:statute ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:applies_to_jurisdiction resource:Syria . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:statute ) ( ontology:position ) } } } } . FILTER ( ?n = ?p ) }
[]
designation for an administrative territorial entity statute position
SYSTEM
260
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 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 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q820655)|c(Q4164871),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action count
action filter_multi_types
action find_reverse
entity Q858
relation P1001
type Q820655
type Q4164871
[ANSWER]
[[{'concept': 'Q820655'}, {'concept': 'Q4164871'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:Q4164871 ) ( ontology:Q820655 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P1001 resource:Q858 . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q820655 ) ( ontology:Q4164871 ) } } } } . FILTER ( ?n = ?p ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario 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 South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen 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 Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
260
action count
action approx
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 position
action count
action filter_multi_types
action find_reverse
entity Syria
relation applies to jurisdiction
type statute
type position
[[{'concept': 'statute'}, {'concept': 'position'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:position ) ( ontology:statute ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:applies_to_jurisdiction resource:Syria . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:statute ) ( ontology:position ) } } } } . FILTER ( ?n = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q184
P1001
Q15617994 Q820655 Q4164871
USER
And how about Belarus?
(c(Q820655)|c(Q4164871),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action count
action filter_multi_types
action find_reverse
entity Q184
relation P1001
type Q820655
type Q4164871
[[{'concept': 'Q820655'}, {'concept': 'Q4164871'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?v WHERE { { ?g property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q820655 } UNION { ?v rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q4164871 . ?g property:P1001 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P1001 resource:Q184 . { { ?p rdf:type ontology:Q820655 } UNION { ?p rdf:type ontology:Q4164871 } } } } . FILTER ( ?n = ?z ) }
Belarus
action count
action approx
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 position
action count
action filter_multi_types
action find_reverse
entity Belarus
relation applies to jurisdiction
type statute
type position
[[{'concept': 'statute'}, {'concept': 'position'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?v WHERE { { ?g property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:statute } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:position . ?g property:applies_to_jurisdiction ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:applies_to_jurisdiction resource:Belarus . { { ?p rdf:type ontology:statute } UNION { ?p rdf:type ontology:position } } } } . FILTER ( ?n = ?z ) }
[]
designation for an administrative territorial entity statute position
SYSTEM
260
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 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 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q820655)|c(Q4164871),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action count
action filter_multi_types
action find_reverse
entity Q184
relation P1001
type Q820655
type Q4164871
[ANSWER]
[[{'concept': 'Q820655'}, {'concept': 'Q4164871'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?v WHERE { { ?g property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q820655 } UNION { ?v rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q4164871 . ?g property:P1001 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P1001 resource:Q184 . { { ?p rdf:type ontology:Q820655 } UNION { ?p rdf:type ontology:Q4164871 } } } } . FILTER ( ?n = ?z ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario 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 South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen 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 Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
260
action count
action approx
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 position
action count
action filter_multi_types
action find_reverse
entity Belarus
relation applies to jurisdiction
type statute
type position
[[{'concept': 'statute'}, {'concept': 'position'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?v WHERE { { ?g property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:statute } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:position . ?g property:applies_to_jurisdiction ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:applies_to_jurisdiction resource:Belarus . { { ?p rdf:type ontology:statute } UNION { ?p rdf:type ontology:position } } } } . FILTER ( ?n = ?z ) }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q17597686 Q11636466
P106
Q12737077
USER
Which occupations are the job of Daisuke Koshikawa but not Cindy Colpaert ?
AND((Q11636466,P106,c(Q12737077)), NOT((Q17597686,P106,c(Q12737077))))
action filter_type
action difference
action find
entity Q11636466
relation P106
action find
entity Q17597686
relation P106
type Q12737077
{'AND': [['Q11636466', 'P106', {'concept': 'Q12737077'}], {'NOT': [['Q17597686', 'P106', {'concept': 'Q12737077'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Q11636466 property:P106 ?b . FILTER NOT EXISTS { resource:Q17597686 property:P106 ?b } . ?b rdf:type ontology:Q12737077 }
Cindy Colpaert Daisuke Koshikawa
action filter_type
action difference
action find
entity Daisuke Koshikawa
relation occupation
action find
entity Cindy Colpaert
relation occupation
type occupation
{'AND': [['Daisuke Koshikawa', 'occupation', {'concept': 'occupation'}], {'NOT': [['Cindy Colpaert', 'occupation', {'concept': 'occupation'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Daisuke_Koshikawa property:occupation ?b . FILTER NOT EXISTS { resource:Cindy_Colpaert property:occupation ?b } . ?b rdf:type ontology:occupation }
[]
occupation
Q943995 Q12330954 Q622807
SYSTEM
impresario, owarai tarento, seiyū
Q943995 Q12330954 Q622807
AND((Q11636466,P106,c(Q12737077)), NOT((Q17597686,P106,c(Q12737077))))
action filter_type
action difference
action find
entity Q11636466
relation P106
action find
entity Q17597686
relation P106
type Q12737077
The [ANSWERS] are the job of Daisuke Koshikawa but not Cindy Colpaert
{'AND': [['Q11636466', 'P106', {'concept': 'Q12737077'}], {'NOT': [['Q17597686', 'P106', {'concept': 'Q12737077'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Q11636466 property:P106 ?b . FILTER NOT EXISTS { resource:Q17597686 property:P106 ?b } . ?b rdf:type ontology:Q12737077 }
impresario owarai tarento seiyū
The impresario, owarai tarento and seiyū are the job of Daisuke Koshikawa but not Cindy Colpaert
impresario owarai tarento seiyū
action filter_type
action difference
action find
entity Daisuke Koshikawa
relation occupation
action find
entity Cindy Colpaert
relation occupation
type occupation
{'AND': [['Daisuke Koshikawa', 'occupation', {'concept': 'occupation'}], {'NOT': [['Cindy Colpaert', 'occupation', {'concept': 'occupation'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Daisuke_Koshikawa property:occupation ?b . FILTER NOT EXISTS { resource:Cindy_Colpaert property:occupation ?b } . ?b rdf:type ontology:occupation }
[]