Simple Question (Direct)
Simple Question
Q5548887
P241
Q781132
USER
Which military branch did Gerald Ashburner France belong to ?
(Q5548887,P241,c(Q781132))
action filter_type
action find
entity Q5548887
relation P241
type Q781132
['Q5548887', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q781132 . resource:Q5548887 property:P241 ?w }
Gerald Ashburner France
action filter_type
action find
entity Gerald Ashburner France
relation military branch
type military branch
['Gerald Ashburner France', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:military_branch . resource:Gerald_Ashburner_France property:military_branch ?w }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q5548887,P241,c(Q781132))
action filter_type
action find
entity Q5548887
relation P241
type Q781132
Gerald Ashburner France belonged to [ANSWER]
['Q5548887', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q781132 . resource:Q5548887 property:P241 ?w }
Royal Navy
Gerald Ashburner France belonged to Royal Navy
Royal Navy
action filter_type
action find
entity Gerald Ashburner France
relation military branch
type military branch
['Gerald Ashburner France', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:military_branch . resource:Gerald_Ashburner_France property:military_branch ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5548887
P937
Q56061
USER
What is the work location of that person ?
(Q172771,P937,c(Q56061))
action filter_type
action find
entity Q5548887
relation P937
type Q56061
['Q172771', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q5548887 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Gerald Ashburner France
action filter_type
action find
entity Gerald Ashburner France
relation work location
type administrative territorial entity
['Royal Navy', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Gerald_Ashburner_France property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q172771,P937,c(Q56061))
action filter_type
action find
entity Q5548887
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q172771', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q5548887 property:P937 ?i . ?i rdf:type ontology:Q56061 }
London
The work location of that person is in London
London
action filter_type
action find
entity Gerald Ashburner France
relation work location
type administrative territorial entity
['Royal Navy', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Gerald_Ashburner_France property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are the sister cities of that administrative territory ?
(Q84,P190,c(Q56061))
action count
action filter_type
action find
entity Q84
relation P190
type Q56061
['Q84', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q84 property:P190 ?a . ?a rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
['London', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:London property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
22
Q8686 Q1353 Q34820 Q649 Q472 Q9248 Q987 Q1156 Q3630 Q466221 Q3561 Q64 Q23564 Q1850 Q585 Q406 Q34647 Q956 Q159273 Q1490 Q65 Q60
(Q84,P190,c(Q56061))
action count
action filter_type
action find
entity Q84
relation P190
type Q56061
[ANSWER]
['Q84', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q84 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Shanghai Delhi Santo Domingo Moscow Sofia Baku New Delhi Mumbai Jakarta Sylhet Algiers Berlin Podgorica Phnom Penh Oslo Istanbul Johannesburg Beijing Arequipa Tokyo Los Angeles New York City
22
action count
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
['London', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:London property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P121
Q197 Q2424752 Q781132
USER
How many military branches manage atleast 5 airplanes and products ?
(c(Q781132),P121,c(Q197)|c(Q2424752))
action count
action atleast
action union
action find_tuple_counts
relation P121
type Q781132
type Q197
action find_tuple_counts
relation P121
type Q781132
type Q2424752
value 5
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { FILTER ( ?j >= 5 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?w WHERE { { ?w property:P121 ?r . ?r rdf:type ontology:Q197 . ?w rdf:type ontology:Q781132 } UNION { ?w property:P121 ?r . ?w rdf:type ontology:Q781132 . ?r rdf:type ontology:Q2424752 } } GROUP BY ?w } }
action count
action atleast
action union
action find_tuple_counts
relation item operated
type military branch
type airplane
action find_tuple_counts
relation item operated
type military branch
type product
value 5
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { FILTER ( ?j >= 5 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?w WHERE { { ?w property:item_operated ?r . ?r rdf:type ontology:airplane . ?w rdf:type ontology:military_branch } UNION { ?w property:item_operated ?r . ?w rdf:type ontology:military_branch . ?r rdf:type ontology:product } } GROUP BY ?w } }
[]
airplane product military branch
SYSTEM
1
Q4419309
(c(Q781132),P121,c(Q197)|c(Q2424752))
action count
action atleast
action union
action find_tuple_counts
relation P121
type Q781132
type Q197
action find_tuple_counts
relation P121
type Q781132
type Q2424752
value 5
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { FILTER ( ?j >= 5 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?w WHERE { { ?w property:P121 ?r . ?r rdf:type ontology:Q197 . ?w rdf:type ontology:Q781132 } UNION { ?w property:P121 ?r . ?w rdf:type ontology:Q781132 . ?r rdf:type ontology:Q2424752 } } GROUP BY ?w } }
Kazakh Air and Air Defence Forces
1
action count
action atleast
action union
action find_tuple_counts
relation item operated
type military branch
type airplane
action find_tuple_counts
relation item operated
type military branch
type product
value 5
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'product'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { FILTER ( ?j >= 5 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?w WHERE { { ?w property:item_operated ?r . ?r rdf:type ontology:airplane . ?w rdf:type ontology:military_branch } UNION { ?w property:item_operated ?r . ?w rdf:type ontology:military_branch . ?r rdf:type ontology:product } } GROUP BY ?w } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q26322908 Q172771
P17
Q15617994
USER
Which administrative territories do Royal Navy and 5 And 7, Harnet Street belong to ?
AND((Q172771,P17,c(Q15617994)), (Q26322908,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q172771
relation P17
action find
entity Q26322908
relation P17
type Q15617994
{'AND': [['Q172771', 'P17', {'concept': 'Q15617994'}], ['Q26322908', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q172771 property:P17 ?e . resource:Q26322908 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
5 And 7, Harnet Street Royal Navy
action filter_type
action intersection
action find
entity Royal Navy
relation country
action find
entity 5 And 7, Harnet Street
relation country
type designation for an administrative territorial entity
{'AND': [['Royal Navy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['5 And 7, Harnet Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Royal_Navy property:country ?e . resource:5_And_7,_Harnet_Street property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q172771,P17,c(Q15617994)), (Q26322908,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q172771
relation P17
action find
entity Q26322908
relation P17
type Q15617994
[ANSWER] Royal Navy and 5 And 7, Harnet Street belong to
{'AND': [['Q172771', 'P17', {'concept': 'Q15617994'}], ['Q26322908', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q172771 property:P17 ?e . resource:Q26322908 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom Royal Navy and 5 And 7, Harnet Street belong to
United Kingdom
action filter_type
action intersection
action find
entity Royal Navy
relation country
action find
entity 5 And 7, Harnet Street
relation country
type designation for an administrative territorial entity
{'AND': [['Royal Navy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['5 And 7, Harnet Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Royal_Navy property:country ?e . resource:5_And_7,_Harnet_Street property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12761
P36
Q515 Q20667921 Q15617994
USER
How many administrative territories consists of less number of cities and french administrative divisions as their capital than Seine-Saint-Denis ?
(c(Q15617994),P36,c(Q515)|c(Q20667921))
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 Q20667921
action count
action filter_multi_types
action find
entity Q12761
relation P36
type Q515
type Q20667921
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q12761 property:P36 ?a . { { ?a rdf:type ontology:Q515 } UNION { ?a rdf:type ontology:Q20667921 } } } } . FILTER ( ?x < ?e ) }
Seine-Saint-Denis
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 type of french administrative division
action count
action filter_multi_types
action find
entity Seine-Saint-Denis
relation capital
type city
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Seine-Saint-Denis property:capital ?a . { { ?a rdf:type ontology:city } UNION { ?a rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?x < ?e ) }
[]
city type of french administrative division designation for an administrative territorial entity
SYSTEM
450
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q2991354 Q1111401 Q55 Q504637 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q398 Q2466631 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q1974 Q2527360 Q699731 Q611074 Q2007299 Q1742192 Q4464924 Q1616549 Q1254171 Q2344966 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q16628524 Q1280 Q1282 Q1284 Q1443 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q1850485 Q541811 Q1390630 Q1458 Q1452 Q14551680 Q815731 Q31074 Q31075 Q96 Q12175285 Q2629701 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q21296012 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q541589 Q891165 Q1961264 Q3528124 Q2719360 Q1243 Q945 Q3564819 Q3500767 Q731547 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q2093388 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q290739 Q45 Q43 Q41 Q792 Q598193 Q174280 Q1232680 Q1452646 Q231168 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q5613245 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q3118738 Q686312 Q902 Q1036 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q2039306 Q654849 Q662056 Q1773268 Q30835 Q574 Q1558632 Q694594 Q894970 Q191 Q874 Q79 Q77 Q199688 Q2001115 Q3044651 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q2006764 Q1952 Q4854468 Q492437 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q9073753 Q2371735 Q712 Q710 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q19786899 Q153136 Q2621010 Q2348751 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q511365 Q1270568 Q30805 Q311794 Q20 Q28 Q1366860 Q148 Q34762 Q793437 Q227 Q30650 Q223 Q30656 Q221 Q311668 Q229 Q1410315 Q1989 Q60011 Q580447 Q10957559 Q965 Q967 Q962 Q2921370 Q2344833 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q2039314 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q2662372 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 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 Q1984191 Q2996404 Q30797 Q1904 Q30815 Q1429761 Q3846423 Q153402 Q894973 Q894972 Q894971 Q176 Q2617427 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q161258 Q244 Q4496152 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q5192588 Q678 Q2565367 Q8575586 Q672 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q515)|c(Q20667921))
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 Q20667921
action count
action filter_multi_types
action find
entity Q12761
relation P36
type Q515
type Q20667921
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q12761 property:P36 ?a . { { ?a rdf:type ontology:Q515 } UNION { ?a rdf:type ontology:Q20667921 } } } } . FILTER ( ?x < ?e ) }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Aquiles Serdán Municipality Kispest District Netherlands Alta Verapaz Department Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Bahrain Chiautla de Tapia Municipality Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde British Columbia Stura Wied Mopani District Municipality OR Tambo District Municipality King's Lynn and West Norfolk Tugulymsky District Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Netrokona District Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana San Salvador el Verde municipality Umbria Lazio 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 Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Amatitlán Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Ems-Supérieur Bojanala Platinum District Municipality Tecámac Municipality Tibre Duchy of Luxembourg Veneto Togo Hamadoni District Norak District Lippe Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Sunamganj District Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Sesia Portugal Turkey Greece El Salvador Apennins San Juan de Jinotega Ithaque Montenotte Zuyderzée Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental 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 French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes 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 West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Jamalpur District Joe Gqabi District Municipality Cushamen Department ZF Mgcawu District Municipality Gharbia Governorate 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 Matrouh Governorate Beni Suef Governorate Xhariep District Municipality Nova Scotia Bandava Bouches-du-Weser Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud San Vicente Tancuayalab municipality Saky municipality Fiji Kiribati Nord Somme Shapsugsky National District 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 Kurigram District Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Arvika Municipality Ems Cairo Governorate iLembe District Municipality Norway Hungary Escaut People's Republic of China Principality of Bayreuth Bergantiños Azerbaijan New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Duchy of Styria Moldavia Burkina Faso Burundi Benin Bouches-de-l'Èbre-Montserrat Kishoreganj District 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 Vanuatu Giza Governorate Saint Lucia Sherpur District Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Hérault Zululand District Municipality Tajikistan Nunavut Thailand 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 Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Principality of Minsk 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 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 Ngaka Modiri Molema District Municipality Alushta municipality Luxor Governorate Ontario South Sinai Governorate Patuakhali District Viesca Municipality 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 Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Cuenca District, Huancavelica Tonga Vakhsh District Umayyad Caliphate Tuvalu Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
450
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 type of french administrative division
action count
action filter_multi_types
action find
entity Seine-Saint-Denis
relation capital
type city
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Seine-Saint-Denis property:capital ?a . { { ?a rdf:type ontology:city } UNION { ?a rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?x < ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q12700
P36
Q515 Q20667921 Q15617994
USER
And also tell me about Hautes-Pyrénées?
(c(Q15617994),P36,c(Q515)|c(Q20667921))
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 Q20667921
action count
action filter_multi_types
action find
entity Q12700
relation P36
type Q515
type Q20667921
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?k WHERE { VALUES ( ?w ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?r rdf:type ?w } GROUP BY ?k } . FILTER ( ?y < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q12700 property:P36 ?j . { { ?j rdf:type ontology:Q515 } UNION { ?j rdf:type ontology:Q20667921 } } } } }
Hautes-Pyrénées
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 type of french administrative division
action count
action filter_multi_types
action find
entity Hautes-Pyrénées
relation capital
type city
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?k WHERE { VALUES ( ?w ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?r rdf:type ?w } GROUP BY ?k } . FILTER ( ?y < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Hautes-Pyrénées property:capital ?j . { { ?j rdf:type ontology:city } UNION { ?j rdf:type ontology:type_of_french_administrative_division } } } } }
[]
city type of french administrative division designation for an administrative territorial entity
SYSTEM
450
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q2991354 Q1111401 Q55 Q504637 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q398 Q2466631 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q1974 Q2527360 Q699731 Q611074 Q2007299 Q1742192 Q4464924 Q1616549 Q1254171 Q2344966 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q16628524 Q1280 Q1282 Q1284 Q1443 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q1850485 Q541811 Q1390630 Q1458 Q1452 Q14551680 Q815731 Q31074 Q31075 Q96 Q12175285 Q2629701 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q21296012 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q541589 Q891165 Q1961264 Q3528124 Q2719360 Q1243 Q945 Q3564819 Q3500767 Q731547 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q2093388 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q290739 Q45 Q43 Q41 Q792 Q598193 Q174280 Q1232680 Q1452646 Q231168 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q5613245 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q3118738 Q686312 Q902 Q1036 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q2039306 Q654849 Q662056 Q1773268 Q30835 Q574 Q1558632 Q694594 Q894970 Q191 Q874 Q79 Q77 Q199688 Q2001115 Q3044651 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q2006764 Q1952 Q4854468 Q492437 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q9073753 Q2371735 Q712 Q710 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q19786899 Q153136 Q2621010 Q2348751 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q511365 Q1270568 Q30805 Q311794 Q20 Q28 Q1366860 Q148 Q34762 Q793437 Q227 Q30650 Q223 Q30656 Q221 Q311668 Q229 Q1410315 Q1989 Q60011 Q580447 Q10957559 Q965 Q967 Q962 Q2921370 Q2344833 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q2039314 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q2662372 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 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 Q1984191 Q2996404 Q30797 Q1904 Q30815 Q1429761 Q3846423 Q153402 Q894973 Q894972 Q894971 Q176 Q2617427 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q161258 Q244 Q4496152 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q5192588 Q678 Q2565367 Q8575586 Q672 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q515)|c(Q20667921))
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 Q20667921
action count
action filter_multi_types
action find
entity Q12700
relation P36
type Q515
type Q20667921
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?k WHERE { VALUES ( ?w ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?r rdf:type ?w } GROUP BY ?k } . FILTER ( ?y < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q12700 property:P36 ?j . { { ?j rdf:type ontology:Q515 } UNION { ?j rdf:type ontology:Q20667921 } } } } }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Aquiles Serdán Municipality Kispest District Netherlands Alta Verapaz Department Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Bahrain Chiautla de Tapia Municipality Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde British Columbia Stura Wied Mopani District Municipality OR Tambo District Municipality King's Lynn and West Norfolk Tugulymsky District Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Netrokona District Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana San Salvador el Verde municipality Umbria Lazio 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 Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Amatitlán Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Ems-Supérieur Bojanala Platinum District Municipality Tecámac Municipality Tibre Duchy of Luxembourg Veneto Togo Hamadoni District Norak District Lippe Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Sunamganj District Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Sesia Portugal Turkey Greece El Salvador Apennins San Juan de Jinotega Ithaque Montenotte Zuyderzée Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental 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 French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes 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 West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Jamalpur District Joe Gqabi District Municipality Cushamen Department ZF Mgcawu District Municipality Gharbia Governorate 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 Matrouh Governorate Beni Suef Governorate Xhariep District Municipality Nova Scotia Bandava Bouches-du-Weser Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud San Vicente Tancuayalab municipality Saky municipality Fiji Kiribati Nord Somme Shapsugsky National District 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 Kurigram District Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Arvika Municipality Ems Cairo Governorate iLembe District Municipality Norway Hungary Escaut People's Republic of China Principality of Bayreuth Bergantiños Azerbaijan New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Duchy of Styria Moldavia Burkina Faso Burundi Benin Bouches-de-l'Èbre-Montserrat Kishoreganj District 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 Vanuatu Giza Governorate Saint Lucia Sherpur District Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Hérault Zululand District Municipality Tajikistan Nunavut Thailand 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 Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Principality of Minsk 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 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 Ngaka Modiri Molema District Municipality Alushta municipality Luxor Governorate Ontario South Sinai Governorate Patuakhali District Viesca Municipality 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 Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Cuenca District, Huancavelica Tonga Vakhsh District Umayyad Caliphate Tuvalu Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
450
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 type of french administrative division
action count
action filter_multi_types
action find
entity Hautes-Pyrénées
relation capital
type city
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?k WHERE { VALUES ( ?w ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?r rdf:type ?w } GROUP BY ?k } . FILTER ( ?y < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Hautes-Pyrénées property:capital ?j . { { ?j rdf:type ontology:city } UNION { ?j rdf:type ontology:type_of_french_administrative_division } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q76738 Q5548887
P39 P106
Q12737077
USER
Which occupations were the positions occupied by Gerald Ashburner France or are the professions of Athanasius Kircher ?
OR((Q5548887,P39,c(Q12737077)), (Q76738,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5548887
relation P39
action find
entity Q76738
relation P106
type Q12737077
{'OR': [['Q5548887', 'P39', {'concept': 'Q12737077'}], ['Q76738', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q5548887 property:P39 ?o } UNION { resource:Q76738 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
Athanasius Kircher Gerald Ashburner France
action filter_type
action union
action find
entity Gerald Ashburner France
relation position held
action find
entity Athanasius Kircher
relation occupation
type occupation
{'OR': [['Gerald Ashburner France', 'position held', {'concept': 'occupation'}], ['Athanasius Kircher', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Gerald_Ashburner_France property:position_held ?o } UNION { resource:Athanasius_Kircher property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
occupation
Q1350189 Q170790 Q16031530 Q250867 Q1622272 Q205375 Q3621491 Q14915627 Q14467526 Q11063
SYSTEM
Some of them are egyptologist, mathematician, music theorist, Catholic priest, university teacher, inventor, archaeologist, musicologist, linguist, astronomer
Q250867 Q16031530 Q205375 Q14467526 Q1350189 Q3621491 Q11063 Q1622272 Q36180 Q16707842 Q14915627 Q16063497 Q170790
OR((Q5548887,P39,c(Q12737077)), (Q76738,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5548887
relation P39
action find
entity Q76738
relation P106
type Q12737077
The [ANSWERS] the positions occupied by Gerald Ashburner France or are the professions of Athanasius Kircher
{'OR': [['Q5548887', 'P39', {'concept': 'Q12737077'}], ['Q76738', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q5548887 property:P39 ?o } UNION { resource:Q76738 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
Catholic priest music theorist inventor linguist egyptologist archaeologist astronomer university teacher writer Member of Parliament in the United Kingdom musicologist evolutionary biologist mathematician
The egyptologist, mathematician, music theorist, Catholic priest, university teacher, inventor, archaeologist, musicologist, linguist and astronomer the positions occupied by Gerald Ashburner France or are the professions of Athanasius Kircher
egyptologist mathematician music theorist Catholic priest university teacher inventor archaeologist musicologist linguist astronomer
action filter_type
action union
action find
entity Gerald Ashburner France
relation position held
action find
entity Athanasius Kircher
relation occupation
type occupation
{'OR': [['Gerald Ashburner France', 'position held', {'concept': 'occupation'}], ['Athanasius Kircher', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Gerald_Ashburner_France property:position_held ?o } UNION { resource:Athanasius_Kircher property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saints of atmost 5 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P417 ?e . ?i rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?b <= 5 ) }
action count
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:patron_saint ?e . ?i rdf:type ontology:occupation . ?e rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?b <= 5 ) }
[]
common name occupation
SYSTEM
319
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q43982 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P417 ?e . ?i rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?b <= 5 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Bartholomew the Apostle Leo IX Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
319
action count
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:patron_saint ?e . ?i rdf:type ontology:occupation . ?e rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?b <= 5 ) }
[]