Simple Question (Direct)
Simple Question
Q705907
P20
Q56061
USER
Which administrative territory is the place of death of Sergey Starostin ?
(Q705907,P20,c(Q56061))
action filter_type
action find
entity Q705907
relation P20
type Q56061
['Q705907', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q705907 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Sergey Starostin
action filter_type
action find
entity Sergey Starostin
relation place of death
type administrative territorial entity
['Sergey Starostin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Sergey_Starostin property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q705907,P20,c(Q56061))
action filter_type
action find
entity Q705907
relation P20
type Q56061
[ANSWER] is the place of death of Sergey Starostin
['Q705907', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q705907 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Moscow
Moscow is the place of death of Sergey Starostin
Moscow
action filter_type
action find
entity Sergey Starostin
relation place of death
type administrative territorial entity
['Sergey Starostin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Sergey_Starostin property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P276
Q483110
USER
Which stadium has its location as that administrative territory ?
(c(Q483110),P276,Q649)
action filter_type
action find_reverse
entity Q649
relation P276
type Q483110
[{'concept': 'Q483110'}, 'P276', 'Q649']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q649 . ?g rdf:type ontology:Q483110 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation location
type stadium
[{'concept': 'stadium'}, 'location', 'Moscow']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Moscow . ?g rdf:type ontology:stadium }
[]
stadium
Q1190634
SYSTEM
Otkrytie Arena
Q1190634
(c(Q483110),P276,Q649)
action filter_type
action find_reverse
entity Q649
relation P276
type Q483110
[ANSWER] has its location as that administrative territory
[{'concept': 'Q483110'}, 'P276', 'Q649']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q649 . ?g rdf:type ontology:Q483110 }
Otkrytie Arena
Otkrytie Arena has its location as that administrative territory
Otkrytie Arena
action filter_type
action find_reverse
entity Moscow
relation location
type stadium
[{'concept': 'stadium'}, 'location', 'Moscow']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Moscow . ?g rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P1001
Q846882
USER
Which sources of law applies to jurisdiction over Moscow ?
(c(Q846882),P1001,Q649)
action filter_type
action find_reverse
entity Q649
relation P1001
type Q846882
[{'concept': 'Q846882'}, 'P1001', 'Q649']
SELECT DISTINCT ?k WHERE { ?k property:P1001 resource:Q649 . ?k rdf:type ontology:Q846882 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation applies to jurisdiction
type sources of law
[{'concept': 'sources of law'}, 'applies to jurisdiction', 'Moscow']
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction resource:Moscow . ?k rdf:type ontology:sources_of_law }
[]
sources of law
Q4478176
SYSTEM
Charter of the city of Moscow
Q4478176
(c(Q846882),P1001,Q649)
action filter_type
action find_reverse
entity Q649
relation P1001
type Q846882
City [ANSWER] applies to jurisdiction over Moscow
[{'concept': 'Q846882'}, 'P1001', 'Q649']
SELECT DISTINCT ?k WHERE { ?k property:P1001 resource:Q649 . ?k rdf:type ontology:Q846882 }
Charter of the city of Moscow
City Charter of the city of Moscow applies to jurisdiction over Moscow
Charter of the city of Moscow
action filter_type
action find_reverse
entity Moscow
relation applies to jurisdiction
type sources of law
[{'concept': 'sources of law'}, 'applies to jurisdiction', 'Moscow']
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction resource:Moscow . ?k rdf:type ontology:sources_of_law }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4478176
P467
Q1752346
USER
Which assembly was that sources of law legislated by ?
(Q4478176,P467,c(Q1752346))
action filter_type
action find
entity Q4478176
relation P467
type Q1752346
['Q4478176', 'P467', {'concept': 'Q1752346'}]
SELECT DISTINCT ?h WHERE { resource:Q4478176 property:P467 ?h . ?h rdf:type ontology:Q1752346 }
Charter of the city of Moscow
action filter_type
action find
entity Charter of the city of Moscow
relation legislated by
type assembly
['Charter of the city of Moscow', 'legislated by', {'concept': 'assembly'}]
SELECT DISTINCT ?h WHERE { resource:Charter_of_the_city_of_Moscow property:legislated_by ?h . ?h rdf:type ontology:assembly }
[]
assembly
Q2041767
SYSTEM
Moscow City Duma
Q2041767
(Q4478176,P467,c(Q1752346))
action filter_type
action find
entity Q4478176
relation P467
type Q1752346
That sources of law was legislated by [ANSWER]
['Q4478176', 'P467', {'concept': 'Q1752346'}]
SELECT DISTINCT ?h WHERE { resource:Q4478176 property:P467 ?h . ?h rdf:type ontology:Q1752346 }
Moscow City Duma
That sources of law was legislated by Moscow City Duma
Moscow City Duma
action filter_type
action find
entity Charter of the city of Moscow
relation legislated by
type assembly
['Charter of the city of Moscow', 'legislated by', {'concept': 'assembly'}]
SELECT DISTINCT ?h WHERE { resource:Charter_of_the_city_of_Moscow property:legislated_by ?h . ?h rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4478176 Q21995970
P17
Q1048835
USER
How many political territories are Charter of the city of Moscow or comic debate a part of ?
(Q4478176,P17,c(Q1048835)) (Q21995970,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q4478176
relation P17
type Q1048835
action filter_type
action find
entity Q21995970
relation P17
type Q1048835
['Q4478176', 'P17', {'concept': 'Q1048835'}] ['Q21995970', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { resource:Q4478176 property:P17 ?x . ?x rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q1048835 . resource:Q21995970 property:P17 ?x } }
Charter of the city of Moscow comic debate
action count
action union
action filter_type
action find
entity Charter of the city of Moscow
relation country
type political territorial entity
action filter_type
action find
entity comic debate
relation country
type political territorial entity
['Charter of the city of Moscow', 'country', {'concept': 'political territorial entity'}] ['comic debate', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { resource:Charter_of_the_city_of_Moscow property:country ?x . ?x rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:political_territorial_entity . resource:comic_debate property:country ?x } }
[]
political territorial entity
SYSTEM
3
Q16 Q40 Q35
(Q4478176,P17,c(Q1048835)) (Q21995970,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q4478176
relation P17
type Q1048835
action filter_type
action find
entity Q21995970
relation P17
type Q1048835
[ANSWER]
['Q4478176', 'P17', {'concept': 'Q1048835'}] ['Q21995970', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { resource:Q4478176 property:P17 ?x . ?x rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q1048835 . resource:Q21995970 property:P17 ?x } }
Canada Austria Denmark
3
action count
action union
action filter_type
action find
entity Charter of the city of Moscow
relation country
type political territorial entity
action filter_type
action find
entity comic debate
relation country
type political territorial entity
['Charter of the city of Moscow', 'country', {'concept': 'political territorial entity'}] ['comic debate', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { resource:Charter_of_the_city_of_Moscow property:country ?x . ?x rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:political_territorial_entity . resource:comic_debate property:country ?x } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q17107809 Q21995970
P495 P17
Q1048835
USER
Which political territories are comic debate a part of and are the origin of Hobby Workshop ?
AND((Q21995970,P17,c(Q1048835)), (Q17107809,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q21995970
relation P17
action find
entity Q17107809
relation P495
type Q1048835
{'AND': [['Q21995970', 'P17', {'concept': 'Q1048835'}], ['Q17107809', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { resource:Q21995970 property:P17 ?a . resource:Q17107809 property:P495 ?a . ?a rdf:type ontology:Q1048835 }
Hobby Workshop comic debate
action filter_type
action intersection
action find
entity comic debate
relation country
action find
entity Hobby Workshop
relation country of origin
type political territorial entity
{'AND': [['comic debate', 'country', {'concept': 'political territorial entity'}], ['Hobby Workshop', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:comic_debate property:country ?a . resource:Hobby_Workshop property:country_of_origin ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
AND((Q21995970,P17,c(Q1048835)), (Q17107809,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q21995970
relation P17
action find
entity Q17107809
relation P495
type Q1048835
[ANSWER] is comic debate a part of and is the origin of Hobby Workshop
{'AND': [['Q21995970', 'P17', {'concept': 'Q1048835'}], ['Q17107809', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { resource:Q21995970 property:P17 ?a . resource:Q17107809 property:P495 ?a . ?a rdf:type ontology:Q1048835 }
Canada
Canada is comic debate a part of and is the origin of Hobby Workshop
Canada
action filter_type
action intersection
action find
entity comic debate
relation country
action find
entity Hobby Workshop
relation country of origin
type political territorial entity
{'AND': [['comic debate', 'country', {'concept': 'political territorial entity'}], ['Hobby Workshop', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:comic_debate property:country ?a . resource:Hobby_Workshop property:country_of_origin ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q115
P530
Q15617994
USER
Does Ethiopia have diplomatic relationships with Canada ?
(Q16,P530,Q115)
action is_in
entity Q115
action find
entity Q16
relation P530
['Q16', 'P530', 'Q115']
ASK WHERE { resource:Q16 property:P530 resource:Q115 }
Canada Ethiopia
action is_in
entity Ethiopia
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Ethiopia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Ethiopia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16,P530,Q115)
action is_in
entity Q115
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q115']
ASK WHERE { resource:Q16 property:P530 resource:Q115 }
Yes
action is_in
entity Ethiopia
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Ethiopia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Ethiopia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1190634 Q683206 Q159
P17
Q15617994
USER
Is Otkrytie Arena present in Río Piedras and Russia ?
(Q1190634,P17,Q683206) (Q1190634,P17,Q159)
action is_in
entity Q1190634
action intersection
action find_reverse
entity Q683206
relation P17
action find_reverse
entity Q159
relation P17
['Q1190634', 'P17', 'Q683206'] ['Q1190634', 'P17', 'Q159']
ASK WHERE { resource:Q1190634 property:P17 resource:Q683206 . resource:Q1190634 property:P17 resource:Q159 }
Otkrytie Arena Río Piedras Russia
action is_in
entity Otkrytie Arena
action intersection
action find_reverse
entity Río Piedras
relation country
action find_reverse
entity Russia
relation country
['Otkrytie Arena', 'country', 'Río Piedras'] ['Otkrytie Arena', 'country', 'Russia']
ASK WHERE { resource:Otkrytie_Arena property:country resource:Río_Piedras . resource:Otkrytie_Arena property:country resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1190634,P17,Q683206) (Q1190634,P17,Q159)
action is_in
entity Q1190634
action intersection
action find_reverse
entity Q683206
relation P17
action find_reverse
entity Q159
relation P17
[ANSWER]
['Q1190634', 'P17', 'Q683206'] ['Q1190634', 'P17', 'Q159']
ASK WHERE { resource:Q1190634 property:P17 resource:Q683206 . resource:Q1190634 property:P17 resource:Q159 }
NO and YES respectively
action is_in
entity Otkrytie Arena
action intersection
action find_reverse
entity Río Piedras
relation country
action find_reverse
entity Russia
relation country
['Otkrytie Arena', 'country', 'Río Piedras'] ['Otkrytie Arena', 'country', 'Russia']
ASK WHERE { resource:Otkrytie_Arena property:country resource:Río_Piedras . resource:Otkrytie_Arena property:country resource:Russia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3354383 Q4478176
P17
Q15617994
USER
Which administrative territories are Charter of the city of Moscow or Central Post Office Building situated in ?
OR((Q4478176,P17,c(Q15617994)), (Q3354383,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4478176
relation P17
action find
entity Q3354383
relation P17
type Q15617994
{'OR': [['Q4478176', 'P17', {'concept': 'Q15617994'}], ['Q3354383', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?g property:P17 ?l . VALUES ( ?g ) { ( resource:Q3354383 ) ( resource:Q4478176 ) } } . ?l rdf:type ontology:Q15617994 }
Central Post Office Building Charter of the city of Moscow
action filter_type
action union
action find
entity Charter of the city of Moscow
relation country
action find
entity Central Post Office Building
relation country
type designation for an administrative territorial entity
{'OR': [['Charter of the city of Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Central Post Office Building', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?g property:country ?l . VALUES ( ?g ) { ( resource:Central_Post_Office_Building ) ( resource:Charter_of_the_city_of_Moscow ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q34
SYSTEM
Russia, Sweden
Q159 Q34
OR((Q4478176,P17,c(Q15617994)), (Q3354383,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4478176
relation P17
action find
entity Q3354383
relation P17
type Q15617994
Charter of the city of Moscow or Central Post Office Building are situated in [ANSWERS]
{'OR': [['Q4478176', 'P17', {'concept': 'Q15617994'}], ['Q3354383', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?g property:P17 ?l . VALUES ( ?g ) { ( resource:Q3354383 ) ( resource:Q4478176 ) } } . ?l rdf:type ontology:Q15617994 }
Russia Sweden
Charter of the city of Moscow or Central Post Office Building are situated in Russia and Sweden
Russia Sweden
action filter_type
action union
action find
entity Charter of the city of Moscow
relation country
action find
entity Central Post Office Building
relation country
type designation for an administrative territorial entity
{'OR': [['Charter of the city of Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Central Post Office Building', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?g property:country ?l . VALUES ( ?g ) { ( resource:Central_Post_Office_Building ) ( resource:Charter_of_the_city_of_Moscow ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q35798 Q820655
USER
How many administrative territories are judicially linked to around 8 executive branches and statutes ?
(c(Q35798)|c(Q820655),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
value 8
[[{'concept': 'Q35798'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?h WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q820655 ) ( ontology:Q35798 ) } } GROUP BY ?h } . FILTER ( ?k = 8 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
value 8
[[{'concept': 'executive branch'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?h WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:statute ) ( ontology:executive_branch ) } } GROUP BY ?h } . FILTER ( ?k = 8 ) }
[]
designation for an administrative territorial entity executive branch statute
SYSTEM
262
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q145 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(Q35798)|c(Q820655),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
value 8
[ANSWER]
[[{'concept': 'Q35798'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?h WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q820655 ) ( ontology:Q35798 ) } } GROUP BY ?h } . FILTER ( ?k = 8 ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina France Duchy of Nemours Netherlands Hagen United Kingdom 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
262
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
value 8
[[{'concept': 'executive branch'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?h WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:statute ) ( ontology:executive_branch ) } } GROUP BY ?h } . FILTER ( ?k = 8 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q813
P1001
Q15617994 Q14660 Q1292279
USER
Which administrative territories apply to jurisdiction of less number of flags and political borders than Kyrgyzstan ?
(c(Q14660)|c(Q1292279),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q813
relation P1001
type Q14660
type Q1292279
[[{'concept': 'Q14660'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?s WHERE { VALUES ( ?a ) { ( ontology:Q14660 ) ( ontology:Q1292279 ) } . ?w rdf:type ?a } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P1001 resource:Q813 . { { ?e rdf:type ontology:Q14660 } UNION { ?e rdf:type ontology:Q1292279 } } } } . FILTER ( ?d < ?k ) }
Kyrgyzstan
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
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 Kyrgyzstan
relation applies to jurisdiction
type flag
type political border
[[{'concept': 'flag'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?s WHERE { VALUES ( ?a ) { ( ontology:flag ) ( ontology:political_border ) } . ?w rdf:type ?a } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:applies_to_jurisdiction resource:Kyrgyzstan . { { ?e rdf:type ontology:flag } UNION { ?e rdf:type ontology:political_border } } } } . FILTER ( ?d < ?k ) }
[]
designation for an administrative territorial entity flag 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(Q14660)|c(Q1292279),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q813
relation P1001
type Q14660
type Q1292279
[ANSWERS] apply to jurisdiction of less number of flags and political borders than Kyrgyzstan
[[{'concept': 'Q14660'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?s WHERE { VALUES ( ?a ) { ( ontology:Q14660 ) ( ontology:Q1292279 ) } . ?w rdf:type ?a } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P1001 resource:Q813 . { { ?e rdf:type ontology:Q14660 } UNION { ?e rdf:type ontology:Q1292279 } } } } . FILTER ( ?d < ?k ) }
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 apply to jurisdiction of less number of flags and political borders than Kyrgyzstan
Netherlands Luxembourg Liechtenstein
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
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 Kyrgyzstan
relation applies to jurisdiction
type flag
type political border
[[{'concept': 'flag'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?s WHERE { VALUES ( ?a ) { ( ontology:flag ) ( ontology:political_border ) } . ?w rdf:type ?a } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:applies_to_jurisdiction resource:Kyrgyzstan . { { ?e rdf:type ontology:flag } UNION { ?e rdf:type ontology:political_border } } } } . FILTER ( ?d < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q962
P530
Q15617994 Q15617994 Q1048835
USER
How many administrative territories have diplomatic relations with approximately the same number of administrative territories and political territories as Benin ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q962
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P530 resource:Q962 . { { ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q1048835 } } } } . FILTER ( ?k = ?f ) }
Benin
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Benin
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:diplomatic_relation resource:Benin . { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?k = ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q962
relation P530
type Q15617994
type Q1048835
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P530 resource:Q962 . { { ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q1048835 } } } } . FILTER ( ?k = ?f ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Benin
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:diplomatic_relation resource:Benin . { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?k = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q159
P530
Q15617994 Q15617994 Q1048835
USER
And how about Russia?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q159
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } . ?u property:P530 resource:Q159 } } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?f WHERE { { ?f rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?f } UNION { ?l rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 . ?l property:P530 ?f } } GROUP BY ?f } }
Russia
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . ?u property:diplomatic_relation resource:Russia } } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?f } UNION { ?l rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?f } } GROUP BY ?f } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q801 Q159 Q30
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q159
relation P530
type Q15617994
type Q1048835
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } . ?u property:P530 resource:Q159 } } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?f WHERE { { ?f rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?f } UNION { ?l rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 . ?l property:P530 ?f } } GROUP BY ?f } }
Israel Russia United States of America
3
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . ?u property:diplomatic_relation resource:Russia } } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?f } UNION { ?l rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?f } } GROUP BY ?f } }
[]