Simple Question (Direct)
Simple Question
Q8041235
P734
Q82799
USER
Who has the surname Władysław Mieczysław Kozłowski ?
(Q8041235,P734,c(Q82799))
action filter_type
action find
entity Q8041235
relation P734
type Q82799
['Q8041235', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q8041235 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Władysław Mieczysław Kozłowski
action filter_type
action find
entity Władysław Mieczysław Kozłowski
relation family name
type name
['Władysław Mieczysław Kozłowski', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Władysław_Mieczysław_Kozłowski property:family_name ?u . ?u rdf:type ontology:name }
[]
name
Q21501744
SYSTEM
Kozłowski
Q21501744
(Q8041235,P734,c(Q82799))
action filter_type
action find
entity Q8041235
relation P734
type Q82799
[ANSWER] has the surname Władysław Mieczysław [ANSWER]
['Q8041235', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q8041235 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Kozłowski
Kozłowski has the surname Władysław Mieczysław Kozłowski
Kozłowski
action filter_type
action find
entity Władysław Mieczysław Kozłowski
relation family name
type name
['Władysław Mieczysław Kozłowski', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Władysław_Mieczysław_Kozłowski property:family_name ?u . ?u rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16145211 Q8041235
P19
Q515
USER
Which cities were Władysław Mieczysław Kozłowski or John J Guy born at ?
OR((Q8041235,P19,c(Q515)), (Q16145211,P19,c(Q515)))
action filter_type
action union
action find
entity Q8041235
relation P19
action find
entity Q16145211
relation P19
type Q515
{'OR': [['Q8041235', 'P19', {'concept': 'Q515'}], ['Q16145211', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?f WHERE { { ?h property:P19 ?f . VALUES ( ?h ) { ( resource:Q16145211 ) ( resource:Q8041235 ) } } . ?f rdf:type ontology:Q515 }
John J Guy Władysław Mieczysław Kozłowski
action filter_type
action union
action find
entity Władysław Mieczysław Kozłowski
relation place of birth
action find
entity John J Guy
relation place of birth
type city
{'OR': [['Władysław Mieczysław Kozłowski', 'place of birth', {'concept': 'city'}], ['John J Guy', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?f WHERE { { ?h property:place_of_birth ?f . VALUES ( ?h ) { ( resource:John_J_Guy ) ( resource:Władysław_Mieczysław_Kozłowski ) } } . ?f rdf:type ontology:city }
[]
city
Q34217 Q1899
SYSTEM
Oxford, Kyiv
Q34217 Q1899
OR((Q8041235,P19,c(Q515)), (Q16145211,P19,c(Q515)))
action filter_type
action union
action find
entity Q8041235
relation P19
action find
entity Q16145211
relation P19
type Q515
Władysław Mieczysław Kozłowski or John J Guy were born at both [ANSWERS]
{'OR': [['Q8041235', 'P19', {'concept': 'Q515'}], ['Q16145211', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?f WHERE { { ?h property:P19 ?f . VALUES ( ?h ) { ( resource:Q16145211 ) ( resource:Q8041235 ) } } . ?f rdf:type ontology:Q515 }
Oxford Kyiv
Władysław Mieczysław Kozłowski or John J Guy were born at both Oxford and Kyiv
Oxford Kyiv
action filter_type
action union
action find
entity Władysław Mieczysław Kozłowski
relation place of birth
action find
entity John J Guy
relation place of birth
type city
{'OR': [['Władysław Mieczysław Kozłowski', 'place of birth', {'concept': 'city'}], ['John J Guy', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?f WHERE { { ?h property:place_of_birth ?f . VALUES ( ?h ) { ( resource:John_J_Guy ) ( resource:Władysław_Mieczysław_Kozłowski ) } } . ?f rdf:type ontology:city }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P206
Q355304 Q1267889 Q515
USER
How many cities are located next to less number of watercourses or waterways than that city ?
(c(Q515),P206,c(Q355304)|c(Q1267889))
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P206 ?y } UNION { ?z property:P206 ?x } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q355304 . ?x rdf:type ontology:Q1267889 }
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?z property:located_next_to_body_of_water ?x } } . ?z rdf:type ontology:city . ?y rdf:type ontology:watercourse . ?x rdf:type ontology:waterway }
[]
watercourse waterway city
Comparative|Count over More/Less|Mult. entity type|Clarification
Q34217
SYSTEM
Did you mean Oxford ?
(c(Q515),P206,c(Q355304)|c(Q1267889))
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P206 ?y } UNION { ?z property:P206 ?x } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q355304 . ?x rdf:type ontology:Q1267889 }
Did you mean Oxford ?
Oxford
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?z property:located_next_to_body_of_water ?x } } . ?z rdf:type ontology:city . ?y rdf:type ontology:watercourse . ?x rdf:type ontology:waterway }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q515),P206,c(Q355304)|c(Q1267889))
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
[]
SYSTEM
22
Q1410 Q1519 Q846877 Q1486 Q602903 Q488869 Q217432 Q3572 Q623549 Q34261 Q3958 Q612815 Q633935 Q7473516 Q890122 Q41474 Q4346 Q3751 Q847550 Q646780 Q3857 Q3861
(c(Q515),P206,c(Q355304)|c(Q1267889))
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P206 ?y } UNION { ?z property:P206 ?x } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q355304 . ?x rdf:type ontology:Q1267889 }
Gibraltar Abu Dhabi Semboku Buenos Aires Yurihonjō Benalmádena Port Harcourt Tunis Puerto de la Cruz Port-au-Prince Neubrandenburg Garachico Oga Tokyo Bolhrad Kingstown Waren (Müritz) Praia Nikaho Katagami Wilhelmshaven Doha
22
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?z property:located_next_to_body_of_water ?x } } . ?z rdf:type ontology:city . ?y rdf:type ontology:watercourse . ?x rdf:type ontology:waterway }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q188373
P1376
Q1048835 Q515
USER
How many political territories have lesser number of cities have their first city than South Bohemia Region ?
(c(Q515),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find_reverse
entity Q188373
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P1376 ?e . ?e rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q515 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c property:P1376 resource:Q188373 . ?c rdf:type ontology:Q515 } } . FILTER ( ?v < ?b ) }
South Bohemia Region
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find_reverse
entity South Bohemia Region
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:capital_of ?e . ?e rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:city } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c property:capital_of resource:South_Bohemia_Region . ?c rdf:type ontology:city } } . FILTER ( ?v < ?b ) }
[]
political territorial entity city
SYSTEM
539
Q7915647 Q7130037 Q132418 Q132410 Q13885 Q13887 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q13727 Q6317672 Q3321945 Q938891 Q10298683 Q849807 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13902 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q43448 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q3312902 Q173407 Q8517 Q2702993 Q165956 Q6949621 Q133083 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q13867 Q13866 Q13864 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10469 Q2485101 Q7290462 Q10462 Q1334322 Q10466 Q10465 Q628370 Q104891 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q13730 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q13861 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q34617 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q5455586 Q8566 Q6319759 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6318695 Q6308 Q632108 Q5096392 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q2917 Q7896 Q1399432 Q933179 Q5945 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13812 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q3826003 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q5096 Q3653113 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q13740 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q168856 Q178269 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q7414539 Q2379199 Q1769672 Q13845 Q13846 Q13841 Q13840 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2718510 Q18221 Q192184 Q13893 Q2875944 Q13895 Q5444794 Q593806 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q201697 Q505220 Q7827062 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q13807 Q170672 Q1230021 Q183 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q13751 Q13750 Q5657086 Q2697641 Q309460 Q571947 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q191091 Q10480 Q3321868 Q10483 Q10485 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13871 Q13873 Q13875 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q6013498 Q211795 Q6319125 Q3312431 Q10554 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q515),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find_reverse
entity Q188373
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P1376 ?e . ?e rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q515 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c property:P1376 resource:Q188373 . ?c rdf:type ontology:Q515 } } . FILTER ( ?v < ?b ) }
Vargas Guerra District Panao District Northern Cape Mpumalanga Sultan Kudarat Sulu Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Antique Ayabaca District Acarí District San Miguel District Huacrachuco Western Highlands Province San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Coya District Ternopil Oblast Main-Tauber Haquira District North West Máncora District Gauteng Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Occidental Mindoro Nueva Vizcaya Northern Samar Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Main-Spessart County of Chiny Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Aurora Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Mountain Province Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Saint Pierre and Miquelon Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Fitzcarrald Alzey-Worms Sicaya District Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Pimentel Leipzig Lincoln Partido Chiclayo District Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Ifugao Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chucuito District Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence West Papua Kingdom of Syunik Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Batanes Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Chernivtsi Oblast Ivano-Frankivsk Oblast Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Värmland County Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District San José de Sisa District politics of Edinburgh La Sotonera Maguindanao Marinduque Lanao del Norte Laguna Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tawi-Tawi Omate District Zambales Fernando Lores District Llata District North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Leimebamba District Huancavelica Region Torres Causana District Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dinagat Islands Dnipropetrovsk Oblast Nieva District Germany Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Biliran Benguet Manú Pamparomas District County of Hainaut Bautzen Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Regen Deggendorf Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pangasinan Quirino Romblon Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Inambari Lima Region Pacasmayo District Cajamarca Upper Franconia Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
539
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find_reverse
entity South Bohemia Region
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:capital_of ?e . ?e rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:city } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c property:capital_of resource:South_Bohemia_Region . ?c rdf:type ontology:city } } . FILTER ( ?v < ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q8195
P1376
Q1048835 Q515
USER
And what about Breisgau-Hochschwarzwald?
(c(Q515),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find_reverse
entity Q8195
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P1376 ?t . ?t rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q515 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p rdf:type ontology:Q515 . ?p property:P1376 resource:Q8195 } } . FILTER ( ?u < ?e ) }
Breisgau-Hochschwarzwald
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find_reverse
entity Breisgau-Hochschwarzwald
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:capital_of ?t . ?t rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:city } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p rdf:type ontology:city . ?p property:capital_of resource:Breisgau-Hochschwarzwald } } . FILTER ( ?u < ?e ) }
[]
political territorial entity city
SYSTEM
539
Q7915647 Q7130037 Q132418 Q132410 Q13885 Q13887 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q13727 Q6317672 Q3321945 Q938891 Q10298683 Q849807 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13902 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q43448 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q3312902 Q173407 Q8517 Q2702993 Q165956 Q6949621 Q133083 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q13867 Q13866 Q13864 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10469 Q2485101 Q7290462 Q10462 Q1334322 Q10466 Q10465 Q628370 Q104891 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q13730 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q13861 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q34617 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q5455586 Q8566 Q6319759 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6318695 Q6308 Q632108 Q5096392 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q2917 Q7896 Q1399432 Q933179 Q5945 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13812 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q3826003 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q5096 Q3653113 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q13740 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q168856 Q178269 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q7414539 Q2379199 Q1769672 Q13845 Q13846 Q13841 Q13840 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2718510 Q18221 Q192184 Q13893 Q2875944 Q13895 Q5444794 Q593806 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q201697 Q505220 Q7827062 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q13807 Q170672 Q1230021 Q183 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q13751 Q13750 Q5657086 Q2697641 Q309460 Q571947 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q191091 Q10480 Q3321868 Q10483 Q10485 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13871 Q13873 Q13875 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q6013498 Q211795 Q6319125 Q3312431 Q10554 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q515),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find_reverse
entity Q8195
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P1376 ?t . ?t rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q515 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p rdf:type ontology:Q515 . ?p property:P1376 resource:Q8195 } } . FILTER ( ?u < ?e ) }
Vargas Guerra District Panao District Northern Cape Mpumalanga Sultan Kudarat Sulu Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Antique Ayabaca District Acarí District San Miguel District Huacrachuco Western Highlands Province San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Coya District Ternopil Oblast Main-Tauber Haquira District North West Máncora District Gauteng Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Occidental Mindoro Nueva Vizcaya Northern Samar Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Main-Spessart County of Chiny Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Aurora Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Mountain Province Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Saint Pierre and Miquelon Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Fitzcarrald Alzey-Worms Sicaya District Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Pimentel Leipzig Lincoln Partido Chiclayo District Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Ifugao Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chucuito District Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence West Papua Kingdom of Syunik Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Batanes Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Chernivtsi Oblast Ivano-Frankivsk Oblast Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Värmland County Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District San José de Sisa District politics of Edinburgh La Sotonera Maguindanao Marinduque Lanao del Norte Laguna Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tawi-Tawi Omate District Zambales Fernando Lores District Llata District North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Leimebamba District Huancavelica Region Torres Causana District Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dinagat Islands Dnipropetrovsk Oblast Nieva District Germany Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Biliran Benguet Manú Pamparomas District County of Hainaut Bautzen Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Regen Deggendorf Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pangasinan Quirino Romblon Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Inambari Lima Region Pacasmayo District Cajamarca Upper Franconia Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
539
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find_reverse
entity Breisgau-Hochschwarzwald
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:capital_of ?t . ?t rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:city } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p rdf:type ontology:city . ?p property:capital_of resource:Breisgau-Hochschwarzwald } } . FILTER ( ?u < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8041235
P21
Q290
USER
Which sex does Władysław Mieczysław Kozłowski have ?
(Q8041235,P21,c(Q290))
action filter_type
action find
entity Q8041235
relation P21
type Q290
['Q8041235', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q8041235 property:P21 ?o . ?o rdf:type ontology:Q290 }
Władysław Mieczysław Kozłowski
action filter_type
action find
entity Władysław Mieczysław Kozłowski
relation gender
type sex
['Władysław Mieczysław Kozłowski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Władysław_Mieczysław_Kozłowski property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8041235,P21,c(Q290))
action filter_type
action find
entity Q8041235
relation P21
type Q290
Władysław Mieczysław Kozłowski has a [ANSWER]
['Q8041235', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q8041235 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Władysław Mieczysław Kozłowski has a male
male
action filter_type
action find
entity Władysław Mieczysław Kozłowski
relation gender
type sex
['Władysław Mieczysław Kozłowski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Władysław_Mieczysław_Kozłowski property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8041235
P106
Q12737077
USER
Which occupation is the profession of Władysław Mieczysław Kozłowski ?
(Q8041235,P106,c(Q12737077))
action filter_type
action find
entity Q8041235
relation P106
type Q12737077
['Q8041235', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q8041235 property:P106 ?y }
Władysław Mieczysław Kozłowski
action filter_type
action find
entity Władysław Mieczysław Kozłowski
relation occupation
type occupation
['Władysław Mieczysław Kozłowski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Władysław_Mieczysław_Kozłowski property:occupation ?y }
[]
occupation
Q201788
SYSTEM
historian
Q201788
(Q8041235,P106,c(Q12737077))
action filter_type
action find
entity Q8041235
relation P106
type Q12737077
The [ANSWER] is the profession of Władysław Mieczysław Kozłowski
['Q8041235', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q8041235 property:P106 ?y }
historian
The historian is the profession of Władysław Mieczysław Kozłowski
historian
action filter_type
action find
entity Władysław Mieczysław Kozłowski
relation occupation
type occupation
['Władysław Mieczysław Kozłowski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Władysław_Mieczysław_Kozłowski property:occupation ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1447633
Q12737077
USER
And how about Franz Jöst?
(Q1447633,P106,c(Q12737077))
action filter_type
action find
entity Q1447633
relation P106
type Q12737077
['Q1447633', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1447633 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Franz Jöst
action filter_type
action find
entity Franz Jöst
relation occupation
type occupation
['Franz Jöst', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Franz_Jöst property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1447633,P106,c(Q12737077))
action filter_type
action find
entity Q1447633
relation P106
type Q12737077
[ANSWER]
['Q1447633', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1447633 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Franz Jöst
relation occupation
type occupation
['Franz Jöst', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Franz_Jöst property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q234697
P417
Q502895 Q12737077
USER
Which people are the patron saint of greater number of occupations than Maria Goretti La Mosca ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q234697
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k > ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q234697 property:P417 ?u . ?u rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?k ) WHERE { ?v rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 . ?w property:P417 ?v } GROUP BY ?v } }
Maria Goretti La Mosca
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Maria Goretti La Mosca
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k > ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Maria_Goretti_La_Mosca property:patron_saint ?u . ?u rdf:type ontology:common_name } } . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?k ) WHERE { ?v rdf:type ontology:common_name . ?w rdf:type ontology:occupation . ?w property:patron_saint ?v } GROUP BY ?v } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q234697
relation P417
type Q502895
[ANSWERS] are the patron saint of greater number of occupations than Maria Goretti La Mosca
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k > ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q234697 property:P417 ?u . ?u rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?k ) WHERE { ?v rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 . ?w property:P417 ?v } GROUP BY ?v } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the patron saint of greater number of occupations than Maria Goretti La Mosca
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Maria Goretti La Mosca
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k > ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Maria_Goretti_La_Mosca property:patron_saint ?u . ?u rdf:type ontology:common_name } } . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?k ) WHERE { ?v rdf:type ontology:common_name . ?w rdf:type ontology:occupation . ?w property:patron_saint ?v } GROUP BY ?v } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9438 Q60059 Q166876
P417
Q12737077
USER
Who have those people as their patron saint ?
(c(Q12737077),P417,Q9438) (c(Q12737077),P417,Q60059) (c(Q12737077),P417,Q166876)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q9438'] [{'concept': 'Q12737077'}, 'P417', 'Q60059'] [{'concept': 'Q12737077'}, 'P417', 'Q166876']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . ?p property:P417 ?q . VALUES ( ?q ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
Thomas Aquinas Albertus Magnus Isidore of Seville
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Thomas Aquinas'] [{'concept': 'occupation'}, 'patron saint', 'Albertus Magnus'] [{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . ?p property:patron_saint ?q . VALUES ( ?q ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
occupation
Q131512 Q18805 Q1622272
SYSTEM
farmer, naturalist, university teacher
Q1622272 Q18805 Q131512 Q82594
(c(Q12737077),P417,Q9438) (c(Q12737077),P417,Q60059) (c(Q12737077),P417,Q166876)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q12737077
[ANSWERS] have those people as their patron saint
[{'concept': 'Q12737077'}, 'P417', 'Q9438'] [{'concept': 'Q12737077'}, 'P417', 'Q60059'] [{'concept': 'Q12737077'}, 'P417', 'Q166876']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . ?p property:P417 ?q . VALUES ( ?q ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
university teacher naturalist farmer computer scientist
Farmer, naturalist and university teacher have those people as their patron saint
farmer naturalist university teacher
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Thomas Aquinas'] [{'concept': 'occupation'}, 'patron saint', 'Albertus Magnus'] [{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . ?p property:patron_saint ?q . VALUES ( ?q ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]