Simple Question (Direct)
Simple Question
Q5585381
P21
Q290
USER
What is the sex of Gordon Jones ?
(Q5585381,P21,c(Q290))
action filter_type
action find
entity Q5585381
relation P21
type Q290
['Q5585381', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q5585381 property:P21 ?w . ?w rdf:type ontology:Q290 }
Gordon Jones
action filter_type
action find
entity Gordon Jones
relation gender
type sex
['Gordon Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Gordon_Jones property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5585381,P21,c(Q290))
action filter_type
action find
entity Q5585381
relation P21
type Q290
The sex of Gordon Jones is a [ANSWER]
['Q5585381', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q5585381 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Gordon Jones is a male
male
action filter_type
action find
entity Gordon Jones
relation gender
type sex
['Gordon Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Gordon_Jones property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5585381
P641
Q349
USER
Which sport was Gordon Jones a part of ?
(Q5585381,P641,c(Q349))
action filter_type
action find
entity Q5585381
relation P641
type Q349
['Q5585381', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q5585381 property:P641 ?a . ?a rdf:type ontology:Q349 }
Gordon Jones
action filter_type
action find
entity Gordon Jones
relation sport
type sport
['Gordon Jones', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Gordon_Jones property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5585381,P641,c(Q349))
action filter_type
action find
entity Q5585381
relation P641
type Q349
Which sport was Gordon Jones a part of
['Q5585381', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q5585381 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
Which sport was Gordon Jones a part of
association football
action filter_type
action find
entity Gordon Jones
relation sport
type sport
['Gordon Jones', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Gordon_Jones property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5585381
P27
Q15617994
USER
Which administrative territory is Gordon Jones a civilian of ?
(Q5585381,P27,c(Q15617994))
action filter_type
action find
entity Q5585381
relation P27
type Q15617994
['Q5585381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q5585381 property:P27 ?n }
Gordon Jones
action filter_type
action find
entity Gordon Jones
relation country of citizenship
type designation for an administrative territorial entity
['Gordon Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gordon_Jones property:country_of_citizenship ?n }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5585381,P27,c(Q15617994))
action filter_type
action find
entity Q5585381
relation P27
type Q15617994
[ANSWER] is Gordon Jones a civilian of
['Q5585381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q5585381 property:P27 ?n }
United Kingdom
United Kingdom is Gordon Jones a civilian of
United Kingdom
action filter_type
action find
entity Gordon Jones
relation country of citizenship
type designation for an administrative territorial entity
['Gordon Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gordon_Jones property:country_of_citizenship ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P176
Q2235308
USER
What was built by that administrative territory ?
(c(Q2235308),P176,Q145)
action filter_type
action find_reverse
entity Q145
relation P176
type Q2235308
[{'concept': 'Q2235308'}, 'P176', 'Q145']
SELECT DISTINCT ?a WHERE { ?a property:P176 resource:Q145 . ?a rdf:type ontology:Q2235308 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'United Kingdom']
SELECT DISTINCT ?a WHERE { ?a property:manufacturer resource:United_Kingdom . ?a rdf:type ontology:ship_type }
[]
ship type
Q3492344
SYSTEM
Japanese warship Hōshō
Q3492344
(c(Q2235308),P176,Q145)
action filter_type
action find_reverse
entity Q145
relation P176
type Q2235308
[ANSWER] was built by that administrative territory
[{'concept': 'Q2235308'}, 'P176', 'Q145']
SELECT DISTINCT ?a WHERE { ?a property:P176 resource:Q145 . ?a rdf:type ontology:Q2235308 }
Japanese warship Hōshō
Japanese warship Hōshō was built by that administrative territory
Japanese warship Hōshō
action filter_type
action find_reverse
entity United Kingdom
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'United Kingdom']
SELECT DISTINCT ?a WHERE { ?a property:manufacturer resource:United_Kingdom . ?a rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
What is the origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?j WHERE { resource:Q2736 property:P495 ?j . ?j rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:association_football property:country_of_origin ?j . ?j rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The origin of association football is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?j WHERE { resource:Q2736 property:P495 ?j . ?j rdf:type ontology:Q1496967 }
England
The origin of association football is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:association_football property:country_of_origin ?j . ?j rdf:type ontology:territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q733
P36
Q56061 Q20667921 Q15617994
USER
Which administrative territories are approximately the same number of administrative territories and french administrative divisions the capital of as Paraguay ?
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q733
relation P36
type Q56061
type Q20667921
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q733 property:P36 ?h . { { ?h rdf:type ontology:Q56061 } UNION { ?h rdf:type ontology:Q20667921 } } } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?w ) WHERE { VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?t rdf:type ?a } GROUP BY ?y } }
Paraguay
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Paraguay
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Paraguay property:capital ?h . { { ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?w ) WHERE { VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?t rdf:type ?a } GROUP BY ?y } }
[]
administrative territorial entity type of french administrative division designation for an administrative territorial entity
Q347 Q218 Q1011
SYSTEM
Liechtenstein, Romania, Cape Verde
Q2991354 Q414 Q1111401 Q504637 Q399 Q2466631 Q2527360 Q699731 Q1742192 Q4464924 Q2344966 Q739 Q733 Q736 Q16628524 Q1284 Q1443 Q843 Q2007 Q541811 Q1458 Q14551680 Q1050 Q12717 Q298 Q115 Q114 Q21296012 Q541589 Q1961264 Q696651 Q948 Q731547 Q1268811 Q702 Q709 Q833 Q2093388 Q290739 Q790 Q598193 Q796 Q794 Q889 Q884 Q1452646 Q881 Q1508919 Q541095 Q5613245 Q280312 Q3118738 Q686312 Q1037 Q1030 Q697 Q2039306 Q662056 Q30831 Q694594 Q874 Q878 Q46130 Q3044714 Q1951 Q2236821 Q4854468 Q492437 Q389004 Q492430 Q9073753 Q711 Q717 Q1090678 Q19786899 Q2348751 Q1948 Q511365 Q1270568 Q27 Q34762 Q793437 Q225 Q47261 Q347 Q580447 Q10957559 Q965 Q962 Q963 Q2344833 Q1008 Q2039314 Q72670 Q568751 Q2150573 Q474421 Q3342 Q842 Q4712 Q928 Q851 Q224 Q222 Q691265 Q313175 Q2996404 Q228 Q3462133 Q3846423 Q3207 Q176 Q212 Q211 Q218 Q161258 Q4496152 Q3514973 Q974 Q1234961 Q1222 Q1019 Q1011 Q5192588 Q672
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q733
relation P36
type Q56061
type Q20667921
[ANSWERS] are approximately the same number of administrative territories and french administrative divisions the capital of as Paraguay
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q733 property:P36 ?h . { { ?h rdf:type ontology:Q56061 } UNION { ?h rdf:type ontology:Q20667921 } } } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?w ) WHERE { VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?t rdf:type ?a } GROUP BY ?y } }
Aquiles Serdán Municipality Argentina Kispest District Alta Verapaz Department Armenia Chiautla de Tapia Municipality Stura Wied King's Lynn and West Norfolk Tugulymsky District Netrokona District Colombia Paraguay Ecuador San Salvador el Verde municipality Abruzzo Molise Pakistan Northwest Territories Ems-Oriental Calabria Principality of Lippe Swaziland Bas-Rhin Chile Ethiopia Kenya Amatitlán Ems-Supérieur Tecámac Municipality Saxe-Eisenach Tunisia Lippe Dyle Federated States of Micronesia Marshall Islands Malaysia Sunamganj District Sesia Haiti Apennins Iraq Iran Afghanistan South Korea Montenotte Vietnam Marengo Rhin-et-Moselle Guadalupe Municipality Principality of Lüneburg Guanentá Province Duchy of Amalfi Rwanda Namibia Nauru Jamalpur District Cushamen Department Red Sea Governorate Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Alberta Rhône-et-Loire Bandava Bouches-du-Weser Wallachia Bouches-de-l'Elbe San Vicente Tancuayalab municipality Mongolia Venezuela Sègre Magyaróvár District Kurigram District Manitoba Arvika Municipality Ems Ireland Principality of Bayreuth Bergantiños Bosnia and Herzegovina Duchy of Bavaria Liechtenstein Duchy of Styria Moldavia Burkina Faso Benin Botswana Kishoreganj District Côte d'Ivoire Sherpur District Batumi Oblast Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Duchy of Burgundy Philippines Saudi Arabia Croatia Albania Mont-Terrible Saxe-Lauenburg Alushta municipality Andorra Saxe-Coburg and Gotha Viesca Municipality Aude Quebec Ukraine Latvia Romania Clipperton Island Khartsyzk Municipality Tanaro Democratic Republic of the Congo Doire Aosta Valley Madagascar Cape Verde Cuenca District, Huancavelica Tuvalu
Liechtenstein, Romania and Cape Verde are approximately the same number of administrative territories and french administrative divisions the capital of as Paraguay
Liechtenstein Romania Cape Verde
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Paraguay
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Paraguay property:capital ?h . { { ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?w ) WHERE { VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?t rdf:type ?a } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1256
P36
Q56061 Q20667921 Q15617994
USER
And how about Liguria?
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q1256
relation P36
type Q56061
type Q20667921
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?s WHERE { { ?s property:P36 ?r . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q56061 } UNION { ?s property:P36 ?r . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q20667921 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q1256 property:P36 ?t . { { ?t rdf:type ontology:Q56061 } UNION { ?t rdf:type ontology:Q20667921 } } } } . FILTER ( ?d = ?k ) }
Liguria
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Liguria
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?s WHERE { { ?s property:capital ?r . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?s property:capital ?r . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Liguria property:capital ?t . { { ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?d = ?k ) }
[]
administrative territorial entity type of french administrative division designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q3044731 Q252 Q398 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1616549 Q1254171 Q979470 Q684030 Q1270648 Q3563282 Q12594 Q1899307 Q30675 Q983 Q730 Q734 Q1280 Q1282 Q12792 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q189 Q184 Q1029 Q1028 Q1850485 Q1390630 Q1452 Q12700 Q815731 Q31074 Q31075 Q96 Q12709 Q12175285 Q2629701 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q12574 Q239502 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q3216 Q3194 Q34020 Q891165 Q12804 Q12808 Q3326 Q3286 Q3528124 Q2719360 Q12589 Q1243 Q945 Q3266 Q3105 Q3564819 Q3500767 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q4450475 Q2565377 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q45 Q43 Q792 Q174280 Q1232680 Q12576 Q231168 Q2281221 Q241 Q1965 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q3148 Q2567535 Q3068 Q3389 Q30644 Q236 Q1886098 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q1763301 Q12584 Q12580 Q1101 Q1206596 Q511806 Q3131 Q12788 Q27495866 Q12784 Q3139 Q12782 Q902 Q1036 Q1032 Q1033 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q12736 Q220249 Q31067 Q31065 Q654849 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q894970 Q191 Q79 Q77 Q2001115 Q3044651 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q12816 Q30682 Q30683 Q2006764 Q1952 Q2528268 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3184 Q3044781 Q2371735 Q712 Q710 Q3044777 Q2900529 Q12770 Q2465553 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q769680 Q1508927 Q30805 Q311794 Q20 Q28 Q1366860 Q148 Q227 Q30650 Q223 Q30656 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q967 Q2921370 Q3125 Q3120 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q3509886 Q2380910 Q1438 Q3110307 Q686 Q30832 Q760 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q12620 Q12626 Q29 Q12543 Q617646 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q2093352 Q30946 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q2009 Q12820 Q265 Q2344570 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q3083 Q2003 Q3240 Q2662372 Q3249 Q2565339 Q686924 Q1429976 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q924 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1338277 Q1447 Q2360428 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q3334 Q12572 Q1984191 Q30797 Q1904 Q12578 Q12679 Q30815 Q1429761 Q153402 Q894973 Q894972 Q894971 Q2617427 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q244 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q2565367 Q8575586 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q1256
relation P36
type Q56061
type Q20667921
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?s WHERE { { ?s property:P36 ?r . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q56061 } UNION { ?s property:P36 ?r . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q20667921 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q1256 property:P36 ?t . { { ?t rdf:type ontology:Q56061 } UNION { ?t rdf:type ontology:Q20667921 } } } } . FILTER ( ?d = ?k ) }
Yemen Panama Znaur Israel Costa Rica Gênes Meuse Peru Essonne Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Guyane Indonesia Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Seine-et-Oise Principality of Serbia Sieg Rumi District Marne Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Umbria Lazio Vaucluse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Iceland Belarus Mozambique Morocco Dhaka District Ourthe Basilicata Hautes-Pyrénées Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Rhine Trasimène Loiret Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Aveyron Aube Niue Bojanala Platinum District Municipality Vienne Haute-Vienne Corrèze Cher Tibre Duchy of Luxembourg Manche Veneto Togo Charente Vosges Hamadoni District Norak District New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Talitsky District Danghara District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Portugal Turkey El Salvador San Juan de Jinotega Ithaque Lot Zuyderzée Principality of Orange Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Ardèche Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Barisal District Maine-et-Loire Lozère North Brabant Deux-Nèthes North Slope Borough Alpes-de-Haute-Provence Val-de-Marne Corse Val-d'Oise Alpes-Maritimes Territoire de Belfort Bangladesh Uganda Niger Nigeria Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Saône-et-Loire Eden District Municipality Ismailia Governorate Qena Governorate Joe Gqabi District Municipality ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Indre-et-Loire East Timor Rome Bouches-de-la-Meuse Estonia Egypt Uruguay Tepic, Nayarit (municipality) Louverture Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Yonne Matrouh Governorate Beni Suef Governorate Xhariep District Municipality Nova Scotia Mont-Blanc Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Ariège Sud Saky municipality Fiji Kiribati Nord Bezirk Lothringen Somme Shapsugsky National District Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Bornholm Méditerranée Cairo Governorate iLembe District Municipality Norway Hungary Escaut People's Republic of China Azerbaijan New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Burundi Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Sègre-Ter Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Saint Lucia Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Sylhet District Kafr el-Sheikh Governorate Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Yukon Yvelines Uzbekistan Rangpur District Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Vose' District Mer-Égée Mymensingh District Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Tanzania Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Apulia Tijuana Municipality Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Ngaka Modiri Molema District Municipality Luxor Governorate Ontario Lot-et-Garonne Orne South Sinai Governorate Patuakhali District Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Ayn Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Tonga Vakhsh District Umayyad Caliphate Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
Italy Brazil Russia
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Liguria
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?s WHERE { { ?s property:capital ?r . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?s property:capital ?r . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Liguria property:capital ?t . { { ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?d = ?k ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q2031291
USER
Which administrative territories are the countries of origin of greater number of musical ensembles or releases than that administrative territory ?
(c(Q2088357)|c(Q2031291),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
designation for an administrative territorial entity musical ensemble release
Comparative|More/Less|Mult. entity type|Clarification
Q159
SYSTEM
Did you mean Russia ?
(c(Q2088357)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Did you mean Russia ?
Russia
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Comparative Reasoning (All)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q2088357)|c(Q2031291),P495,c(Q15617994))
Q155
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q30 Q55
SYSTEM
Italy, United States of America, Netherlands
Q142 Q55 Q145 Q33 Q31 Q30 Q34 Q38 Q20 Q17 Q29
(c(Q2088357)|c(Q2031291),P495,c(Q15617994))
[ANSWERS] are the countries of origin of greater number of musical ensembles or releases than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
France Netherlands United Kingdom Finland Belgium United States of America Sweden Italy Norway Japan Spain
Italy, United States of America and Netherlands are the countries of origin of greater number of musical ensembles or releases than that administrative territory
Italy United States of America Netherlands
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q424
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with lesser number of administrative territories than Cambodia ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { ?g property:P530 ?a . ?g rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?u < ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q424 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
Cambodia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cambodia
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 ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { ?g property:diplomatic_relation ?a . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?u < ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Cambodia property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than Cambodia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { ?g property:P530 ?a . ?g rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?u < ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q424 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relations with lesser number of administrative territories than Cambodia
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cambodia
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 ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { ?g property:diplomatic_relation ?a . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?u < ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Cambodia property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q399
P530
Q15617994 Q15617994
USER
And also tell me about Armenia?
(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 Q399
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P530 resource:Q399 . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?l ) }
Armenia
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 Armenia
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:diplomatic_relation resource:Armenia . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?l ) }
[]
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 Q399
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P530 resource:Q399 . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?l ) }
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 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 Armenia
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:diplomatic_relation resource:Armenia . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?l ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q230 Q55 Q36
P6
Q502895
USER
Who are the heads of the government of Georgia, Netherlands and Poland ?
(Q230,P6,c(Q502895)) (Q55,P6,c(Q502895)) (Q36,P6,c(Q502895))
action union
action filter_type
action find
entity Q230
relation P6
type Q502895
action filter_type
action find
entity Q55
relation P6
type Q502895
action filter_type
action find
entity Q36
relation P6
type Q502895
['Q230', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}] ['Q36', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q502895 . resource:Q230 property:P6 ?n } UNION { resource:Q55 property:P6 ?n . ?n rdf:type ontology:Q502895 } }
Georgia Netherlands Poland
action union
action filter_type
action find
entity Georgia
relation head of government
type common name
action filter_type
action find
entity Netherlands
relation head of government
type common name
action filter_type
action find
entity Poland
relation head of government
type common name
['Georgia', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}] ['Poland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:common_name . resource:Georgia property:head_of_government ?n } UNION { resource:Netherlands property:head_of_government ?n . ?n rdf:type ontology:common_name } }
[]
common name
Q159840 Q345481 Q380970
SYSTEM
Ruud Lubbers, Piet de Jong, Jelle Zijlstra
Q57794 Q6066533 Q15277881 Q693053 Q686476 Q159840 Q133386 Q57792 Q345481 Q471204 Q983186 Q380970 Q951705 Q781813 Q736026 Q221411 Q634025 Q719701 Q735519 Q318320 Q318334 Q12769 Q246216 Q946 Q4877021 Q55917
(Q230,P6,c(Q502895)) (Q55,P6,c(Q502895)) (Q36,P6,c(Q502895))
action union
action filter_type
action find
entity Q230
relation P6
type Q502895
action filter_type
action find
entity Q55
relation P6
type Q502895
action filter_type
action find
entity Q36
relation P6
type Q502895
The heads of the government of Georgia , Netherlands and Poland are [ANSWERS]
['Q230', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}] ['Q36', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q502895 . resource:Q230 property:P6 ?n } UNION { resource:Q55 property:P6 ?n . ?n rdf:type ontology:Q502895 } }
Bidzina Ivanishvili Irakli Gharibashvili Giorgi Kvirikashvili Dirk Jan de Geer Hendrikus Colijn Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Charles Ruijs de Beerenbrouck Jelle Zijlstra Pieter Sjoerds Gerbrandy Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Louis Beel Joop den Uyl Dries van Agt Willem Drees Ewa Kopacz Donald Tusk Beata Szydło Jarosław Kaczyński
The heads of the government of Georgia , Netherlands and Poland are Ruud Lubbers, Piet de Jong and Jelle Zijlstra
Ruud Lubbers Piet de Jong Jelle Zijlstra
action union
action filter_type
action find
entity Georgia
relation head of government
type common name
action filter_type
action find
entity Netherlands
relation head of government
type common name
action filter_type
action find
entity Poland
relation head of government
type common name
['Georgia', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}] ['Poland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:common_name . resource:Georgia property:head_of_government ?n } UNION { resource:Netherlands property:head_of_government ?n . ?n rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P276
Q15726688
USER
What is situated at Brazil ?
(c(Q15726688),P276,Q155)
action filter_type
action find_reverse
entity Q155
relation P276
type Q15726688
[{'concept': 'Q15726688'}, 'P276', 'Q155']
SELECT DISTINCT ?s WHERE { ?s property:P276 resource:Q155 . ?s rdf:type ontology:Q15726688 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation location
type Esperanto meeting
[{'concept': 'Esperanto meeting'}, 'location', 'Brazil']
SELECT DISTINCT ?s WHERE { ?s property:location resource:Brazil . ?s rdf:type ontology:Esperanto_meeting }
[]
Esperanto meeting
Q12345822
SYSTEM
Brazilian Esperanto Congress
Q12345822
(c(Q15726688),P276,Q155)
action filter_type
action find_reverse
entity Q155
relation P276
type Q15726688
[ANSWER] is situated at Brazil
[{'concept': 'Q15726688'}, 'P276', 'Q155']
SELECT DISTINCT ?s WHERE { ?s property:P276 resource:Q155 . ?s rdf:type ontology:Q15726688 }
Brazilian Esperanto Congress
Brazilian Esperanto Congress is situated at Brazil
Brazilian Esperanto Congress
action filter_type
action find_reverse
entity Brazil
relation location
type Esperanto meeting
[{'concept': 'Esperanto meeting'}, 'location', 'Brazil']
SELECT DISTINCT ?s WHERE { ?s property:location resource:Brazil . ?s rdf:type ontology:Esperanto_meeting }
[]