Simple Question (Direct)
Simple Question
Q11715344
P641
Q349
USER
What did Jacek Kacprzak participate in ?
(Q11715344,P641,c(Q349))
action filter_type
action find
entity Q11715344
relation P641
type Q349
['Q11715344', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q11715344 property:P641 ?v . ?v rdf:type ontology:Q349 }
Jacek Kacprzak
action filter_type
action find
entity Jacek Kacprzak
relation sport
type sport
['Jacek Kacprzak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Jacek_Kacprzak property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q11715344,P641,c(Q349))
action filter_type
action find
entity Q11715344
relation P641
type Q349
Jacek Kacprzak participated in [ANSWER]
['Q11715344', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q11715344 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
Jacek Kacprzak participated in association football
association football
action filter_type
action find
entity Jacek Kacprzak
relation sport
type sport
['Jacek Kacprzak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Jacek_Kacprzak property:sport ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11715344
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q11715344
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q11715344 property:P21 ?e . ?e rdf:type ontology:Q290 }
Jacek Kacprzak
action filter_type
action find
entity Jacek Kacprzak
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Jacek_Kacprzak property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q11715344
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q11715344 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jacek Kacprzak
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Jacek_Kacprzak property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11715344
P27
Q15617994
USER
Which administrative territory is Jacek Kacprzak a civilian of ?
(Q11715344,P27,c(Q15617994))
action filter_type
action find
entity Q11715344
relation P27
type Q15617994
['Q11715344', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q11715344 property:P27 ?e }
Jacek Kacprzak
action filter_type
action find
entity Jacek Kacprzak
relation country of citizenship
type designation for an administrative territorial entity
['Jacek Kacprzak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jacek_Kacprzak property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q11715344,P27,c(Q15617994))
action filter_type
action find
entity Q11715344
relation P27
type Q15617994
[ANSWER] is Jacek Kacprzak a civilian of
['Q11715344', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q11715344 property:P27 ?e }
Poland
Poland is Jacek Kacprzak a civilian of
Poland
action filter_type
action find
entity Jacek Kacprzak
relation country of citizenship
type designation for an administrative territorial entity
['Jacek Kacprzak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jacek_Kacprzak property:country_of_citizenship ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11715344
P19
Q56061
USER
Which administrative territory was Jacek Kacprzak born in ?
(Q11715344,P19,c(Q56061))
action filter_type
action find
entity Q11715344
relation P19
type Q56061
['Q11715344', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q11715344 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Jacek Kacprzak
action filter_type
action find
entity Jacek Kacprzak
relation place of birth
type administrative territorial entity
['Jacek Kacprzak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jacek_Kacprzak property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q855976
SYSTEM
Białobrzegi
Q855976
(Q11715344,P19,c(Q56061))
action filter_type
action find
entity Q11715344
relation P19
type Q56061
Jacek Kacprzak was born in [ANSWER]
['Q11715344', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q11715344 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Białobrzegi
Jacek Kacprzak was born in Białobrzegi
Białobrzegi
action filter_type
action find
entity Jacek Kacprzak
relation place of birth
type administrative territorial entity
['Jacek Kacprzak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jacek_Kacprzak property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q855976
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q855976,P17,c(Q15617994))
action filter_type
action find
entity Q855976
relation P17
type Q15617994
['Q855976', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q855976 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Białobrzegi
action filter_type
action find
entity Białobrzegi
relation country
type designation for an administrative territorial entity
['Białobrzegi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Białobrzegi property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q855976,P17,c(Q15617994))
action filter_type
action find
entity Q855976
relation P17
type Q15617994
That administrative territory is in [ANSWER]
['Q855976', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q855976 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Poland
That administrative territory is in Poland
Poland
action filter_type
action find
entity Białobrzegi
relation country
type designation for an administrative territorial entity
['Białobrzegi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Białobrzegi property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17620404 Q11715344
P106
Q12737077
USER
Which occupations do Jacek Kacprzak or Agustín de Letamendi do for a living ?
OR((Q11715344,P106,c(Q12737077)), (Q17620404,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q11715344
relation P106
action find
entity Q17620404
relation P106
type Q12737077
{'OR': [['Q11715344', 'P106', {'concept': 'Q12737077'}], ['Q17620404', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q11715344 property:P106 ?o } UNION { resource:Q17620404 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
Agustín de Letamendi Jacek Kacprzak
action filter_type
action union
action find
entity Jacek Kacprzak
relation occupation
action find
entity Agustín de Letamendi
relation occupation
type occupation
{'OR': [['Jacek Kacprzak', 'occupation', {'concept': 'occupation'}], ['Agustín de Letamendi', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Jacek_Kacprzak property:occupation ?o } UNION { resource:Agustín_de_Letamendi property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
occupation
Q193391 Q36180 Q937857
SYSTEM
diplomat, writer, association football player
Q193391 Q36180 Q937857
OR((Q11715344,P106,c(Q12737077)), (Q17620404,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q11715344
relation P106
action find
entity Q17620404
relation P106
type Q12737077
The [ANSWERS] Jacek Kacprzak or Agustín de Letamendi do for a living
{'OR': [['Q11715344', 'P106', {'concept': 'Q12737077'}], ['Q17620404', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q11715344 property:P106 ?o } UNION { resource:Q17620404 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
diplomat writer association football player
The diplomat, writer and association football player Jacek Kacprzak or Agustín de Letamendi do for a living
diplomat writer association football player
action filter_type
action union
action find
entity Jacek Kacprzak
relation occupation
action find
entity Agustín de Letamendi
relation occupation
type occupation
{'OR': [['Jacek Kacprzak', 'occupation', {'concept': 'occupation'}], ['Agustín de Letamendi', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Jacek_Kacprzak property:occupation ?o } UNION { resource:Agustín_de_Letamendi property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4149
P138
Q15617994 Q34442 Q15617994
USER
How many administrative territories come from lesser number of administrative territories or roads than Neustadt an der Weinstraße ?
(c(Q15617994),P138,c(Q15617994)|c(Q34442))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action count
action filter_multi_types
action find
entity Q4149
relation P138
type Q15617994
type Q34442
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?t WHERE { { ?t property:P138 ?x . ?t rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } UNION { ?t property:P138 ?x . ?t rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q34442 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q4149 property:P138 ?n . { { ?n rdf:type ontology:Q34442 } UNION { ?n rdf:type ontology:Q15617994 } } } } . FILTER ( ?f < ?l ) }
Neustadt an der Weinstraße
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action count
action filter_multi_types
action find
entity Neustadt an der Weinstraße
relation named after
type designation for an administrative territorial entity
type road
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?t WHERE { { ?t property:named_after ?x . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t property:named_after ?x . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:road } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Neustadt_an_der_Weinstraße property:named_after ?n . { { ?n rdf:type ontology:road } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?f < ?l ) }
[]
designation for an administrative territorial entity road designation for an administrative territorial entity
SYSTEM
313
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q12736 Q12642 Q160307 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q15617994)|c(Q34442))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action count
action filter_multi_types
action find
entity Q4149
relation P138
type Q15617994
type Q34442
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?t WHERE { { ?t property:P138 ?x . ?t rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } UNION { ?t property:P138 ?x . ?t rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q34442 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q4149 property:P138 ?n . { { ?n rdf:type ontology:Q34442 } UNION { ?n rdf:type ontology:Q15617994 } } } } . FILTER ( ?f < ?l ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Saône-et-Loire Morbihan Fatimid caliphate Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
313
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action count
action filter_multi_types
action find
entity Neustadt an der Weinstraße
relation named after
type designation for an administrative territorial entity
type road
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?t WHERE { { ?t property:named_after ?x . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t property:named_after ?x . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:road } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Neustadt_an_der_Weinstraße property:named_after ?n . { { ?n rdf:type ontology:road } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?f < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q217
P138
Q15617994 Q34442 Q15617994
USER
And how about Republic of Moldova?
(c(Q15617994),P138,c(Q15617994)|c(Q34442))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action count
action filter_multi_types
action find
entity Q217
relation P138
type Q15617994
type Q34442
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?f WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q34442 ) } . ?q rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15617994 ) ( ontology:Q34442 ) } } . resource:Q217 property:P138 ?w } } . FILTER ( ?d < ?b ) }
Republic of Moldova
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action count
action filter_multi_types
action find
entity Republic of Moldova
relation named after
type designation for an administrative territorial entity
type road
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?f WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:road ) } . ?q rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:road ) } } . resource:Republic_of_Moldova property:named_after ?w } } . FILTER ( ?d < ?b ) }
[]
designation for an administrative territorial entity road designation for an administrative territorial entity
SYSTEM
313
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q12736 Q12642 Q160307 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q15617994)|c(Q34442))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action count
action filter_multi_types
action find
entity Q217
relation P138
type Q15617994
type Q34442
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?f WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q34442 ) } . ?q rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15617994 ) ( ontology:Q34442 ) } } . resource:Q217 property:P138 ?w } } . FILTER ( ?d < ?b ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Saône-et-Loire Morbihan Fatimid caliphate Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
313
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action count
action filter_multi_types
action find
entity Republic of Moldova
relation named after
type designation for an administrative territorial entity
type road
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?f WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:road ) } . ?q rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:road ) } } . resource:Republic_of_Moldova property:named_after ?w } } . FILTER ( ?d < ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q8205328 Q2235308
USER
Which sports are considered as the main functionality of max number of artefacts and ship types ?
(c(Q8205328)|c(Q2235308),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
[[{'concept': 'Q8205328'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { { ?m property:P366 ?e . ?e rdf:type ontology:Q349 . ?m rdf:type ontology:Q8205328 } UNION { ?m property:P366 ?e . ?e rdf:type ontology:Q349 . ?m rdf:type ontology:Q2235308 } } GROUP BY ?e } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:P366 ?g . ?g rdf:type ontology:Q349 . ?u rdf:type ontology:Q2235308 } UNION { ?u property:P366 ?g . ?g rdf:type ontology:Q349 . ?u rdf:type ontology:Q8205328 } } GROUP BY ?g } . FILTER ( ?w = ?j ) }
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type ship type
[[{'concept': 'artefact'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { { ?m property:use ?e . ?e rdf:type ontology:sport . ?m rdf:type ontology:artefact } UNION { ?m property:use ?e . ?e rdf:type ontology:sport . ?m rdf:type ontology:ship_type } } GROUP BY ?e } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:use ?g . ?g rdf:type ontology:sport . ?u rdf:type ontology:ship_type } UNION { ?u property:use ?g . ?g rdf:type ontology:sport . ?u rdf:type ontology:artefact } } GROUP BY ?g } . FILTER ( ?w = ?j ) }
[]
sport artefact ship type
Q14300548 Q108429 Q61065
SYSTEM
skating, archery, water sport
Q14300548 Q108429 Q61065
(c(Q8205328)|c(Q2235308),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
[ANSWERS] are considered as the main functionality of max number of artefacts and ship types
[[{'concept': 'Q8205328'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { { ?m property:P366 ?e . ?e rdf:type ontology:Q349 . ?m rdf:type ontology:Q8205328 } UNION { ?m property:P366 ?e . ?e rdf:type ontology:Q349 . ?m rdf:type ontology:Q2235308 } } GROUP BY ?e } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:P366 ?g . ?g rdf:type ontology:Q349 . ?u rdf:type ontology:Q2235308 } UNION { ?u property:P366 ?g . ?g rdf:type ontology:Q349 . ?u rdf:type ontology:Q8205328 } } GROUP BY ?g } . FILTER ( ?w = ?j ) }
skating archery water sport
Skating, archery and water sport are considered as the main functionality of max number of artefacts and ship types
skating archery water sport
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type ship type
[[{'concept': 'artefact'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { { ?m property:use ?e . ?e rdf:type ontology:sport . ?m rdf:type ontology:artefact } UNION { ?m property:use ?e . ?e rdf:type ontology:sport . ?m rdf:type ontology:ship_type } } GROUP BY ?e } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:use ?g . ?g rdf:type ontology:sport . ?u rdf:type ontology:ship_type } UNION { ?u property:use ?g . ?g rdf:type ontology:sport . ?u rdf:type ontology:artefact } } GROUP BY ?g } . FILTER ( ?w = ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36 Q29999
P463
Q484652
USER
How many international organizations had Poland and Kingdom of the Netherlands as their member ?
(Q36,P463,c(Q484652)) (Q29999,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q36
relation P463
type Q484652
action filter_type
action find
entity Q29999
relation P463
type Q484652
['Q36', 'P463', {'concept': 'Q484652'}] ['Q29999', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Q36 property:P463 ?p . ?p rdf:type ontology:Q484652 . resource:Q29999 property:P463 ?p . ?p rdf:type ontology:Q484652 }
Poland Kingdom of the Netherlands
action count
action intersection
action filter_type
action find
entity Poland
relation member of
type international organization
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type international organization
['Poland', 'member of', {'concept': 'international organization'}] ['Kingdom of the Netherlands', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Poland property:member_of ?p . ?p rdf:type ontology:international_organization . resource:Kingdom_of_the_Netherlands property:member_of ?p . ?p rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q36,P463,c(Q484652)) (Q29999,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q36
relation P463
type Q484652
action filter_type
action find
entity Q29999
relation P463
type Q484652
[ANSWER]
['Q36', 'P463', {'concept': 'Q484652'}] ['Q29999', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Q36 property:P463 ?p . ?p rdf:type ontology:Q484652 . resource:Q29999 property:P463 ?p . ?p rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Poland
relation member of
type international organization
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type international organization
['Poland', 'member of', {'concept': 'international organization'}] ['Kingdom of the Netherlands', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Poland property:member_of ?p . ?p rdf:type ontology:international_organization . resource:Kingdom_of_the_Netherlands property:member_of ?p . ?p rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P47
Q1048835 Q15617994
USER
How many political territories and administrative territories are bordered by Poland ?
(Q36,P47,c(Q1048835)) (Q36,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q36
relation P47
type Q1048835
action filter_type
action find
entity Q36
relation P47
type Q15617994
['Q36', 'P47', {'concept': 'Q1048835'}] ['Q36', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { resource:Q36 property:P47 ?d . ?d rdf:type ontology:Q1048835 } UNION { resource:Q36 property:P47 ?d . ?d rdf:type ontology:Q15617994 } }
Poland
action count
action union
action filter_type
action find
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find
entity Poland
relation shares border with
type designation for an administrative territorial entity
['Poland', 'shares border with', {'concept': 'political territorial entity'}] ['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { resource:Poland property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity } UNION { resource:Poland property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
1 political territories and 8 administrative territories
Q212 Q213 Q211 Q159 Q214 Q184 Q183 Q37 Q218
(Q36,P47,c(Q1048835)) (Q36,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q36
relation P47
type Q1048835
action filter_type
action find
entity Q36
relation P47
type Q15617994
[ANSWER]
['Q36', 'P47', {'concept': 'Q1048835'}] ['Q36', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { resource:Q36 property:P47 ?d . ?d rdf:type ontology:Q1048835 } UNION { resource:Q36 property:P47 ?d . ?d rdf:type ontology:Q15617994 } }
Ukraine Czech Republic Latvia Russia Slovakia Belarus Germany Lithuania Romania
1 political territories and 8 administrative territories
action count
action union
action filter_type
action find
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find
entity Poland
relation shares border with
type designation for an administrative territorial entity
['Poland', 'shares border with', {'concept': 'political territorial entity'}] ['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { resource:Poland property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity } UNION { resource:Poland property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q124100
P641
Q349 Q500834 Q502895
USER
How many sports did lesser number of tournaments and people participate in than bodybuilding ?
(c(Q500834)|c(Q502895),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q124100
relation P641
type Q500834
type Q502895
[[{'concept': 'Q500834'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) ?v WHERE { ?k rdf:type ?s . VALUES ( ?s ) { ( ontology:Q500834 ) ( ontology:Q502895 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { { ?y rdf:type ontology:Q500834 } UNION { ?y rdf:type ontology:Q502895 } } . ?y property:P641 resource:Q124100 } } . FILTER ( ?q < ?p ) }
bodybuilding
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity bodybuilding
relation sport
type tournament
type common name
[[{'concept': 'tournament'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) ?v WHERE { ?k rdf:type ?s . VALUES ( ?s ) { ( ontology:tournament ) ( ontology:common_name ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { { ?y rdf:type ontology:tournament } UNION { ?y rdf:type ontology:common_name } } . ?y property:sport resource:bodybuilding } } . FILTER ( ?q < ?p ) }
[]
sport tournament common name
SYSTEM
131
Q1109032 Q170737 Q114466 Q2348250 Q3337306 Q193387 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q46241 Q192937 Q3372565 Q208607 Q188966 Q961015 Q131359 Q27672886 Q657196 Q338208 Q738622 Q148636 Q2887217 Q599204 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q1295867 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q389654 Q4245261 Q624161 Q327742 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q797108 Q963312 Q2167372 Q535116 Q2360406 Q20856109 Q16996906 Q1078835 Q838781 Q1899731 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q2440459 Q429006
(c(Q500834)|c(Q502895),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q124100
relation P641
type Q500834
type Q502895
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) ?v WHERE { ?k rdf:type ?s . VALUES ( ?s ) { ( ontology:Q500834 ) ( ontology:Q502895 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { { ?y rdf:type ontology:Q500834 } UNION { ?y rdf:type ontology:Q502895 } } . ?y property:P641 resource:Q124100 } } . FILTER ( ?q < ?p ) }
college football long jump mixed martial arts team time trial yachting croquet windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball Ultimate memory sport equestrian sport puroresu paintball Finswimming drag racing korfball Kettlebell lifting kung fu contract bridge women's boxing professional wrestling Flying disc games medley swimming giant slalom skiing dancesport Kabaddi women's basketball rallycross canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating pesäpallo boxe roque shinty Gaelic football Harri-jasotze Dog agility American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport Inline skating strength training water sport Contact sport competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering football parkour Greco-Roman wrestling touring car racing gliding relay race Savate bowling wakeboarding strength athletics CP football jeu de paume Sledge hockey fell running beach handball real tennis canoeing Indoor American football Powerchair Football eventing Frisian handball Castell Goalball sport climbing women's association football wheelchair curling nine-ball Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing Nordic walking bandy hockey Chilean rodeo pankration high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone wheelchair fencing Duathlon
131
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity bodybuilding
relation sport
type tournament
type common name
[[{'concept': 'tournament'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) ?v WHERE { ?k rdf:type ?s . VALUES ( ?s ) { ( ontology:tournament ) ( ontology:common_name ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { { ?y rdf:type ontology:tournament } UNION { ?y rdf:type ontology:common_name } } . ?y property:sport resource:bodybuilding } } . FILTER ( ?q < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q20856109
P641
Q349 Q500834 Q502895
USER
And what about canoeing?
(c(Q500834)|c(Q502895),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q20856109
relation P641
type Q500834
type Q502895
[[{'concept': 'Q500834'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?f WHERE { { ?n property:P641 ?f . ?n rdf:type ontology:Q500834 . ?f rdf:type ontology:Q349 } UNION { ?n property:P641 ?f . ?f rdf:type ontology:Q349 . ?n rdf:type ontology:Q502895 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P641 resource:Q20856109 . { { ?a rdf:type ontology:Q500834 } UNION { ?a rdf:type ontology:Q502895 } } } } . FILTER ( ?r < ?s ) }
canoeing
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity canoeing
relation sport
type tournament
type common name
[[{'concept': 'tournament'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?f WHERE { { ?n property:sport ?f . ?n rdf:type ontology:tournament . ?f rdf:type ontology:sport } UNION { ?n property:sport ?f . ?f rdf:type ontology:sport . ?n rdf:type ontology:common_name } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:sport resource:canoeing . { { ?a rdf:type ontology:tournament } UNION { ?a rdf:type ontology:common_name } } } } . FILTER ( ?r < ?s ) }
[]
sport tournament common name
SYSTEM
110
Q1109032 Q2348250 Q3337306 Q193387 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q1761866 Q192832 Q1148620 Q46241 Q192937 Q3372565 Q208607 Q188966 Q961015 Q27672886 Q657196 Q338208 Q738622 Q148636 Q2887217 Q599204 Q690676 Q31897 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q1295867 Q2922870 Q1143202 Q850256 Q204632 Q393808 Q1866478 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q4245261 Q624161 Q327742 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q797108 Q963312 Q2167372 Q535116 Q2360406 Q16996906 Q1078835 Q1899731 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q6140386 Q3325635 Q207703 Q1358925 Q667692 Q1622659 Q201252 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q3924425 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q2440459 Q429006
(c(Q500834)|c(Q502895),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q20856109
relation P641
type Q500834
type Q502895
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?f WHERE { { ?n property:P641 ?f . ?n rdf:type ontology:Q500834 . ?f rdf:type ontology:Q349 } UNION { ?n property:P641 ?f . ?f rdf:type ontology:Q349 . ?n rdf:type ontology:Q502895 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P641 resource:Q20856109 . { { ?a rdf:type ontology:Q500834 } UNION { ?a rdf:type ontology:Q502895 } } } } . FILTER ( ?r < ?s ) }
college football team time trial yachting croquet motorcycle racing snocross rink bandy BASE jumping para rowing Ultimate memory sport puroresu paintball Finswimming drag racing korfball Kettlebell lifting kung fu contract bridge women's boxing Flying disc games medley swimming giant slalom skiing dancesport Kabaddi women's basketball rallycross canoe polo natural track luge fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating pesäpallo boxe roque shinty Gaelic football Dog agility American handball Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running arena football paralympic athletics Adventure racing five-a-side football Olympic sport Inline skating strength training water sport Contact sport competition aerobatics gymnastics balkline and straight rail skating mountaineering football parkour touring car racing gliding relay race Savate bowling wakeboarding strength athletics CP football jeu de paume Sledge hockey fell running beach handball real tennis Indoor American football Powerchair Football Frisian handball Castell Goalball sport climbing women's association football wheelchair curling nine-ball Kitō-ryū Valencian trinquet rodeo speed skiing Nordic walking hockey pankration high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari combined track and field events Kart racing korbball mind sport winter sport pallone wheelchair fencing Duathlon
110
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity canoeing
relation sport
type tournament
type common name
[[{'concept': 'tournament'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?f WHERE { { ?n property:sport ?f . ?n rdf:type ontology:tournament . ?f rdf:type ontology:sport } UNION { ?n property:sport ?f . ?f rdf:type ontology:sport . ?n rdf:type ontology:common_name } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:sport resource:canoeing . { { ?a rdf:type ontology:tournament } UNION { ?a rdf:type ontology:common_name } } } } . FILTER ( ?r < ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4884086 Q17620404
P27
Q15617994
USER
Which administrative territories are the native countriesof Agustín de Letamendi or Bello Mohammed Tukur ?
OR((Q17620404,P27,c(Q15617994)), (Q4884086,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17620404
relation P27
action find
entity Q4884086
relation P27
type Q15617994
{'OR': [['Q17620404', 'P27', {'concept': 'Q15617994'}], ['Q4884086', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4884086 property:P27 ?v } UNION { resource:Q17620404 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Bello Mohammed Tukur Agustín de Letamendi
action filter_type
action union
action find
entity Agustín de Letamendi
relation country of citizenship
action find
entity Bello Mohammed Tukur
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Agustín de Letamendi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bello Mohammed Tukur', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Bello_Mohammed_Tukur property:country_of_citizenship ?v } UNION { resource:Agustín_de_Letamendi property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q1033
SYSTEM
Spain, Nigeria
Q29 Q1033
OR((Q17620404,P27,c(Q15617994)), (Q4884086,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17620404
relation P27
action find
entity Q4884086
relation P27
type Q15617994
[ANSWERS] are the native countriesof Agustín de Letamendi or Bello Mohammed Tukur
{'OR': [['Q17620404', 'P27', {'concept': 'Q15617994'}], ['Q4884086', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4884086 property:P27 ?v } UNION { resource:Q17620404 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Spain Nigeria
Spain and Nigeria are the native countriesof Agustín de Letamendi or Bello Mohammed Tukur
Spain Nigeria
action filter_type
action union
action find
entity Agustín de Letamendi
relation country of citizenship
action find
entity Bello Mohammed Tukur
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Agustín de Letamendi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bello Mohammed Tukur', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Bello_Mohammed_Tukur property:country_of_citizenship ?v } UNION { resource:Agustín_de_Letamendi property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q213
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with lesser number of administrative territories than Czech Republic ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q213
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?e ) WHERE { ?w rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 . ?u property:P530 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:P530 resource:Q213 . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?e < ?k ) }
Czech Republic
action less
action find_reverse_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_reverse
entity Czech Republic
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?e ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:diplomatic_relation resource:Czech_Republic . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e < ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 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 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q213
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than Czech Republic
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?e ) WHERE { ?w rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 . ?u property:P530 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:P530 resource:Q213 . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?e < ?k ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg 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 Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus 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 Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan 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 Togo Tonga Spain New Caledonia Thailand
Georgia, Netherlands and Poland have diplomatic relations with lesser number of administrative territories than Czech Republic
Georgia Netherlands Poland
action less
action find_reverse_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_reverse
entity Czech Republic
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?e ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:diplomatic_relation resource:Czech_Republic . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e < ?k ) }
[]