Simple Question (Direct)
Simple Question
Q11738118
P166
Q618779
USER
Which awards were received by Kazimierz Maślankiewicz ?
(Q11738118,P166,c(Q618779))
action filter_type
action find
entity Q11738118
relation P166
type Q618779
['Q11738118', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q11738118 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Kazimierz Maślankiewicz
action filter_type
action find
entity Kazimierz Maślankiewicz
relation award received
type award
['Kazimierz Maślankiewicz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Kazimierz_Maślankiewicz property:award_received ?g . ?g rdf:type ontology:award }
[]
award
Q6805076 Q15715250
SYSTEM
Medal of the 10th Anniversary of People's Poland, Knight of the Order of Polonia Restituta
Q6805076 Q15715250
(Q11738118,P166,c(Q618779))
action filter_type
action find
entity Q11738118
relation P166
type Q618779
[ANSWERS] were received by Kazimierz Maślankiewicz
['Q11738118', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q11738118 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Medal of the 10th Anniversary of People's Poland Knight of the Order of Polonia Restituta
Medal of the 10th Anniversary of People's Poland and Knight of the Order of Polonia Restituta were received by Kazimierz Maślankiewicz
Medal of the 10th Anniversary of People's Poland Knight of the Order of Polonia Restituta
action filter_type
action find
entity Kazimierz Maślankiewicz
relation award received
type award
['Kazimierz Maślankiewicz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Kazimierz_Maślankiewicz property:award_received ?g . ?g rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11738118
P20
Q486972
USER
Where did Kazimierz Maślankiewicz die ?
(Q11738118,P20,c(Q486972))
action filter_type
action find
entity Q11738118
relation P20
type Q486972
['Q11738118', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q11738118 property:P20 ?d . ?d rdf:type ontology:Q486972 }
Kazimierz Maślankiewicz
action filter_type
action find
entity Kazimierz Maślankiewicz
relation place of death
type human settlement
['Kazimierz Maślankiewicz', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Kazimierz_Maślankiewicz property:place_of_death ?d . ?d rdf:type ontology:human_settlement }
[]
human settlement
Q31487
SYSTEM
Kraków
Q31487
(Q11738118,P20,c(Q486972))
action filter_type
action find
entity Q11738118
relation P20
type Q486972
Kazimierz Maślankiewicz died in [ANSWER]
['Q11738118', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q11738118 property:P20 ?d . ?d rdf:type ontology:Q486972 }
Kraków
Kazimierz Maślankiewicz died in Kraków
Kraków
action filter_type
action find
entity Kazimierz Maślankiewicz
relation place of death
type human settlement
['Kazimierz Maślankiewicz', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Kazimierz_Maślankiewicz property:place_of_death ?d . ?d rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12494393 Q6805076
P17
Q15617994
USER
Which administrative territories do Medal of the 10th Anniversary of People's Poland or Lembah Segar belong to ?
OR((Q6805076,P17,c(Q15617994)), (Q12494393,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6805076
relation P17
action find
entity Q12494393
relation P17
type Q15617994
{'OR': [['Q6805076', 'P17', {'concept': 'Q15617994'}], ['Q12494393', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q12494393 property:P17 ?g } UNION { resource:Q6805076 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Lembah Segar Medal of the 10th Anniversary of People's Poland
action filter_type
action union
action find
entity Medal of the 10th Anniversary of People's Poland
relation country
action find
entity Lembah Segar
relation country
type designation for an administrative territorial entity
{'OR': [["Medal of the 10th Anniversary of People's Poland", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lembah Segar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Lembah_Segar property:country ?g } UNION { resource:Medal_of_the_10th_Anniversary_of_People's_Poland property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252 Q36
SYSTEM
Indonesia, Poland
Q252 Q36
OR((Q6805076,P17,c(Q15617994)), (Q12494393,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6805076
relation P17
action find
entity Q12494393
relation P17
type Q15617994
[ANSWERS] Medal of the 10th Anniversary of People's Poland or Lembah Segar belong to
{'OR': [['Q6805076', 'P17', {'concept': 'Q15617994'}], ['Q12494393', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q12494393 property:P17 ?g } UNION { resource:Q6805076 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Indonesia Poland
Indonesia and Poland Medal of the 10th Anniversary of People's Poland or Lembah Segar belong to
Indonesia Poland
action filter_type
action union
action find
entity Medal of the 10th Anniversary of People's Poland
relation country
action find
entity Lembah Segar
relation country
type designation for an administrative territorial entity
{'OR': [["Medal of the 10th Anniversary of People's Poland", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lembah Segar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Lembah_Segar property:country ?g } UNION { resource:Medal_of_the_10th_Anniversary_of_People's_Poland property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Are Brazil known to have diplomatic connections with those ones ?
(Q155,P530,Q252) (Q155,P530,Q36)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q252'] ['Q155', 'P530', 'Q36']
ASK WHERE { VALUES ( ?r ) { ( resource:Q252 ) ( resource:Q36 ) } . resource:Q155 property:P530 ?r }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Indonesia'] ['Brazil', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?r ) { ( resource:Indonesia ) ( resource:Poland ) } . resource:Brazil property:diplomatic_relation ?r }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q252) (Q155,P530,Q36)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q252'] ['Q155', 'P530', 'Q36']
ASK WHERE { VALUES ( ?r ) { ( resource:Q252 ) ( resource:Q36 ) } . resource:Q155 property:P530 ?r }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Indonesia'] ['Brazil', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?r ) { ( resource:Indonesia ) ( resource:Poland ) } . resource:Brazil property:diplomatic_relation ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q36 Q21924355 Q840694
P206
Q355304
USER
Is Poland situated close to Laradeenya Creek and Dunajec ?
(Q36,P206,Q21924355) (Q36,P206,Q840694)
action is_in
entity Q36
action intersection
action find_reverse
entity Q21924355
relation P206
action find_reverse
entity Q840694
relation P206
['Q36', 'P206', 'Q21924355'] ['Q36', 'P206', 'Q840694']
ASK WHERE { resource:Q36 property:P206 resource:Q21924355 . resource:Q36 property:P206 resource:Q840694 }
Poland Laradeenya Creek Dunajec
action is_in
entity Poland
action intersection
action find_reverse
entity Laradeenya Creek
relation located next to body of water
action find_reverse
entity Dunajec
relation located next to body of water
['Poland', 'located next to body of water', 'Laradeenya Creek'] ['Poland', 'located next to body of water', 'Dunajec']
ASK WHERE { resource:Poland property:located_next_to_body_of_water resource:Laradeenya_Creek . resource:Poland property:located_next_to_body_of_water resource:Dunajec }
[]
watercourse
SYSTEM
NO and YES respectively
(Q36,P206,Q21924355) (Q36,P206,Q840694)
action is_in
entity Q36
action intersection
action find_reverse
entity Q21924355
relation P206
action find_reverse
entity Q840694
relation P206
[ANSWER]
['Q36', 'P206', 'Q21924355'] ['Q36', 'P206', 'Q840694']
ASK WHERE { resource:Q36 property:P206 resource:Q21924355 . resource:Q36 property:P206 resource:Q840694 }
NO and YES respectively
action is_in
entity Poland
action intersection
action find_reverse
entity Laradeenya Creek
relation located next to body of water
action find_reverse
entity Dunajec
relation located next to body of water
['Poland', 'located next to body of water', 'Laradeenya Creek'] ['Poland', 'located next to body of water', 'Dunajec']
ASK WHERE { resource:Poland property:located_next_to_body_of_water resource:Laradeenya_Creek . resource:Poland property:located_next_to_body_of_water resource:Dunajec }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q986
P1001
Q15617994 Q192350 Q35798
USER
Which administrative territories belong to jurisdiction of approximately the same number of ministries and executive branches as Eritrea ?
(c(Q192350)|c(Q35798),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q986
relation P1001
type Q192350
type Q35798
[[{'concept': 'Q192350'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:Q192350 ) ( ontology:Q35798 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P1001 resource:Q986 . { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:Q35798 ) ( ontology:Q192350 ) } } } } . FILTER ( ?o = ?v ) }
Eritrea
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Eritrea
relation applies to jurisdiction
type ministry
type executive branch
[[{'concept': 'ministry'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:ministry ) ( ontology:executive_branch ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:applies_to_jurisdiction resource:Eritrea . { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:executive_branch ) ( ontology:ministry ) } } } } . FILTER ( ?o = ?v ) }
[]
designation for an administrative territorial entity ministry executive branch
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q262 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 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q921 Q4712 Q924 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 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 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 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 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q33788 Q929 Q1267638 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q192350)|c(Q35798),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q986
relation P1001
type Q192350
type Q35798
[ANSWERS] belong to jurisdiction of approximately the same number of ministries and executive branches as Eritrea
[[{'concept': 'Q192350'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:Q192350 ) ( ontology:Q35798 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P1001 resource:Q986 . { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:Q35798 ) ( ontology:Q192350 ) } } } } . FILTER ( ?o = ?v ) }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Argentina France Duchy of Nemours Netherlands Hagen Algeria 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 Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Brunei Duchy of Burgundy Tanzania Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan 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 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 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 East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay 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 New Caledonia Central African Republic Beloostrov Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Italy, Brazil and Georgia belong to jurisdiction of approximately the same number of ministries and executive branches as Eritrea
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Eritrea
relation applies to jurisdiction
type ministry
type executive branch
[[{'concept': 'ministry'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:ministry ) ( ontology:executive_branch ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:applies_to_jurisdiction resource:Eritrea . { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:executive_branch ) ( ontology:ministry ) } } } } . FILTER ( ?o = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q224
P1001
Q15617994 Q192350 Q35798
USER
And how about Croatia?
(c(Q192350)|c(Q35798),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q224
relation P1001
type Q192350
type Q35798
[[{'concept': 'Q192350'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?r WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:Q192350 ) ( ontology:Q35798 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { { ?g rdf:type ontology:Q192350 } UNION { ?g rdf:type ontology:Q35798 } } . ?g property:P1001 resource:Q224 } } . FILTER ( ?w = ?h ) }
Croatia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Croatia
relation applies to jurisdiction
type ministry
type executive branch
[[{'concept': 'ministry'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?r WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:ministry ) ( ontology:executive_branch ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { { ?g rdf:type ontology:ministry } UNION { ?g rdf:type ontology:executive_branch } } . ?g property:applies_to_jurisdiction resource:Croatia } } . FILTER ( ?w = ?h ) }
[]
designation for an administrative territorial entity ministry executive branch
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q142 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 Q921 Q4712 Q924 Q36 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 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 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 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q192350)|c(Q35798),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q224
relation P1001
type Q192350
type Q35798
[ANSWERS]
[[{'concept': 'Q192350'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?r WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:Q192350 ) ( ontology:Q35798 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { { ?g rdf:type ontology:Q192350 } UNION { ?g rdf:type ontology:Q35798 } } . ?g property:P1001 resource:Q224 } } . FILTER ( ?w = ?h ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina France 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 Brunei Duchy of Burgundy Tanzania Poland 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 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 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 Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Croatia
relation applies to jurisdiction
type ministry
type executive branch
[[{'concept': 'ministry'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?r WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:ministry ) ( ontology:executive_branch ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { { ?g rdf:type ontology:ministry } UNION { ?g rdf:type ontology:executive_branch } } . ?g property:applies_to_jurisdiction resource:Croatia } } . FILTER ( ?w = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q695
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with greater number of administrative territories than Palau ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q695
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?d ) WHERE { ?v property:P530 ?f . ?v rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q695 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?y ) }
Palau
action greater
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 Palau
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 ( ?f ) AS ?d ) WHERE { ?v property:diplomatic_relation ?f . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Palau property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?y ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q695
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with greater number of administrative territories than Palau
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?d ) WHERE { ?v property:P530 ?f . ?v rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q695 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?y ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of administrative territories than Palau
Italy Brazil United States of America
action greater
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 Palau
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 ( ?f ) AS ?d ) WHERE { ?v property:diplomatic_relation ?f . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Palau property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q928
P530
Q15617994 Q15617994
USER
And what about Philippines?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q928
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?w ) WHERE { ?j rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?j property:P530 ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q928 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?u ) }
Philippines
action greater
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 Philippines
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 ( ?b ) AS ?w ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Philippines property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q796 Q794 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q928
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?w ) WHERE { ?j rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?j property:P530 ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q928 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?u ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil Iraq Iran South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
Italy Brazil United States of America
action greater
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 Philippines
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 ( ?b ) AS ?w ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Philippines property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?u ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q874405 Q1129645
USER
How many social groups or trade blocs had that administrative territory as their member ?
(Q30,P463,c(Q874405)) (Q30,P463,c(Q1129645)) (Q38,P463,c(Q874405)) (Q38,P463,c(Q1129645)) (Q155,P463,c(Q874405)) (Q155,P463,c(Q1129645)) (Q30,P463,c(Q874405)) (Q30,P463,c(Q1129645))
['Q30', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q1129645'}] ['Q38', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q1129645'}] ['Q155', 'P463', {'concept': 'Q874405'}] ['Q155', 'P463', {'concept': 'Q1129645'}] ['Q30', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q1129645'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q30 property:P463 ?z } UNION { resource:Q30 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q21475816 property:P463 ?z } UNION { resource:Q21475816 property:P463 ?y } UNION { resource:Q30 property:P463 ?z } UNION { resource:Q30 property:P463 ?y } } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q1129645 }
['United States of America', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'trade bloc'}] ['Italy', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'trade bloc'}] ['Brazil', 'member of', {'concept': 'social group'}] ['Brazil', 'member of', {'concept': 'trade bloc'}] ['United States of America', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'trade bloc'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:United_States_of_America property:member_of ?z } UNION { resource:United_States_of_America property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Brazil property:member_of ?z } UNION { resource:Brazil property:member_of ?y } UNION { resource:United_States_of_America property:member_of ?z } UNION { resource:United_States_of_America property:member_of ?y } } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:trade_bloc }
[]
social group trade bloc
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q30 property:P463 ?z } UNION { resource:Q30 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q21475816 property:P463 ?z } UNION { resource:Q21475816 property:P463 ?y } UNION { resource:Q30 property:P463 ?z } UNION { resource:Q30 property:P463 ?y } } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q1129645 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:United_States_of_America property:member_of ?z } UNION { resource:United_States_of_America property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Brazil property:member_of ?z } UNION { resource:Brazil property:member_of ?y } UNION { resource:United_States_of_America property:member_of ?z } UNION { resource:United_States_of_America property:member_of ?y } } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:trade_bloc }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q30,P463,c(Q874405)) (Q30,P463,c(Q1129645)) (Q38,P463,c(Q874405)) (Q38,P463,c(Q1129645)) (Q155,P463,c(Q874405)) (Q155,P463,c(Q1129645)) (Q30,P463,c(Q874405)) (Q30,P463,c(Q1129645))
['Q30', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q1129645'}] ['Q38', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q1129645'}] ['Q155', 'P463', {'concept': 'Q874405'}] ['Q155', 'P463', {'concept': 'Q1129645'}] ['Q30', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q1129645'}]
['United States of America', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'trade bloc'}] ['Italy', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'trade bloc'}] ['Brazil', 'member of', {'concept': 'social group'}] ['Brazil', 'member of', {'concept': 'trade bloc'}] ['United States of America', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'trade bloc'}]
[]
SYSTEM
3
Q782942 Q181574 Q295875
(Q30,P463,c(Q874405)) (Q30,P463,c(Q1129645)) (Q38,P463,c(Q874405)) (Q38,P463,c(Q1129645)) (Q155,P463,c(Q874405)) (Q155,P463,c(Q1129645)) (Q30,P463,c(Q874405)) (Q30,P463,c(Q1129645))
[ANSWER]
['Q30', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q1129645'}] ['Q38', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q1129645'}] ['Q155', 'P463', {'concept': 'Q874405'}] ['Q155', 'P463', {'concept': 'Q1129645'}] ['Q30', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q1129645'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q30 property:P463 ?z } UNION { resource:Q30 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q21475816 property:P463 ?z } UNION { resource:Q21475816 property:P463 ?y } UNION { resource:Q30 property:P463 ?z } UNION { resource:Q30 property:P463 ?y } } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q1129645 }
Australia Group North American Free Trade Agreement ANZUS
3
['United States of America', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'trade bloc'}] ['Italy', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'trade bloc'}] ['Brazil', 'member of', {'concept': 'social group'}] ['Brazil', 'member of', {'concept': 'trade bloc'}] ['United States of America', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'trade bloc'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:United_States_of_America property:member_of ?z } UNION { resource:United_States_of_America property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Brazil property:member_of ?z } UNION { resource:Brazil property:member_of ?y } UNION { resource:United_States_of_America property:member_of ?z } UNION { resource:United_States_of_America property:member_of ?y } } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:trade_bloc }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q35798 Q2668072 Q618779
USER
Which awards are a portion of around 1 executive branches or collections ?
(c(Q618779),P361,c(Q35798)|c(Q2668072))
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q35798
action find_tuple_counts
relation P361
type Q618779
type Q2668072
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q35798'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?f WHERE { FILTER ( ?r = 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?f WHERE { { ?f property:P361 ?z . ?f rdf:type ontology:Q618779 . ?z rdf:type ontology:Q35798 } UNION { ?f property:P361 ?z . ?f rdf:type ontology:Q618779 . ?z rdf:type ontology:Q2668072 } } GROUP BY ?f } }
action approx
action union
action find_tuple_counts
relation part of
type award
type executive branch
action find_tuple_counts
relation part of
type award
type collection
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'executive branch'}, {'concept': 'collection'}]]
SELECT DISTINCT ?f WHERE { FILTER ( ?r = 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?f WHERE { { ?f property:part_of ?z . ?f rdf:type ontology:award . ?z rdf:type ontology:executive_branch } UNION { ?f property:part_of ?z . ?f rdf:type ontology:award . ?z rdf:type ontology:collection } } GROUP BY ?f } }
[]
executive branch collection award
Q3068024 Q15271575
SYSTEM
First Secretary of State, Sport Australia Hall of Fame
Q3068024 Q15271575
(c(Q618779),P361,c(Q35798)|c(Q2668072))
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q35798
action find_tuple_counts
relation P361
type Q618779
type Q2668072
value 1
Australia [ANSWERS] are a portion of around 1 executive branches or collections
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q35798'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?f WHERE { FILTER ( ?r = 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?f WHERE { { ?f property:P361 ?z . ?f rdf:type ontology:Q618779 . ?z rdf:type ontology:Q35798 } UNION { ?f property:P361 ?z . ?f rdf:type ontology:Q618779 . ?z rdf:type ontology:Q2668072 } } GROUP BY ?f } }
First Secretary of State Sport Australia Hall of Fame
Australia First Secretary of State and Sport Australia Hall of Fame are a portion of around 1 executive branches or collections
First Secretary of State Sport Australia Hall of Fame
action approx
action union
action find_tuple_counts
relation part of
type award
type executive branch
action find_tuple_counts
relation part of
type award
type collection
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'executive branch'}, {'concept': 'collection'}]]
SELECT DISTINCT ?f WHERE { FILTER ( ?r = 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?f WHERE { { ?f property:part_of ?z . ?f rdf:type ontology:award . ?z rdf:type ontology:executive_branch } UNION { ?f property:part_of ?z . ?f rdf:type ontology:award . ?z rdf:type ontology:collection } } GROUP BY ?f } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4660969 Q840694
P495 P17
Q15617994
USER
Which administrative territories are Dunajec situated in or did A quien corresponda originate ?
OR((Q840694,P17,c(Q15617994)), (Q4660969,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q840694
relation P17
action find
entity Q4660969
relation P495
type Q15617994
{'OR': [['Q840694', 'P17', {'concept': 'Q15617994'}], ['Q4660969', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q840694 property:P17 ?g } UNION { resource:Q4660969 property:P495 ?g } } . ?g rdf:type ontology:Q15617994 }
A quien corresponda Dunajec
action filter_type
action union
action find
entity Dunajec
relation country
action find
entity A quien corresponda
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Dunajec', 'country', {'concept': 'designation for an administrative territorial entity'}], ['A quien corresponda', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Dunajec property:country ?g } UNION { resource:A_quien_corresponda property:country_of_origin ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q36 Q214
SYSTEM
Argentina, Poland, Slovakia
Q414 Q36 Q214
OR((Q840694,P17,c(Q15617994)), (Q4660969,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q840694
relation P17
action find
entity Q4660969
relation P495
type Q15617994
Dunajec are situated originate from [ANSWERS]
{'OR': [['Q840694', 'P17', {'concept': 'Q15617994'}], ['Q4660969', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q840694 property:P17 ?g } UNION { resource:Q4660969 property:P495 ?g } } . ?g rdf:type ontology:Q15617994 }
Argentina Poland Slovakia
Dunajec are situated originate from Argentina, Poland and Slovakia
Argentina Poland Slovakia
action filter_type
action union
action find
entity Dunajec
relation country
action find
entity A quien corresponda
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Dunajec', 'country', {'concept': 'designation for an administrative territorial entity'}], ['A quien corresponda', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Dunajec property:country ?g } UNION { resource:A_quien_corresponda property:country_of_origin ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]