Simple Question (Direct)
Simple Question
Q539221
P21
Q290
USER
Which sex does Gillian Bradshaw have ?
(Q539221,P21,c(Q290))
action filter_type
action find
entity Q539221
relation P21
type Q290
['Q539221', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q539221 property:P21 ?c }
Gillian Bradshaw
action filter_type
action find
entity Gillian Bradshaw
relation gender
type sex
['Gillian Bradshaw', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Gillian_Bradshaw property:gender ?c }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q539221,P21,c(Q290))
action filter_type
action find
entity Q539221
relation P21
type Q290
Gillian Bradshaw has a [ANSWER]
['Q539221', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q539221 property:P21 ?c }
female
Gillian Bradshaw has a female
female
action filter_type
action find
entity Gillian Bradshaw
relation gender
type sex
['Gillian Bradshaw', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Gillian_Bradshaw property:gender ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q539221
P1412
Q34770
USER
Which language does Gillian Bradshaw speak in ?
(Q539221,P1412,c(Q34770))
action filter_type
action find
entity Q539221
relation P1412
type Q34770
['Q539221', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q539221 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Gillian Bradshaw
action filter_type
action find
entity Gillian Bradshaw
relation languages spoken, written or signed
type language
['Gillian Bradshaw', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Gillian_Bradshaw property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q539221,P1412,c(Q34770))
action filter_type
action find
entity Q539221
relation P1412
type Q34770
Gillian Bradshaw speaks of [ANSWER]
['Q539221', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q539221 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
Gillian Bradshaw speaks of English
English
action filter_type
action find
entity Gillian Bradshaw
relation languages spoken, written or signed
type language
['Gillian Bradshaw', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Gillian_Bradshaw property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8012744
Q34770
USER
And how about William Hutchinson Norris?
(Q8012744,P1412,c(Q34770))
action filter_type
action find
entity Q8012744
relation P1412
type Q34770
['Q8012744', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q8012744 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
William Hutchinson Norris
action filter_type
action find
entity William Hutchinson Norris
relation languages spoken, written or signed
type language
['William Hutchinson Norris', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:William_Hutchinson_Norris property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q8012744,P1412,c(Q34770))
action filter_type
action find
entity Q8012744
relation P1412
type Q34770
[ANSWER]
['Q8012744', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q8012744 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity William Hutchinson Norris
relation languages spoken, written or signed
type language
['William Hutchinson Norris', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:William_Hutchinson_Norris property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P37
Q34770 Q7275
USER
Which states are max number of languages the official language of ?
(c(Q7275),P37,c(Q34770))
action argmax
action find_tuple_counts
relation P37
type Q7275
type Q34770
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?a ) WHERE { ?h property:P37 ?k . ?h rdf:type ontology:Q7275 . ?k rdf:type ontology:Q34770 } GROUP BY ?h } . FILTER ( ?a = ?s ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?s ) { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?f ) WHERE { ?x rdf:type ontology:Q7275 . ?u rdf:type ontology:Q34770 . ?x property:P37 ?u } GROUP BY ?x } } }
action argmax
action find_tuple_counts
relation official language
type state
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?a ) WHERE { ?h property:official_language ?k . ?h rdf:type ontology:state . ?k rdf:type ontology:language } GROUP BY ?h } . FILTER ( ?a = ?s ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?s ) { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?f ) WHERE { ?x rdf:type ontology:state . ?u rdf:type ontology:language . ?x property:official_language ?u } GROUP BY ?x } } }
[]
language state
Q49683 Q947153 Q172107
SYSTEM
Grand Duchy of Lithuania, Kingdom of Tavolara, Polish–Lithuanian Commonwealth
Q1194329 Q947153 Q172107 Q4948 Q19801186 Q49683
(c(Q7275),P37,c(Q34770))
action argmax
action find_tuple_counts
relation P37
type Q7275
type Q34770
[ANSWERS] are max number of languages the official language of
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?a ) WHERE { ?h property:P37 ?k . ?h rdf:type ontology:Q7275 . ?k rdf:type ontology:Q34770 } GROUP BY ?h } . FILTER ( ?a = ?s ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?s ) { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?f ) WHERE { ?x rdf:type ontology:Q7275 . ?u rdf:type ontology:Q34770 . ?x property:P37 ?u } GROUP BY ?x } } }
Nova Roma Kingdom of Tavolara Polish–Lithuanian Commonwealth Republic of Venice Liberland Grand Duchy of Lithuania
Grand Duchy of Lithuania, Kingdom of Tavolara and Polish–Lithuanian Commonwealth are max number of languages the official language of
Grand Duchy of Lithuania Kingdom of Tavolara Polish–Lithuanian Commonwealth
action argmax
action find_tuple_counts
relation official language
type state
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?a ) WHERE { ?h property:official_language ?k . ?h rdf:type ontology:state . ?k rdf:type ontology:language } GROUP BY ?h } . FILTER ( ?a = ?s ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?s ) { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?f ) WHERE { ?x rdf:type ontology:state . ?u rdf:type ontology:language . ?x property:official_language ?u } GROUP BY ?x } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q49683 Q947153 Q172107
P27
Q502895
USER
Who are a citizen of those states ?
(c(Q502895),P27,Q49683) (c(Q502895),P27,Q947153) (c(Q502895),P27,Q172107)
action filter_type
action find_reverse
entity prev_answer
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q49683'] [{'concept': 'Q502895'}, 'P27', 'Q947153'] [{'concept': 'Q502895'}, 'P27', 'Q172107']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q1194329 ) ( resource:Q947153 ) ( resource:Q172107 ) } . ?h rdf:type ontology:Q502895 . ?h property:P27 ?z }
Grand Duchy of Lithuania Kingdom of Tavolara Polish–Lithuanian Commonwealth
action filter_type
action find_reverse
entity prev_answer
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Grand Duchy of Lithuania'] [{'concept': 'common name'}, 'country of citizenship', 'Kingdom of Tavolara'] [{'concept': 'common name'}, 'country of citizenship', 'Polish–Lithuanian Commonwealth']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Nova_Roma ) ( resource:Kingdom_of_Tavolara ) ( resource:Polish–Lithuanian_Commonwealth ) } . ?h rdf:type ontology:common_name . ?h property:country_of_citizenship ?z }
[]
common name
Q453523 Q336754 Q54019
SYSTEM
Stanisław Żółkiewski, Algirdas, Stanisław August Poniatowski
Q3647198 Q2672476 Q557916 Q2976294 Q4118891 Q4539912 Q3123862 Q68574 Q2362751 Q372038 Q36742 Q2071963 Q3918314 Q4539906 Q4281644 Q6375206 Q2978619 Q4281651 Q4281655 Q3692378 Q2478363 Q76260 Q76262 Q3920834 Q76404 Q2985042 Q2362764 Q3647204 Q2365871 Q336754 Q3917944 Q2559801 Q2669826 Q33645 Q3646489 Q3917954 Q3917956 Q3917958 Q4241436 Q2576578 Q4387251 Q2073425 Q338487 Q4383543 Q4464257 Q4394264 Q287906 Q2663682 Q86668 Q86664 Q1618122 Q4394258 Q3917932 Q707154 Q4405451 Q4380818 Q2388431 Q2669817 Q33619 Q4149621 Q2662397 Q3917906 Q355884 Q590280 Q607320 Q127345 Q2721092 Q3917915 Q3917917 Q3917913 Q2978612 Q2474713 Q3918320 Q3917366 Q983777 Q33038 Q392792 Q2978607 Q1354652 Q3917375 Q540840 Q607941 Q596431 Q4168952 Q3917297 Q3917292 Q3917290 Q3917291 Q2607520 Q2607526 Q53459 Q2590383 Q4094821 Q4439384 Q4439387 Q1354678 Q1764017 Q3646997 Q3917282 Q33004 Q3918243 Q1715076 Q435320 Q80221 Q2583019 Q2582962 Q655400 Q950299 Q33071 Q2584679 Q2666631 Q3917484 Q2616838 Q54049 Q2583008 Q4477306 Q4224138 Q3646440 Q2614767 Q54058 Q54054 Q54053 Q11767666 Q4391814 Q2506397 Q4121205 Q4177671 Q185324 Q185322 Q3917899 Q3917892 Q975196 Q2470628 Q99175 Q3944631 Q4515219 Q2582933 Q2982824 Q3079473 Q3646454 Q983715 Q2607497 Q2982838 Q4209891 Q2467283 Q561626 Q2626598 Q2618994 Q3917222 Q3917220 Q3495292 Q262257 Q3646469 Q45476 Q233989 Q700724 Q4404087 Q168171 Q3917477 Q3917474 Q3917219 Q3646471 Q762725 Q2657145 Q4387115 Q3917464 Q3647410 Q3647012 Q172716 Q312057 Q2607440 Q711149 Q4230777 Q4230773 Q68770 Q1471086 Q3920112 Q3920114 Q3647004 Q2630609 Q700779 Q3136526 Q3917269 Q3493732 Q941595 Q172731 Q3919790 Q2621664 Q1682235 Q982015 Q2976539 Q727122 Q2628160 Q523308 Q4101567 Q3492460 Q559765 Q3917423 Q4408059 Q3917244 Q3917240 Q561414 Q968484 Q3692419 Q2669571 Q958111 Q118882 Q11766641 Q1021214 Q33515 Q33517 Q1397779 Q242436 Q86598 Q86595 Q957176 Q1288242 Q3646938 Q33520 Q3918188 Q52940 Q556421 Q4236202 Q4714969 Q2584741 Q609575 Q2619001 Q2636020 Q2614790 Q920470 Q694375 Q2479034 Q41414 Q2454796 Q3646778 Q4244041 Q3318384 Q2607534 Q3646572 Q4189213 Q2663707 Q3917863 Q3918275 Q3918270 Q3918273 Q3495308 Q1398038 Q3646564 Q3918914 Q11766622 Q3646796 Q2587802 Q46329 Q2337232 Q2659541 Q2616833 Q3646540 Q723304 Q595685 Q279359 Q2467381 Q2984199 Q3917749 Q741990 Q1376667 Q4305627 Q709977 Q5768523 Q2638879 Q3917752 Q3917754 Q1376676 Q3918139 Q3505401 Q3646885 Q2656534 Q4504494 Q3917761 Q25776 Q941494 Q2636385 Q329898 Q3917941 Q4150382 Q41437 Q3493403 Q4185790 Q975749 Q2656516 Q26479 Q11767814 Q177901 Q2568002 Q2636360 Q246873 Q1279302 Q723365 Q2635694 Q3272782 Q2991218 Q3918174 Q976045 Q4118770 Q2588930 Q434852 Q2350317 Q2566534 Q3918169 Q3493432 Q3493435 Q442592 Q3646859 Q2590352 Q58426 Q58424 Q3919199 Q2562871 Q1545072 Q4289406 Q936342 Q3918299 Q3646875 Q2315627 Q705915 Q4074407 Q767905 Q9376644 Q3646809 Q634391 Q2635642 Q650307 Q233775 Q4118920 Q442621 Q4316941 Q177845 Q3920697 Q3920691 Q3646600 Q2335797 Q3646827 Q647472 Q3919162 Q3919168 Q4025059 Q77424 Q3272778 Q3272775 Q2395515 Q3919170 Q26611 Q36801 Q2984149 Q2984144 Q4118766 Q722761 Q13033464 Q1376763 Q53454 Q53452 Q53450 Q3492050 Q3492056 Q3492632 Q3064336 Q26474 Q26477 Q941634 Q635015 Q245322 Q561662 Q118029 Q3492621 Q2360239 Q2596927 Q958680 Q561031 Q244852 Q3919522 Q2618644 Q2813867 Q525700 Q3919537 Q4374922 Q1550818 Q2987284 Q278076 Q3318347 Q355869 Q26481 Q58428 Q3647224 Q118132 Q1392324 Q3492660 Q2614784 Q453523 Q2587782 Q3918628 Q218186 Q240113 Q2587607 Q3920257 Q4392223 Q53437 Q2470469 Q1527525 Q2993794 Q3918234 Q2624068 Q3918634 Q3918630 Q3918632 Q12658854 Q1387766 Q3646507 Q3492647 Q2060128 Q3918245 Q3918247 Q2347194 Q46217 Q2453437 Q471723 Q3918257 Q3918252 Q26484 Q941585 Q1394093 Q4191462 Q1354579 Q2668881 Q3919279 Q3918266 Q4142836 Q4142835 Q668376 Q4539293 Q4321462 Q4321464 Q2976306 Q2601201 Q211247 Q1392402 Q350504 Q2596865 Q3545941 Q2614147 Q46222 Q2626847 Q2607550 Q3814180 Q185319 Q78022 Q3918283 Q3918285 Q3646915 Q3918545 Q712444 Q3814198 Q3273286 Q2387297 Q4191454 Q4191458 Q963769 Q704506 Q3646906 Q2365908 Q4321254 Q3919816 Q2084475 Q712463 Q4321244 Q386484 Q627106 Q2559763 Q2086074 Q3269492 Q3917691 Q967015 Q2616770 Q2616777 Q3919029 Q3919028 Q3919022 Q3919021 Q4452045 Q766126 Q2355841 Q741711 Q2492723 Q33119 Q2478335 Q3919012 Q3919013 Q3919016 Q19831439 Q19831437 Q19831432 Q19831457 Q19831452 Q19831445 Q19831449 Q3956889 Q2030814 Q472619 Q191479 Q1373002 Q327970 Q595432 Q9168144 Q2365871 Q11765382 Q5307863 Q7412533 Q5217592 Q64121 Q1354652 Q561635 Q4400306 Q54041 Q822741 Q923598 Q4527803 Q54019 Q11730469 Q2479042 Q4714971 Q5016783 Q472464 Q2390259 Q1808445 Q3493425 Q3919193 Q3919199 Q647472 Q65219 Q616012 Q2618644 Q4527630 Q381373 Q3547 Q2090424 Q3917646 Q2347194 Q3820829
(c(Q502895),P27,Q49683) (c(Q502895),P27,Q947153) (c(Q502895),P27,Q172107)
action filter_type
action find_reverse
entity prev_answer
relation P27
type Q502895
A citizen of those states are [ANSWERS]
[{'concept': 'Q502895'}, 'P27', 'Q49683'] [{'concept': 'Q502895'}, 'P27', 'Q947153'] [{'concept': 'Q502895'}, 'P27', 'Q172107']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q1194329 ) ( resource:Q947153 ) ( resource:Q172107 ) } . ?h rdf:type ontology:Q502895 . ?h property:P27 ?z }
Jan Jerzy Radziwiłł Janusz Tyszkiewicz Łohojski Jaunutis Rafajil Korsak Kazimierz Michał Pac Zygmunt Wiktor Denhoff Józef Kossakowski Mikołaj Hlebowicz Stefan Zbaraski Józef Naronowicz-Naroński Ignacy Potocki Jerzy Karol Hlebowicz Mikołaj Krzysztof Sapieha Bogusław Ernest Denhoff Jan Zenowicz Katarzyna Karolina Radziwiłł Hieronim Chodkiewicz Krzysztof Zenowicz Stanisław Zenowicz Józef Zabiełło Ostafi Wołłowicz Lew Sapieha Fryderyk Sapieha Jan Janowicz Hlebowicz Mikołaj Sapieha Dominik Mikołaj Radziwiłł Stanisław Bonifacy Jundziłł Paweł Stefan Sapieha Albert Wijuk Kojałowicz Algirdas Józef Adrian Massalski Tomasz Makowski Janusz Kiszka Albrecht Radziwiłł Udalryk Krzysztof Radziwiłł Stanisław Białłozor Krzysztof Drucki-Sokoliński Wiktoryn Konstanty Mleczko Jerzy Hieronim Kryszpin-Kirszensztein Mikalojus Radvila the Old Michael Anthony Radziwill Adam Kisiel Stanislovas Rapalionis Ilia Ostrogski Franciszek Ksawery Chomiński Stanisław Mateusz Rzewuski Hieronim Wincenty Radziwiłł Josyf Veliamyn Rutsky Albrecht Ciechanowiecki Jan Sebastian Kęsztort Konstantinas Sirvydas Adam Wawrzyniec Rzewuski Bogusław Aleksander Uniechowski Leon Michał Radziwiłł Bagdonas Andriejaitis Sakaitis Fryderyk Proński Pyotr Mstislavets Michał Józef Massalski Jan Stanisław Sapieha Karol Hryniewiecki Athanasius of Brest-Litovsk Aleksander Józef Unichowski Josaphat Kuntsevych Jan Hieronim Kryszpin-Kirszensztein Karol Józef Sedlnicki Hugo Kołłątaj Michał Hieronim Radziwiłł Dominik Michał Słuszka Jan Stefan Tyzenhauz Kazimierz Konstanty Plater Kyprian Zochovskyj Andreas Volanus Michał Franciszek Sapieha Jan Judycki Krzysztof Mikołaj "the Thunderbolt" Radziwiłł Krzysztof Wiesiołowski Švitrigaila Szymon Starowolski Marcin Odlanicki Poczobutt Krzysztof Wołodkowicz Jan Karol Chodkiewicz Stanisław Jerzy Ogiński Mykolas Kęsgaila the Younger Jan Drucki-Sokoliński Grzegorz IV Jan Krzysztof Zawisza Dowgiałło Wojciech Radziwiłł Mikołaj VII Radziwiłł Janusz Antoni Wiśniowiecki Wasyl Tyszkiewicz Casimir IV Jagiellon Iwan Sapieha Michael von der Borch-Lubeschütz Stanislovas Sakas Stanislav Czupurna Meletius Smotrytsky Józef Kajetan Ossoliński Karol Józef Sapieha Dymitr Chalecki Nikolai Talvash Aleksander Dadźbóg Sapieha Józef Baka Francysk Skaryna Kazimierz Frąckiewicz Radzimiński Jozef Korsak Glubotsky Konstanty Ludwik Plater Jan Juriewicz Hlebowicz scripting Michał Jerzy Mniszech Matthias of Trakai Jan Kiszka Szymon Zabiełło Jan Mikołaj Radziwiłł Jogaila Filon Kmita Stanisław Ursyn Niemcewicz Maciej Kłoczko Jan Karol Kopeć Ivan Bogdanovich Sapieha Sigismund II Augustus Władysław IV Vasa Władysław III of Poland Marcin Kurcz Jan Karol Dolski Stanisław "Rewera" Potocki Antoni Erazm Wołłowicz Tadeusz Żaba Szymon Syruć Józef Antoni Sołłohub Hrehory Drucki-Horski Stanisław Białłozor Tomasz Wawrzecki Spiridon Sobol Ernest Denhoff Jan Potocki Marcin Czechowic Jan Abramowicz Albertas Manvydas Pius Tyszkiewicz Mikołaj Krzysztof Chalecki Krzysztof Radziwiłł Jan Moniwidowicz Jerzy Pac Walenty Aleksander Kalinowski Aleksander Korwin Gosiewski Maciej Stryjkowski Mikołaj Potocki Kiprijonas Povilas Brzostowski Bogusław Korwin Gosiewski Jan Samuelowicz Ogiński Teodor Skumin Tyszkiewicz Stanisław Kiszka Szymon Samuel Sanguszko Joachim Chreptowicz Anna Jagiellon Szymon Marcin Kossakowski Melchior Stanisław Sawicki Isaac of Troki Michał Łopot Stanisław Sołtan Krzysztof Kiszka Leon Bazyli Sapieha Semeon Olshanski Albertas Goštautas Jonas Radvanas Adam Chmara Andrew Ignatius Oginski Tomasz Sapieha Michał Kazimierz Kociełł Saint Casimir Stanislovas Goštautas Jan Klemens Branicki Aleksander Koniecpolski Jan Aleksander Koniecpolski Stanisław Hlebowicz Fryderyk Józef Moszyński Ignacy Sapieha Andrzej Stanisław Sapieha Kazimierz Białłozor Antoni Tyzenhaus Michał Fryderyk Czartoryski Paweł Sanguszko Abraham Woyna Konstanty Kazimierz Brzostowski Symon Budny Jan Hajko Gabriel Woyna Narimantas Jan Zamoyski Jakub Wujek Kristinas Astikas Lew Sapieha Tadas Francis Oginski Jan Fryderyk Sapieha Jerzy Białłozor Mikołaj Sapieha Jurgis Matulaitis-Matulevičius Matheus Butrymowicz Piotr Paweł Sapieha Grigory Bogdanovich Volovich Józef Sylwester Sosnowski Ivan Vyhovsky Mikołaj Krzysztof "the Orphan" Radziwiłł Kazimierz Dominik Ogiński Paweł Holszański Andrzej Sapieha Józef Niesiołowski Maksymilian Hilary Ossoliński Wincenty Tyszkiewicz Stanisław Radziwiłł Stanisław Ernest Denhoff Roman Sanguszko Mindaugas Mikołaj Sapieha Krzysztof Ciechanowiecki Mikołaj z Gorzkowa Tomasz Zamoyski Andrzej Sapieha Piotr Veselovsky Eustachy Osafian Jan Tyszkiewicz Sigismund III Vasa Gintaras Grušas Aleksander Kotowicz Aleksander Michał Lubomirski Feliks Kazimierz Potocki Franciszek Bohomolec Stefan Pac Stanisław Jan Jabłonowski Paweł Sapieha Herakliusz Lissowski Bogusław Radziwiłł Władysław Wołłowicz Ludwik Tyszkiewicz Wincenty Korwin Gosiewski Wacław Agryppa Christopher Zawisza Józef Franciszek Sapieha Augustinus Rotundus Salamon Rysinski Janusz Zbaraski Stanislovas Kęsgaila Jan Protasowicz Krzysztof Stefan Sapieha Bonifacy Teofil Pac Mikołaj Pac Jerzy Tyszkiewicz Michał Kazimierz Pac Kazimierz Władysław Sapieha Józef Paulin Sanguszko Maksymilian Brzozowski Jerzy Radziwiłł Franciszek Salezy Potocki Stanisław Poniatowski Paweł Sapieha Walerian Protasewicz Andrzej Benedykt Kłągiewicz Gabriel Hornostaj Gregory Tsamblak Tomasz Aleksandrowicz Vilna Gaon Michał Serwacy Wiśniowiecki Krzysztof Chodkiewicz Leonard Gabriel Pociej Paweł Franciszek Sapieha Michał Kazimierz "Rybeńko" Radziwiłł Mikhail Zaslavsky Michał Kleofas Ogiński Albrecht Radziwiłł Andrey Rymsha Michał Brzostowski Piotr Kiszka Karol Stanisław Radziwiłł Nicholas Narushevich Joannis Vislicensis Michał Antoni Sapieha Jan Kazimierz Sapieha the Elder Teodor Denhoff Aleksander Oginski Wladyslaw Jehoshaphat Sapieha Janusz Radziwiłł Merkelis Giedraitis Abraomas Kulvietis Stefan Tyzenhauz Marcin Grocholski Stanisław Antoni Szczuka Andrzej Jastrzębiec Marcin Zamoyski Michael Glinski Ignacy Jakub Massalski Francis Cetner Marcin Strawiński Marcin Matuszewicz Ludwik Pociej Wasyl Ciapiński Mečislovas Reinys Stanisław Dowojno Kacper Kazimierz Cieciszowski Mikołaj II Radziwiłł Kazimierz Czartoryski Paweł Jan Sapieha Stanislovas Kiška II Kazimierz Siemienowicz Paweł Pac Ipatii Potii Jan Mikołaj Chodkiewicz Michał Drucki-Sokoliński Franciszka Urszula Radziwiłłowa Alexander Narushevich Zygmunt Karol Radziwiłł Hieronim Wołłowicz Kasper Doenhoff Stanisław Ferdynand Rzewuski Ignace Oginski Jan Karol Wandalin Mniszech Józef Wandalin Mniszech Krzysztof Stanisław Zawisza Stanisław Kiszka Grzegorz Antoni Ogiński Mikołaj Mielecki Stanisław Lubomirski (1704–1793) Mikołaj Stefan Pac Alexandre Christopher Narushevich Albrycht Stanisław Radziwiłł Michał Jan Zienkowicz Jakub Babicz Dawid Buczacki Wojciech Janowicz Kłoczko Paweł Ksawery Brzostowski Bolesław Hieronim Kłopotowski Martynas Goštautas Aleksander Hilary Połubiński Cecilia Renata of Austria Dominik Pac Ernst Magnus Dönhoff Andrzej Niemirowicz Marcjan Dominik Wołłowicz Stanisław Radziwiłł Jerzy Chodkiewicz Aleksander Słuszka Sunigajło Krzysztof Dorohostajski Alexander Guagnini Ignacy Aniceta Zawisza Kieżgajło Mikołaj Tadeusz Łopaciński Zygmunt Gonzaga Myszkowski Jacob Heinrich von Flemming Aleksander Ludwik Radziwiłł Janusz Aleksander Sanguszko Hieronim Stroynowski Marcjan Tryzna Józef Aleksander Jabłonowski Władysław Gurowski Janusz Skumin Tyszkiewicz Jan Hieronimowicz Chodkiewicz Feliks Pac Dymitr Samuel Połubiński Shimon Drutsk-Lyubetsky Mikołaj Hussowczyk John III Sobieski John II Casimir Vasa Alexander Jagiellon Józef Mikołaj Radziwiłł Aleksander Chodkiewicz Albrycht Władysław Radziwiłł Szymon Marcin Kozłowski George Chreptowicz Stanislaw Kazimierz Radziwill Jerzy Radziwiłł Mikołaj Abramowicz Zygmunt Denhoff Janusz Radziwiłł Józef Judycki Jan Radziwiłł Philip Obukhovich Aleksander Zasławski Samuel Kmicic Stefan Czarniecki Gediminas Wojciech Tabor Jerzy Zbaraski Erazm Ciołek Georg Detlev von Flemming Benedykt Woyna Jakub Potocki Piotr of Goniądz Marcjan Aleksander Ogiński Piotr Pac Joachim Karol Potocki Kęstutis Peter Dorohostajski Jerzy August Mniszech Jan Antoni Chrapowicki Mikołaj Judycki Michał Kazimierz Radziwiłł Hieronim Florian Radziwiłł Mikołaj Sapieha Stanisław Żółkiewski Stanisław Lanckoroński Hieronim Władysław Sanguszko Vytautas Marie Casimire Louise de La Grange d'Arquien Ivan Chodkiewicz Antoni Kazimierz Sapieha Mikalojus Pranciškus Oginskis Augustus II the Strong Konstanty Wasyl Ostrogski Krzysztof Zygmunt Pac Dmytro Vyshnevetsky Franciszek Stefan Sapieha Jan Zabrzeziński Bohdan Sapieha Józef Scipio del Campo Samuel Pac Jurgis Vytautaitis Vykintas Jerzy Stanisław Sapieha Maciej Radziwiłł Andrzej Potocki Kazimierz Tyszkiewicz Benedykt Paweł Sapieha Mikołaj Kiszka Stanisław Poniatowski Jan Kazimierz Sapieha the Younger Maciej Kazimierz Sarbiewski Mikołaj Pac Stanisław Pac James Theodore Kuncewicz Mikołaj "the Red" Radziwiłł Stanisław Lubomirski Krzysztof Zenowicz Kazimierz Leon Sapieha Anna, Grand Duchess of Lithuania Andrzej Wołłowicz Maciej Kawęczyński Tatiana Olshanski Maria Olshansky Samuel Łaszcz Mariusz Stanisław Jaskólski Gregory Volovich André Volovich Jonas Goštautas Stefan Chmielecki Laŭrencij Zizanij Jerzy Radziwiłł Adam Naruszewicz Alekna Sudimantaitis Abraham Ezofowicz Florian Hrebnicki Marcjan Michał Ogiński Józef Potocki Aleksander Michał Sapieha Stefan Potocki Samuel Osiński Bernard Prettwicz Aleksander Paweł Sapieha Jan Sosnowski Jan Kazimierz Kierdej Michał Haraburda Konstanty Ostrogski Dominik Aleksander Kazanowski Jan Radziwiłł Stanisław Bohusz Siestrzeńcewicz Mikołaj Bogusław Zenowicz Jerzy Zenowicz Giorgio Biandrata Michał Kazimierz Ogiński Michał Józef Sapieha Jozafat Bułhak Paul Volovich Jan Andruszewicz Gregory II Bulgarian Piotr Skarga Jan Kazimierz Wołłowicz Karol Stanisław "Panie Kochanku" Radziwiłł Motiejus Valančius John Jagiellon Leoncjusz Stanisław Herakliusz Lubomirski Michael Hieronim Brzostowski Mikołaj "the Black" Radziwiłł Marcin Mikołaj Radziwiłł Mikołaj Faustyn Radziwiłł Stanislav Pavlovitch Narushevich Christopher Narushevich Andrius Goštautas Paweł Naruszewicz Jan Tarło Józef Kossakowski Jan Michał Sołłohub Franciszek Dołmat Isajkowski Martinus Smiglecius Józef Bogusław Słuszka Eustache Volovich Ian Narushevich Stanislas Christopher Narushevich Nicholas Yang Narushevich Carlo I Bertoleoni Paolo I Bertoleoni Giuseppe Bertoleoni Tonino Bertoleoni Carlo II Bertoleoni Mariangela Bertoleoni Paolo II Bertoleoni Jan Ostroróg Mykhailo Doroshenko Shabbatai ha-Kohen Tadeusz Kościuszko Ivan Vyshenskyi Ivan Uzhevych Vasiliy Kukolnik Beata Kościelecka Albert Wijuk Kojałowicz Maciej Głoskowski Jozef Bzhestovsky Samuel Różycki Teofila Zofia Sobieska Nathanael Matthaeus von Wolf Marcin Odlanicki Poczobutt Symeon of Polotsk Salomée Halpir Michał Korybut Wiśniowiecki Wincenty Niemojowski Oleksa Dovbush Iosyf Shumliansky Stanisław August Poniatowski Józef Kalasanty Dzieduszycki Thomas Zebrowski Aleksander Mycielski Stanislas Brzostowski Andrew Báthory Abraham Firkovich Laurynas Gucevičius Antin Sielava Antoni Tadeusz Przezdziecki Krzysztof Stanisław Zawisza Alexander Guagnini Jacob Theodor Klein Bernhard Meretyn Jerzy Zbaraski Mykolas Angelas Šulcas Andrey Kurbsky Franciszek Karpiński Antoni Lukianovich Andrzejowski Kyrylo Stavrovetsky Mikołaj Kiszka Heràssym Smotrytskyi
A citizen of those states are Stanisław Żółkiewski, Algirdas and Stanisław August Poniatowski
Stanisław Żółkiewski Algirdas Stanisław August Poniatowski
action filter_type
action find_reverse
entity prev_answer
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Grand Duchy of Lithuania'] [{'concept': 'common name'}, 'country of citizenship', 'Kingdom of Tavolara'] [{'concept': 'common name'}, 'country of citizenship', 'Polish–Lithuanian Commonwealth']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Nova_Roma ) ( resource:Kingdom_of_Tavolara ) ( resource:Polish–Lithuanian_Commonwealth ) } . ?h rdf:type ontology:common_name . ?h property:country_of_citizenship ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49683
P237
Q17335294
USER
Which coat of arms serves as the ensign for Grand Duchy of Lithuania ?
(Q49683,P237,c(Q17335294))
action filter_type
action find
entity Q49683
relation P237
type Q17335294
['Q49683', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q17335294 . resource:Q49683 property:P237 ?c }
Grand Duchy of Lithuania
action filter_type
action find
entity Grand Duchy of Lithuania
relation coat of arms
type flag or coat of arms
['Grand Duchy of Lithuania', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:flag_or_coat_of_arms . resource:Grand_Duchy_of_Lithuania property:coat_of_arms ?c }
[]
flag or coat of arms
Q668988
SYSTEM
Pahonia
Q668988
(Q49683,P237,c(Q17335294))
action filter_type
action find
entity Q49683
relation P237
type Q17335294
[ANSWER] serves as the ensign for Grand Duchy of Lithuania
['Q49683', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q17335294 . resource:Q49683 property:P237 ?c }
Pahonia
Pahonia serves as the ensign for Grand Duchy of Lithuania
Pahonia
action filter_type
action find
entity Grand Duchy of Lithuania
relation coat of arms
type flag or coat of arms
['Grand Duchy of Lithuania', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:flag_or_coat_of_arms . resource:Grand_Duchy_of_Lithuania property:coat_of_arms ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q610909
Q17335294
USER
And what about Poederoijen?
(Q610909,P237,c(Q17335294))
action filter_type
action find
entity Q610909
relation P237
type Q17335294
['Q610909', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q610909 property:P237 ?s . ?s rdf:type ontology:Q17335294 }
Poederoijen
action filter_type
action find
entity Poederoijen
relation coat of arms
type flag or coat of arms
['Poederoijen', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Poederoijen property:coat_of_arms ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q20631490
SYSTEM
coat of arms of Poederoijen
Q20631490
(Q610909,P237,c(Q17335294))
action filter_type
action find
entity Q610909
relation P237
type Q17335294
[ANSWER]
['Q610909', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q610909 property:P237 ?s . ?s rdf:type ontology:Q17335294 }
coat of arms of Poederoijen
coat of arms of Poederoijen
action filter_type
action find
entity Poederoijen
relation coat of arms
type flag or coat of arms
['Poederoijen', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Poederoijen property:coat_of_arms ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20631490 Q55
P17
Q15617994
USER
Is coat of arms of Poederoijen present in Netherlands ?
(Q20631490,P17,Q55)
action is_in
entity Q55
action find
entity Q20631490
relation P17
['Q20631490', 'P17', 'Q55']
ASK WHERE { resource:Q20631490 property:P17 resource:Q55 }
coat of arms of Poederoijen Netherlands
action is_in
entity Netherlands
action find
entity coat of arms of Poederoijen
relation country
['coat of arms of Poederoijen', 'country', 'Netherlands']
ASK WHERE { resource:coat_of_arms_of_Poederoijen property:country resource:Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q20631490,P17,Q55)
action is_in
entity Q55
action find
entity Q20631490
relation P17
[ANSWER]
['Q20631490', 'P17', 'Q55']
ASK WHERE { resource:Q20631490 property:P17 resource:Q55 }
Yes
action is_in
entity Netherlands
action find
entity coat of arms of Poederoijen
relation country
['coat of arms of Poederoijen', 'country', 'Netherlands']
ASK WHERE { resource:coat_of_arms_of_Poederoijen property:country resource:Netherlands }
[]