Simple Question (Direct)
Simple Question
Q1744746
P106
Q12737077
USER
Which occupations have Klaus-Dieter Müller as his/her 's career ?
(Q1744746,P106,c(Q12737077))
action filter_type
action find
entity Q1744746
relation P106
type Q12737077
['Q1744746', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1744746 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Klaus-Dieter Müller
action filter_type
action find
entity Klaus-Dieter Müller
relation occupation
type occupation
['Klaus-Dieter Müller', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Klaus-Dieter_Müller property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955 Q1622272
SYSTEM
politician, university teacher
Q82955 Q1622272
(Q1744746,P106,c(Q12737077))
action filter_type
action find
entity Q1744746
relation P106
type Q12737077
[ANSWERS] have Klaus-Dieter Müller as his/her 's career
['Q1744746', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1744746 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician university teacher
Politician and university teacher have Klaus-Dieter Müller as his/her 's career
politician university teacher
action filter_type
action find
entity Klaus-Dieter Müller
relation occupation
type occupation
['Klaus-Dieter Müller', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Klaus-Dieter_Müller property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744746
P19
Q15617994
USER
Where was Klaus-Dieter Müller born ?
(Q1744746,P19,c(Q15617994))
action filter_type
action find
entity Q1744746
relation P19
type Q15617994
['Q1744746', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1744746 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Klaus-Dieter Müller
action filter_type
action find
entity Klaus-Dieter Müller
relation place of birth
type designation for an administrative territorial entity
['Klaus-Dieter Müller', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Klaus-Dieter_Müller property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3879
SYSTEM
Neumünster
Q3879
(Q1744746,P19,c(Q15617994))
action filter_type
action find
entity Q1744746
relation P19
type Q15617994
Klaus-Dieter Müller was born in [ANSWER]
['Q1744746', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1744746 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Neumünster
Klaus-Dieter Müller was born in Neumünster
Neumünster
action filter_type
action find
entity Klaus-Dieter Müller
relation place of birth
type designation for an administrative territorial entity
['Klaus-Dieter Müller', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Klaus-Dieter_Müller property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3619213
Q15617994
USER
And how about Antonio Barattucci?
(Q3619213,P19,c(Q15617994))
action filter_type
action find
entity Q3619213
relation P19
type Q15617994
['Q3619213', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q3619213 property:P19 ?t }
Antonio Barattucci
action filter_type
action find
entity Antonio Barattucci
relation place of birth
type designation for an administrative territorial entity
['Antonio Barattucci', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antonio_Barattucci property:place_of_birth ?t }
[]
designation for an administrative territorial entity
Q58905
SYSTEM
Teano
Q58905
(Q3619213,P19,c(Q15617994))
action filter_type
action find
entity Q3619213
relation P19
type Q15617994
[ANSWER]
['Q3619213', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q3619213 property:P19 ?t }
Teano
Teano
action filter_type
action find
entity Antonio Barattucci
relation place of birth
type designation for an administrative territorial entity
['Antonio Barattucci', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antonio_Barattucci property:place_of_birth ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12536
P36
Q515 Q486972 Q15617994
USER
How many administrative territories have less number of cities and human settlements as their administrative centre than Abbasid caliphate ?
(c(Q15617994),P36,c(Q515)|c(Q486972))
action count
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action count
action filter_multi_types
action find
entity Q12536
relation P36
type Q515
type Q486972
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q12536 property:P36 ?o . { { ?o rdf:type ontology:Q515 } UNION { ?o rdf:type ontology:Q486972 } } } } . FILTER ( ?f < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?k WHERE { VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?p rdf:type ?n } GROUP BY ?k } }
Abbasid caliphate
action count
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Abbasid caliphate
relation capital
type city
type human settlement
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Abbasid_caliphate property:capital ?o . { { ?o rdf:type ontology:city } UNION { ?o rdf:type ontology:human_settlement } } } } . FILTER ( ?f < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?k WHERE { VALUES ( ?n ) { ( ontology:city ) ( ontology:human_settlement ) } . ?p rdf:type ?n } GROUP BY ?k } }
[]
city human settlement designation for an administrative territorial entity
SYSTEM
531
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q55 Q504637 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q2998020 Q4308116 Q17301635 Q3044731 Q398 Q2466631 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q1742192 Q3093 Q4464924 Q1616549 Q1254171 Q2344966 Q979470 Q3259 Q684030 Q1270648 Q3563282 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q12798 Q1280 Q1282 Q12792 Q1284 Q1443 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q1850485 Q541811 Q1390630 Q1458 Q1452 Q14551680 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q12175285 Q2629701 Q311803 Q29937 Q117 Q30786 Q12569 Q1270638 Q1788988 Q12574 Q239502 Q1544445 Q466061 Q1515346 Q12642 Q21296012 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q3216 Q3194 Q34020 Q891165 Q12804 Q12808 Q1961264 Q3326 Q3286 Q3528124 Q2719360 Q12589 Q1243 Q945 Q3266 Q3105 Q3564819 Q3500767 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q2565377 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q2093388 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q598193 Q174280 Q1232680 Q12576 Q1452646 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q3148 Q5613245 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q1763301 Q12584 Q12580 Q1101 Q1206596 Q511806 Q3131 Q12788 Q27495866 Q12784 Q3139 Q12782 Q3118738 Q686312 Q902 Q1036 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q12730 Q2562901 Q31068 Q12736 Q220249 Q31067 Q31065 Q2039306 Q654849 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q694594 Q894970 Q191 Q874 Q79 Q77 Q199688 Q2001115 Q3044651 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q12816 Q30682 Q30683 Q2006764 Q1952 Q4854468 Q2528268 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q1480778 Q2567507 Q3278 Q3044623 Q651394 Q3646838 Q2391254 Q3184 Q3044781 Q9073753 Q2371735 Q712 Q710 Q3044777 Q2900529 Q12770 Q2465553 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q19786899 Q153136 Q2621010 Q1999970 Q155019 Q2348751 Q1974486 Q153091 Q107426 Q693658 Q769680 Q1508927 Q511365 Q1270568 Q30805 Q311794 Q12661 Q20 Q28 Q1366860 Q148 Q34762 Q793437 Q227 Q30650 Q223 Q30656 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q580447 Q10957559 Q967 Q962 Q2921370 Q2344833 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 Q2039314 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 Q474421 Q2009 Q12820 Q265 Q2344570 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q3083 Q2003 Q2662372 Q3249 Q3164 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1338277 Q224 Q1447 Q2360428 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q1984191 Q2996404 Q30797 Q1904 Q12578 Q12679 Q30815 Q1429761 Q153402 Q894973 Q894972 Q894971 Q176 Q2617427 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q161258 Q244 Q4496152 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q12789 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q5192588 Q678 Q2565367 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q15617994),P36,c(Q515)|c(Q486972))
action count
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action count
action filter_multi_types
action find
entity Q12536
relation P36
type Q515
type Q486972
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q12536 property:P36 ?o . { { ?o rdf:type ontology:Q515 } UNION { ?o rdf:type ontology:Q486972 } } } } . FILTER ( ?f < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?k WHERE { VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?p rdf:type ?n } GROUP BY ?k } }
Yemen Panama Znaur Israel Costa Rica Gênes Meuse Peru Essonne Netherlands Alta Verapaz Department Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Corse Murmansk Okrug Orihuela Governorate Guyane Bahrain Chiautla de Tapia Municipality Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality King's Lynn and West Norfolk Aisne Tugulymsky District Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Netrokona District Seine-et-Oise Cantal Principality of Serbia Sieg Rumi District Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Vendée Umbria Lazio Vaucluse Abruzzo Molise John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Belarus Mozambique Morocco Dhaka District Ems-Oriental Ourthe Calabria Basilicata Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques 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 Loire Rhine Trasimène Loiret Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Amatitlán Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Aveyron Aube Niue Bojanala Platinum District Municipality Vienne Haute-Vienne Tecámac Municipality Corrèze Cher Tibre Duchy of Luxembourg Manche Veneto Togo Charente Vosges Hamadoni District Norak District Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District Danghara District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Sunamganj District Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Apennins San Juan de Jinotega Ithaque Lot Montenotte Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Ardèche Guadalupe Municipality Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Georgia 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 Guanentá Province Duchy of Amalfi Bangladesh Uganda Niger Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Eden District Municipality Ismailia Governorate Qena Governorate Jamalpur District Joe Gqabi District Municipality ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Indre-et-Loire East Timor Rome Bremen-Verden Bouches-de-la-Meuse Estonia Turkmenistan Egypt Uruguay Almohad 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 Bandava Mont-Blanc Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Comilla District Arno Charente-Maritime Cibao Ramensky District Los Guayos Municipality Farkhor District Ariège Sud San Vicente Tancuayalab municipality Saky municipality Fiji Kiribati Nord Bezirk Lothringen Somme Shapsugsky National District Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Magyaróvár District Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Kurigram District Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Bornholm Méditerranée Arvika Municipality Ems Cairo Governorate iLembe District Municipality Nord Norway Hungary Escaut People's Republic of China Principality of Bayreuth Bergantiños Azerbaijan New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Duchy of Styria Moldavia Burundi Benin Bouches-de-l'Èbre-Montserrat Kishoreganj District 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 Sherpur District 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 Principality of Fürstenberg 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 Principality of Minsk Calvados Ardennes Vose' District Mer-Égée Mymensingh District Principality of Polotsk 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 Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Croatia Apulia Tijuana Municipality Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Ngaka Modiri Molema District Municipality Alushta 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 Quebec Ayn Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Fatimid caliphate Clipperton Island Barbados Khartsyzk Municipality Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Var Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Cuenca District, Huancavelica Tonga Vakhsh District Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
531
action count
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Abbasid caliphate
relation capital
type city
type human settlement
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Abbasid_caliphate property:capital ?o . { { ?o rdf:type ontology:city } UNION { ?o rdf:type ontology:human_settlement } } } } . FILTER ( ?f < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?k WHERE { VALUES ( ?n ) { ( ontology:city ) ( ontology:human_settlement ) } . ?p rdf:type ?n } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17305929 Q1744746
P27
Q1048835
USER
Which political territories are Klaus-Dieter Müller or Robert Foster a civilian of ?
OR((Q1744746,P27,c(Q1048835)), (Q17305929,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1744746
relation P27
action find
entity Q17305929
relation P27
type Q1048835
{'OR': [['Q1744746', 'P27', {'concept': 'Q1048835'}], ['Q17305929', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . { ?p property:P27 ?o . VALUES ( ?p ) { ( resource:Q17305929 ) ( resource:Q1744746 ) } } }
Robert Foster Klaus-Dieter Müller
action filter_type
action union
action find
entity Klaus-Dieter Müller
relation country of citizenship
action find
entity Robert Foster
relation country of citizenship
type political territorial entity
{'OR': [['Klaus-Dieter Müller', 'country of citizenship', {'concept': 'political territorial entity'}], ['Robert Foster', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . { ?p property:country_of_citizenship ?o . VALUES ( ?p ) { ( resource:Robert_Foster ) ( resource:Klaus-Dieter_Müller ) } } }
[]
political territorial entity
Q766 Q183
SYSTEM
Jamaica, Germany
Q766 Q183
OR((Q1744746,P27,c(Q1048835)), (Q17305929,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1744746
relation P27
action find
entity Q17305929
relation P27
type Q1048835
[ANSWERS] are Klaus-Dieter Müller or Robert Foster a civilian of
{'OR': [['Q1744746', 'P27', {'concept': 'Q1048835'}], ['Q17305929', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . { ?p property:P27 ?o . VALUES ( ?p ) { ( resource:Q17305929 ) ( resource:Q1744746 ) } } }
Jamaica Germany
Jamaica and Germany are Klaus-Dieter Müller or Robert Foster a civilian of
Jamaica Germany
action filter_type
action union
action find
entity Klaus-Dieter Müller
relation country of citizenship
action find
entity Robert Foster
relation country of citizenship
type political territorial entity
{'OR': [['Klaus-Dieter Müller', 'country of citizenship', {'concept': 'political territorial entity'}], ['Robert Foster', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . { ?p property:country_of_citizenship ?o . VALUES ( ?p ) { ( resource:Robert_Foster ) ( resource:Klaus-Dieter_Müller ) } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18022182 Q17305929
P27
Q1048835
USER
Which political territories are the native countriesof Robert Foster or Kirsten Nesse ?
OR((Q17305929,P27,c(Q1048835)), (Q18022182,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q17305929
relation P27
action find
entity Q18022182
relation P27
type Q1048835
{'OR': [['Q17305929', 'P27', {'concept': 'Q1048835'}], ['Q18022182', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . { { resource:Q17305929 property:P27 ?s } UNION { resource:Q18022182 property:P27 ?s } } }
Kirsten Nesse Robert Foster
action filter_type
action union
action find
entity Robert Foster
relation country of citizenship
action find
entity Kirsten Nesse
relation country of citizenship
type political territorial entity
{'OR': [['Robert Foster', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kirsten Nesse', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . { { resource:Robert_Foster property:country_of_citizenship ?s } UNION { resource:Kirsten_Nesse property:country_of_citizenship ?s } } }
[]
political territorial entity
Q766 Q183
SYSTEM
Jamaica, Germany
Q766 Q183
OR((Q17305929,P27,c(Q1048835)), (Q18022182,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q17305929
relation P27
action find
entity Q18022182
relation P27
type Q1048835
[ANSWERS] are the native countriesof Robert Foster or Kirsten Nesse
{'OR': [['Q17305929', 'P27', {'concept': 'Q1048835'}], ['Q18022182', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . { { resource:Q17305929 property:P27 ?s } UNION { resource:Q18022182 property:P27 ?s } } }
Jamaica Germany
Jamaica and Germany are the native countriesof Robert Foster or Kirsten Nesse
Jamaica Germany
action filter_type
action union
action find
entity Robert Foster
relation country of citizenship
action find
entity Kirsten Nesse
relation country of citizenship
type political territorial entity
{'OR': [['Robert Foster', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kirsten Nesse', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . { { resource:Robert_Foster property:country_of_citizenship ?s } UNION { resource:Kirsten_Nesse property:country_of_citizenship ?s } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with atleast 86 political territories and administrative territories ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action atleast
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 86
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?d WHERE { { ?d property:P530 ?u . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } UNION { ?d property:P530 ?u . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } } GROUP BY ?d } . FILTER ( ?i >= 86 ) }
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 86
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?d WHERE { { ?d property:diplomatic_relation ?u . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } UNION { ?d property:diplomatic_relation ?u . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?d } . FILTER ( ?i >= 86 ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action atleast
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 86
[ANSWER] have ambassadorial relations with atleast 86 political territories and administrative territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?d WHERE { { ?d property:P530 ?u . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } UNION { ?d property:P530 ?u . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } } GROUP BY ?d } . FILTER ( ?i >= 86 ) }
Georgia
Georgia have ambassadorial relations with atleast 86 political territories and administrative territories
Georgia
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 86
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?d WHERE { { ?d property:diplomatic_relation ?u . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } UNION { ?d property:diplomatic_relation ?u . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?d } . FILTER ( ?i >= 86 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q838948
USER
How many administrative territories are the origins of lesser number of film genres and works of art than that administrative territory ?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q230
relation P495
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) ?p WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P495 resource:Q230 . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } } } . FILTER ( ?s < ?v ) }
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) ?p WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:country_of_origin resource:Georgia . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } } } . FILTER ( ?s < ?v ) }
[]
designation for an administrative territorial entity film genre work of art
SYSTEM
94
Q805 Q804 Q800 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q711 Q1460 Q398 Q657 Q792 Q790 Q4628 Q796 Q954 Q889 Q958 Q986 Q826 Q242 Q244 Q811 Q153136 Q924 Q423 Q983 Q851 Q733 Q29999 Q819 Q730 Q1013 Q159626 Q236 Q233 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1027 Q1020 Q184 Q1029 Q736 Q786 Q227 Q223 Q221 Q229 Q347 Q1036 Q1037 Q1032 Q1030 Q967 Q962 Q963 Q115 Q117 Q754 Q217 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q574 Q874 Q878 Q774 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q230
relation P495
type Q201658
type Q838948
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) ?p WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P495 resource:Q230 . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } } } . FILTER ( ?s < ?v ) }
Yemen Panama Costa Rica Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Mongolia Sicily Bahrain Chad El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Eritrea Maldives Belize Barbados Nicaragua Habsburg Empire Tanzania North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Laos Suriname Lesotho Württemberg Montenegro Malta San Marino Somalia Sierra Leone Brunei Sudan Mauritania Mauritius Malawi Belarus Mozambique Ecuador Dominican Republic Azerbaijan Greenland Republic of Macedonia Cyprus Liechtenstein Uganda Rwanda Niger Namibia Burundi Benin Botswana Ethiopia Ghana Trinidad and Tobago Republic of Moldova Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu East Timor Turkmenistan United Arab Emirates Guatemala Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
94
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) ?p WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:country_of_origin resource:Georgia . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } } } . FILTER ( ?s < ?v ) }
[]