Simple Question (Direct)
Simple Question
Q829641
P119
Q43229
USER
Which organization is the tomb of Nils Alwall ?
(Q829641,P119,c(Q43229))
action filter_type
action find
entity Q829641
relation P119
type Q43229
['Q829641', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q829641 property:P119 ?b . ?b rdf:type ontology:Q43229 }
Nils Alwall
action filter_type
action find
entity Nils Alwall
relation place of burial
type organization
['Nils Alwall', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Nils_Alwall property:place_of_burial ?b . ?b rdf:type ontology:organization }
[]
organization
Q10602635
SYSTEM
Norra cemetery
Q10602635
(Q829641,P119,c(Q43229))
action filter_type
action find
entity Q829641
relation P119
type Q43229
[ANSWER] is the tomb of Nils Alwall
['Q829641', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q829641 property:P119 ?b . ?b rdf:type ontology:Q43229 }
Norra cemetery
Norra cemetery is the tomb of Nils Alwall
Norra cemetery
action filter_type
action find
entity Nils Alwall
relation place of burial
type organization
['Nils Alwall', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Nils_Alwall property:place_of_burial ?b . ?b rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q829641
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q10602635,P27,c(Q15617994))
action filter_type
action find
entity Q829641
relation P27
type Q15617994
['Q10602635', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q829641 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Nils Alwall
action filter_type
action find
entity Nils Alwall
relation country of citizenship
type designation for an administrative territorial entity
['Norra cemetery', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Nils_Alwall property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q10602635,P27,c(Q15617994))
action filter_type
action find
entity Q829641
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q10602635', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q829641 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Sweden
That person belongs to a Sweden
Sweden
action filter_type
action find
entity Nils Alwall
relation country of citizenship
type designation for an administrative territorial entity
['Norra cemetery', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Nils_Alwall property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1307093 Q829641
P106
Q12737077
USER
Which occupations are the job of Nils Alwall and Hellmut Sichtermann ?
AND((Q829641,P106,c(Q12737077)), (Q1307093,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q829641
relation P106
action find
entity Q1307093
relation P106
type Q12737077
{'AND': [['Q829641', 'P106', {'concept': 'Q12737077'}], ['Q1307093', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q829641 property:P106 ?n . resource:Q1307093 property:P106 ?n }
Hellmut Sichtermann Nils Alwall
action filter_type
action intersection
action find
entity Nils Alwall
relation occupation
action find
entity Hellmut Sichtermann
relation occupation
type occupation
{'AND': [['Nils Alwall', 'occupation', {'concept': 'occupation'}], ['Hellmut Sichtermann', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Nils_Alwall property:occupation ?n . resource:Hellmut_Sichtermann property:occupation ?n }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
AND((Q829641,P106,c(Q12737077)), (Q1307093,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q829641
relation P106
action find
entity Q1307093
relation P106
type Q12737077
The [ANSWER] is the job of Nils Alwall and Hellmut Sichtermann
{'AND': [['Q829641', 'P106', {'concept': 'Q12737077'}], ['Q1307093', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q829641 property:P106 ?n . resource:Q1307093 property:P106 ?n }
university teacher
The university teacher is the job of Nils Alwall and Hellmut Sichtermann
university teacher
action filter_type
action intersection
action find
entity Nils Alwall
relation occupation
action find
entity Hellmut Sichtermann
relation occupation
type occupation
{'AND': [['Nils Alwall', 'occupation', {'concept': 'occupation'}], ['Hellmut Sichtermann', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Nils_Alwall property:occupation ?n . resource:Hellmut_Sichtermann property:occupation ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1622272 Q5940098 Q9438
P417
Q502895
USER
Does that occupation have adopted José González Castillo and Thomas Aquinas as their patron saint ?
(Q1622272,P417,Q5940098) (Q1622272,P417,Q9438)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q5940098
relation P417
action find_reverse
entity Q9438
relation P417
['Q1622272', 'P417', 'Q5940098'] ['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q5940098 . resource:Q1622272 property:P417 resource:Q9438 }
university teacher José González Castillo Thomas Aquinas
action is_in
entity university teacher
action intersection
action find_reverse
entity José González Castillo
relation patron saint
action find_reverse
entity Thomas Aquinas
relation patron saint
['university teacher', 'patron saint', 'José González Castillo'] ['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:José_González_Castillo . resource:university_teacher property:patron_saint resource:Thomas_Aquinas }
[]
common name
SYSTEM
NO and YES respectively
(Q1622272,P417,Q5940098) (Q1622272,P417,Q9438)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q5940098
relation P417
action find_reverse
entity Q9438
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q5940098'] ['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q5940098 . resource:Q1622272 property:P417 resource:Q9438 }
NO and YES respectively
action is_in
entity university teacher
action intersection
action find_reverse
entity José González Castillo
relation patron saint
action find_reverse
entity Thomas Aquinas
relation patron saint
['university teacher', 'patron saint', 'José González Castillo'] ['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:José_González_Castillo . resource:university_teacher property:patron_saint resource:Thomas_Aquinas }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34 Q34201
P921
Q191067
USER
How many articles have Sweden or Zeus as their principal topic ?
(c(Q191067),P921,Q34) (c(Q191067),P921,Q34201)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P921
type Q191067
action filter_type
action find_reverse
entity Q34201
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q34'] [{'concept': 'Q191067'}, 'P921', 'Q34201']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { VALUES ( ?u ) { ( resource:Q34 ) ( resource:Q34201 ) } . ?d property:P921 ?u }
Sweden Zeus
action count
action union
action filter_type
action find_reverse
entity Sweden
relation main subject
type article
action filter_type
action find_reverse
entity Zeus
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Sweden'] [{'concept': 'article'}, 'main subject', 'Zeus']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { VALUES ( ?u ) { ( resource:Sweden ) ( resource:Zeus ) } . ?d property:main_subject ?u }
[]
article
SYSTEM
2
Q24054150 Q24054184
(c(Q191067),P921,Q34) (c(Q191067),P921,Q34201)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P921
type Q191067
action filter_type
action find_reverse
entity Q34201
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q34'] [{'concept': 'Q191067'}, 'P921', 'Q34201']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { VALUES ( ?u ) { ( resource:Q34 ) ( resource:Q34201 ) } . ?d property:P921 ?u }
NSRW / Zeus EB-11 / Zeus
2
action count
action union
action filter_type
action find_reverse
entity Sweden
relation main subject
type article
action filter_type
action find_reverse
entity Zeus
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Sweden'] [{'concept': 'article'}, 'main subject', 'Zeus']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { VALUES ( ?u ) { ( resource:Sweden ) ( resource:Zeus ) } . ?d property:main_subject ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P1001
Q192350
USER
Which ministries have control over the jurisdiction of Sweden ?
(c(Q192350),P1001,Q34)
action filter_type
action find_reverse
entity Q34
relation P1001
type Q192350
[{'concept': 'Q192350'}, 'P1001', 'Q34']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q34 . ?t rdf:type ontology:Q192350 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Sweden']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:Sweden . ?t rdf:type ontology:ministry }
[]
ministry
Q3288496 Q1774229 Q776570
SYSTEM
Ministry for Rural Affairs of Sweden, Ministry of Finance, Ministry for Foreign Affairs of Sweden
Q3288496 Q1774229 Q4294535 Q2612426 Q776570 Q1780898 Q1780908 Q2611987 Q2611994
(c(Q192350),P1001,Q34)
action filter_type
action find_reverse
entity Q34
relation P1001
type Q192350
[ANSWERS] have control over the jurisdiction of Sweden
[{'concept': 'Q192350'}, 'P1001', 'Q34']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q34 . ?t rdf:type ontology:Q192350 }
Ministry for Rural Affairs of Sweden Ministry of Finance Ministry of Education and Research Ministry of Integration and Gender Equality Ministry for Foreign Affairs of Sweden Ministry of Enterprise, Energy and Communications Ministry of Employment Ministry of Health and Social Affairs Ministry of Culture
Ministry for Rural Affairs of Sweden, Ministry of Finance and Ministry for Foreign Affairs of Sweden have control over the jurisdiction of Sweden
Ministry for Rural Affairs of Sweden Ministry of Finance Ministry for Foreign Affairs of Sweden
action filter_type
action find_reverse
entity Sweden
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Sweden']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:Sweden . ?t rdf:type ontology:ministry }
[]
Clarification
Simple Question|Single Entity|Indirect
Q776570
P39
Q502895
USER
Who were responsible for occupying the position of that ministry ?
(c(Q502895),P39,Q776570)
action filter_type
action find_reverse
entity Q776570
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q776570']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P39 resource:Q776570 }
Ministry for Foreign Affairs of Sweden
action filter_type
action find_reverse
entity Ministry for Foreign Affairs of Sweden
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Ministry for Foreign Affairs of Sweden']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:position_held resource:Ministry_for_Foreign_Affairs_of_Sweden }
[]
common name
Clarification for simple ques.
Q776570
SYSTEM
Did you mean Ministry for Foreign Affairs of Sweden ?
Q3288496 Q1774229 Q776570
(c(Q502895),P39,Q3288496) (c(Q502895),P39,Q1774229) (c(Q502895),P39,Q776570)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q3288496'] [{'concept': 'Q502895'}, 'P39', 'Q1774229'] [{'concept': 'Q502895'}, 'P39', 'Q776570']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P39 resource:Q776570 }
Ministry for Rural Affairs of Sweden Ministry of Finance Ministry for Foreign Affairs of Sweden
Did you mean Ministry for Foreign Affairs of Sweden ?
Ministry for Foreign Affairs of Sweden
[{'concept': 'common name'}, 'position held', 'Ministry for Rural Affairs of Sweden'] [{'concept': 'common name'}, 'position held', 'Ministry of Finance'] [{'concept': 'common name'}, 'position held', 'Ministry for Foreign Affairs of Sweden']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:position_held resource:Ministry_for_Foreign_Affairs_of_Sweden }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P39,Q776570)
[{'concept': 'Q502895'}, 'P39', 'Q776570']
[{'concept': 'common name'}, 'position held', 'Ministry for Foreign Affairs of Sweden']
[]
Q445997 Q520223 Q984112
SYSTEM
Cristina Husmark Pehrsson, Maria Borelius, Sten Tolgfors
Q445997 Q520223 Q984112
(c(Q502895),P39,Q776570)
action filter_type
action find_reverse
entity Q776570
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that ministry
[{'concept': 'Q502895'}, 'P39', 'Q776570']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P39 resource:Q776570 }
Cristina Husmark Pehrsson Maria Borelius Sten Tolgfors
Cristina Husmark Pehrsson, Maria Borelius and Sten Tolgfors were responsible for occupying the position of that ministry
Cristina Husmark Pehrsson Maria Borelius Sten Tolgfors
action filter_type
action find_reverse
entity Ministry for Foreign Affairs of Sweden
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Ministry for Foreign Affairs of Sweden']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:position_held resource:Ministry_for_Foreign_Affairs_of_Sweden }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q119284
P1001
Q15617994 Q17335294 Q1292279
USER
Which administrative territories are judicially linked to around the same number of coats of arms or political borders as Marzahn-Hellersdorf ?
(c(Q17335294)|c(Q1292279),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q119284
relation P1001
type Q17335294
type Q1292279
[[{'concept': 'Q17335294'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { { ?q rdf:type ontology:Q17335294 } UNION { ?q rdf:type ontology:Q1292279 } } . ?q property:P1001 resource:Q119284 } } . FILTER ( ?n = ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?d WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q17335294 ) ( ontology:Q1292279 ) } } GROUP BY ?d } }
Marzahn-Hellersdorf
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Marzahn-Hellersdorf
relation applies to jurisdiction
type flag or coat of arms
type political border
[[{'concept': 'flag or coat of arms'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { { ?q rdf:type ontology:flag_or_coat_of_arms } UNION { ?q rdf:type ontology:political_border } } . ?q property:applies_to_jurisdiction resource:Marzahn-Hellersdorf } } . FILTER ( ?n = ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?d WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:flag_or_coat_of_arms ) ( ontology:political_border ) } } GROUP BY ?d } }
[]
designation for an administrative territorial entity flag or coat of arms political border
Q55 Q32 Q347
SYSTEM
Netherlands, Luxembourg, Liechtenstein
Q701 Q804 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q55 Q2871 Q189 Q784 Q24764 Q2742 Q398 Q711 Q837 Q443815 Q50198 Q1028 Q187035 Q22274206 Q1462 Q6465 Q1979 Q45 Q792 Q4628 Q884 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q1965 Q817 Q11340 Q11343 Q1142326 Q1974 Q2899 Q2758 Q1952 Q921 Q4712 Q155019 Q3389 Q423 Q983 Q733 Q854 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q1948 Q233 Q1093 Q238 Q119284 Q3403547 Q27 Q2667658 Q1027 Q1020 Q2009 Q2007 Q1101 Q2003 Q736 Q1904 Q32 Q228 Q3462133 Q225 Q223 Q347 Q1050 Q1989 Q2838 Q902 Q967 Q697 Q694 Q695 Q117 Q752 Q22274534 Q11337 Q11331 Q217 Q12642 Q154547 Q242 Q1216 Q12753 Q2805 Q917 Q2107 Q1007 Q1005 Q1951 Q1438 Q34020 Q2380910 Q686 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q775 Q776 Q770 Q773 Q772 Q1014 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q129003 Q1039 Q672 Q176 Q33788 Q1267638 Q298 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q17335294)|c(Q1292279),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q119284
relation P1001
type Q17335294
type Q1292279
[ANSWERS] are judicially linked to around the same number of coats of arms or political borders as Marzahn-Hellersdorf
[[{'concept': 'Q17335294'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { { ?q rdf:type ontology:Q17335294 } UNION { ?q rdf:type ontology:Q1292279 } } . ?q property:P1001 resource:Q119284 } } . FILTER ( ?n = ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?d WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q17335294 ) ( ontology:Q1292279 ) } } GROUP BY ?d } }
North Holland Panama Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen Iceland Dominica municipality of the Philippines Münster Bahrain Mongolia Nepal Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Sardinia department of France Prince Edward Island Portugal El Salvador Faroe Islands South Korea raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon New Brunswick Kuwait Sprockhövel Wetter (Ruhr) Seine British Columbia Mülheim an der Ruhr Mönchengladbach Nova Scotia Brunei Duchy of Burgundy Duchy of Lorraine Finistère North Korea Equatorial Guinea Paraguay Sri Lanka Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Manitoba Malta Limburg San Marino Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Mauritius Malawi Yukon Northwest Territories North Brabant Newfoundland and Labrador Ecuador Ontario Luxembourg Andorra Saxe-Coburg and Gotha Bosnia and Herzegovina Greenland Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Burundi Nauru South Holland Palau Ghana Groningen Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Morbihan duchy Belize Piedmont Seine-et-Marne Krefeld Bhutan Wuppertal Guinea-Bissau Gambia Alberta Campania Niue Duchy of Zaslawye Vanuatu East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay Gelderland Utrecht Friesland Overijssel Drenthe Liberia Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Beloostrov Chile Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
Netherlands, Luxembourg and Liechtenstein are judicially linked to around the same number of coats of arms or political borders as Marzahn-Hellersdorf
Netherlands Luxembourg Liechtenstein
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Marzahn-Hellersdorf
relation applies to jurisdiction
type flag or coat of arms
type political border
[[{'concept': 'flag or coat of arms'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { { ?q rdf:type ontology:flag_or_coat_of_arms } UNION { ?q rdf:type ontology:political_border } } . ?q property:applies_to_jurisdiction resource:Marzahn-Hellersdorf } } . FILTER ( ?n = ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?d WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:flag_or_coat_of_arms ) ( ontology:political_border ) } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q774
P1001
Q15617994 Q17335294 Q1292279
USER
And also tell me about Guatemala?
(c(Q17335294)|c(Q1292279),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q774
relation P1001
type Q17335294
type Q1292279
[[{'concept': 'Q17335294'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?c ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:Q17335294 ) ( ontology:Q1292279 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P1001 resource:Q774 . { { ?b rdf:type ontology:Q17335294 } UNION { ?b rdf:type ontology:Q1292279 } } } } . FILTER ( ?c = ?w ) }
Guatemala
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Guatemala
relation applies to jurisdiction
type flag or coat of arms
type political border
[[{'concept': 'flag or coat of arms'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?c ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:flag_or_coat_of_arms ) ( ontology:political_border ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:applies_to_jurisdiction resource:Guatemala . { { ?b rdf:type ontology:flag_or_coat_of_arms } UNION { ?b rdf:type ontology:political_border } } } } . FILTER ( ?c = ?w ) }
[]
designation for an administrative territorial entity flag or coat of arms political border
Q230 Q801 Q184
SYSTEM
Georgia, Israel, Belarus
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q805 Q419 Q414 Q189 Q784 Q31 Q265 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q837 Q213 Q1028 Q399 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q954 Q889 Q884 Q958 Q881 Q826 Q822 Q241 Q817 Q244 Q1019 Q813 Q218 Q33 Q921 Q928 Q39 Q986 Q423 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q769680 Q730 Q1013 Q236 Q230 Q232 Q233 Q1093 Q238 Q20 Q1045 Q1042 Q1041 Q27 Q28 Q2667658 Q1025 Q1027 Q1020 Q843 Q184 Q1101 Q736 Q786 Q32 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q211 Q217 Q214 Q215 Q219 Q683 Q242 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q1438 Q686 Q836 Q760 Q29 Q574 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1011 Q945 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q863 Q869
(c(Q17335294)|c(Q1292279),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q774
relation P1001
type Q17335294
type Q1292279
[ANSWERS]
[[{'concept': 'Q17335294'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?c ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:Q17335294 ) ( ontology:Q1292279 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P1001 resource:Q774 . { { ?b rdf:type ontology:Q17335294 } UNION { ?b rdf:type ontology:Q1292279 } } } } . FILTER ( ?c = ?w ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Yemen Peru Argentina Iceland Dominica Belgium Uzbekistan Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Nepal Czech Republic Morocco Armenia Chad South Africa Portugal Greece El Salvador Haiti Iraq Zimbabwe Afghanistan South Korea South Sudan Vietnam Maldives Lebanon Cuba Kuwait Barbados Madagascar Kyrgyzstan Romania Finland Brunei Philippines Switzerland Eritrea North Korea Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Bornholm Suriname Lesotho Montenegro Georgia Kazakhstan Malta Limburg San Marino Norway Somalia Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Mauritania Mauritius Malawi Pakistan Belarus North Brabant Ecuador Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Samoa Belize Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Vanuatu Myanmar Saint Lucia Spain East Timor Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Cape Verde Togo Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Tajikistan Thailand
Georgia Israel Belarus
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Guatemala
relation applies to jurisdiction
type flag or coat of arms
type political border
[[{'concept': 'flag or coat of arms'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?c ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:flag_or_coat_of_arms ) ( ontology:political_border ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:applies_to_jurisdiction resource:Guatemala . { { ?b rdf:type ontology:flag_or_coat_of_arms } UNION { ?b rdf:type ontology:political_border } } } } . FILTER ( ?c = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with atleast 20 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 20
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?o ) WHERE { ?u property:P530 ?h . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?o >= 20 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 20
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?o ) WHERE { ?u property:diplomatic_relation ?h . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?o >= 20 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q155 Q38 Q230 Q184 Q953
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 20
[ANSWERS] are known to have diplomatic connections with atleast 20 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?o ) WHERE { ?u property:P530 ?h . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?o >= 20 ) }
Brazil Italy Georgia Belarus Zambia
Italy, Brazil and Georgia are known to have diplomatic connections with atleast 20 administrative territories
Italy Brazil Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 20
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?o ) WHERE { ?u property:diplomatic_relation ?h . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?o >= 20 ) }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q1774229 Q776570
P361
Q895526
USER
Which authority organs are a part of Ministry for Foreign Affairs of Sweden but not Ministry of Finance ?
AND((c(Q895526),P361,Q776570), NOT((c(Q895526),P361,Q1774229)))
action filter_type
action difference
action find_reverse
entity Q776570
relation P361
action find_reverse
entity Q1774229
relation P361
type Q895526
{'AND': [[{'concept': 'Q895526'}, 'P361', 'Q776570'], {'NOT': [[{'concept': 'Q895526'}, 'P361', 'Q1774229']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q776570 . MINUS { ?n property:P361 resource:Q1774229 } . ?n rdf:type ontology:Q895526 }
Ministry of Finance Ministry for Foreign Affairs of Sweden
action filter_type
action difference
action find_reverse
entity Ministry for Foreign Affairs of Sweden
relation part of
action find_reverse
entity Ministry of Finance
relation part of
type authority organ
{'AND': [[{'concept': 'authority organ'}, 'part of', 'Ministry for Foreign Affairs of Sweden'], {'NOT': [[{'concept': 'authority organ'}, 'part of', 'Ministry of Finance']]}]}
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Ministry_for_Foreign_Affairs_of_Sweden . MINUS { ?n property:part_of resource:Ministry_of_Finance } . ?n rdf:type ontology:authority_organ }
[]
authority organ
Q1670860 Q7395171 Q4411912 Q384242
SYSTEM
Swedish International Development Cooperation Agency, Swedish Board for Accreditation and  Conformity Assessment, Swedish Agency for Non-Proliferation and Export Controls, Nordic Africa Institute
Q1670860 Q7395171 Q4411912 Q384242
AND((c(Q895526),P361,Q776570), NOT((c(Q895526),P361,Q1774229)))
action filter_type
action difference
action find_reverse
entity Q776570
relation P361
action find_reverse
entity Q1774229
relation P361
type Q895526
[ANSWERS]
{'AND': [[{'concept': 'Q895526'}, 'P361', 'Q776570'], {'NOT': [[{'concept': 'Q895526'}, 'P361', 'Q1774229']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q776570 . MINUS { ?n property:P361 resource:Q1774229 } . ?n rdf:type ontology:Q895526 }
Swedish International Development Cooperation Agency Swedish Board for Accreditation and  Conformity Assessment Swedish Agency for Non-Proliferation and Export Controls Nordic Africa Institute
Swedish Board for Accreditation and Conformity Assessment, Swedish Agency for Non-Proliferation and Export Controls and Nordic Africa Institute are a part of Ministry for Foreign Affairs of Sweden but not Ministry of Finance
Swedish International Development Cooperation Agency Swedish Board for Accreditation and  Conformity Assessment Swedish Agency for Non-Proliferation and Export Controls Nordic Africa Institute
action filter_type
action difference
action find_reverse
entity Ministry for Foreign Affairs of Sweden
relation part of
action find_reverse
entity Ministry of Finance
relation part of
type authority organ
{'AND': [[{'concept': 'authority organ'}, 'part of', 'Ministry for Foreign Affairs of Sweden'], {'NOT': [[{'concept': 'authority organ'}, 'part of', 'Ministry of Finance']]}]}
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Ministry_for_Foreign_Affairs_of_Sweden . MINUS { ?n property:part_of resource:Ministry_of_Finance } . ?n rdf:type ontology:authority_organ }
[]