Simple Question (Direct)
Simple Question
Q5240764
P734
Q82799
USER
Who has the surname David Wagner ?
(Q5240764,P734,c(Q82799))
action filter_type
action find
entity Q5240764
relation P734
type Q82799
['Q5240764', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q5240764 property:P734 ?p }
David Wagner
action filter_type
action find
entity David Wagner
relation family name
type name
['David Wagner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:David_Wagner property:family_name ?p }
[]
name
Q2539239
SYSTEM
Wagner
Q2539239
(Q5240764,P734,c(Q82799))
action filter_type
action find
entity Q5240764
relation P734
type Q82799
In [ANSWER] has the surname David [ANSWER]
['Q5240764', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q5240764 property:P734 ?p }
Wagner
In Wagner has the surname David Wagner
Wagner
action filter_type
action find
entity David Wagner
relation family name
type name
['David Wagner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:David_Wagner property:family_name ?p }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q554929 Q5240764
P27 P17
Q15617994
USER
Which administrative territories are David Wagner an inhabitant of or are Gmina Kraszewice a part of ?
OR((Q5240764,P27,c(Q15617994)), (Q554929,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5240764
relation P27
action find
entity Q554929
relation P17
type Q15617994
{'OR': [['Q5240764', 'P27', {'concept': 'Q15617994'}], ['Q554929', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q5240764 property:P27 ?t } UNION { resource:Q554929 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Gmina Kraszewice David Wagner
action filter_type
action union
action find
entity David Wagner
relation country of citizenship
action find
entity Gmina Kraszewice
relation country
type designation for an administrative territorial entity
{'OR': [['David Wagner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gmina Kraszewice', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:David_Wagner property:country_of_citizenship ?t } UNION { resource:Gmina_Kraszewice property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q36
SYSTEM
United States of America, Poland
Q30 Q36
OR((Q5240764,P27,c(Q15617994)), (Q554929,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5240764
relation P27
action find
entity Q554929
relation P17
type Q15617994
The [ANSWERS] are David Wagner an inhabitant of or are Gmina Kraszewice a part of
{'OR': [['Q5240764', 'P27', {'concept': 'Q15617994'}], ['Q554929', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q5240764 property:P27 ?t } UNION { resource:Q554929 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
United States of America Poland
The United States of America and Poland are David Wagner an inhabitant of or are Gmina Kraszewice a part of
United States of America Poland
action filter_type
action union
action find
entity David Wagner
relation country of citizenship
action find
entity Gmina Kraszewice
relation country
type designation for an administrative territorial entity
{'OR': [['David Wagner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gmina Kraszewice', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:David_Wagner property:country_of_citizenship ?t } UNION { resource:Gmina_Kraszewice property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3647188
P27
Q502895
USER
Are Czesław Zbierański a citizen of those administrative territories ?
(Q3647188,P27,Q30) (Q3647188,P27,Q36)
action is_in
entity prev_answer
action find
entity Q3647188
relation P27
['Q3647188', 'P27', 'Q30'] ['Q3647188', 'P27', 'Q36']
ASK WHERE { resource:Q3647188 property:P27 ?v . VALUES ( ?v ) { ( resource:Q30 ) ( resource:Q36 ) } }
Czesław Zbierański
action is_in
entity prev_answer
action find
entity Czesław Zbierański
relation country of citizenship
['Czesław Zbierański', 'country of citizenship', 'United States of America'] ['Czesław Zbierański', 'country of citizenship', 'Poland']
ASK WHERE { resource:Czesław_Zbierański property:country_of_citizenship ?v . VALUES ( ?v ) { ( resource:United_States_of_America ) ( resource:Poland ) } }
[]
common name
SYSTEM
YES
(Q3647188,P27,Q30) (Q3647188,P27,Q36)
action is_in
entity prev_answer
action find
entity Q3647188
relation P27
[ANSWER]
['Q3647188', 'P27', 'Q30'] ['Q3647188', 'P27', 'Q36']
ASK WHERE { resource:Q3647188 property:P27 ?v . VALUES ( ?v ) { ( resource:Q30 ) ( resource:Q36 ) } }
Yes
action is_in
entity prev_answer
action find
entity Czesław Zbierański
relation country of citizenship
['Czesław Zbierański', 'country of citizenship', 'United States of America'] ['Czesław Zbierański', 'country of citizenship', 'Poland']
ASK WHERE { resource:Czesław_Zbierański property:country_of_citizenship ?v . VALUES ( ?v ) { ( resource:United_States_of_America ) ( resource:Poland ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5240764 Q30
P27
Q15617994
USER
Is David Wagner an inhabitant of United States of America ?
(Q5240764,P27,Q30)
action is_in
entity Q30
action find
entity Q5240764
relation P27
['Q5240764', 'P27', 'Q30']
ASK WHERE { resource:Q5240764 property:P27 resource:Q30 }
David Wagner United States of America
action is_in
entity United States of America
action find
entity David Wagner
relation country of citizenship
['David Wagner', 'country of citizenship', 'United States of America']
ASK WHERE { resource:David_Wagner property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5240764,P27,Q30)
action is_in
entity Q30
action find
entity Q5240764
relation P27
[ANSWER]
['Q5240764', 'P27', 'Q30']
ASK WHERE { resource:Q5240764 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity David Wagner
relation country of citizenship
['David Wagner', 'country of citizenship', 'United States of America']
ASK WHERE { resource:David_Wagner property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q36 Q5965771
P6
Q502895
USER
Is Folke Lundberg the head of government of Poland ?
(Q36,P6,Q5965771)
action is_in
entity Q5965771
action find
entity Q36
relation P6
['Q36', 'P6', 'Q5965771']
ASK WHERE { resource:Q36 property:P6 resource:Q5965771 }
Poland Folke Lundberg
action is_in
entity Folke Lundberg
action find
entity Poland
relation head of government
['Poland', 'head of government', 'Folke Lundberg']
ASK WHERE { resource:Poland property:head_of_government resource:Folke_Lundberg }
[]
common name
SYSTEM
NO
(Q36,P6,Q5965771)
action is_in
entity Q5965771
action find
entity Q36
relation P6
[ANSWER]
['Q36', 'P6', 'Q5965771']
ASK WHERE { resource:Q36 property:P6 resource:Q5965771 }
No
action is_in
entity Folke Lundberg
action find
entity Poland
relation head of government
['Poland', 'head of government', 'Folke Lundberg']
ASK WHERE { resource:Poland property:head_of_government resource:Folke_Lundberg }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5240764 Q6500009
P27
Q15617994
USER
Is Laurel School District the native country of David Wagner ?
(Q5240764,P27,Q6500009)
action is_in
entity Q6500009
action find
entity Q5240764
relation P27
['Q5240764', 'P27', 'Q6500009']
ASK WHERE { resource:Q5240764 property:P27 resource:Q6500009 }
David Wagner Laurel School District
action is_in
entity Laurel School District
action find
entity David Wagner
relation country of citizenship
['David Wagner', 'country of citizenship', 'Laurel School District']
ASK WHERE { resource:David_Wagner property:country_of_citizenship resource:Laurel_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5240764,P27,Q6500009)
action is_in
entity Q6500009
action find
entity Q5240764
relation P27
[ANSWER]
['Q5240764', 'P27', 'Q6500009']
ASK WHERE { resource:Q5240764 property:P27 resource:Q6500009 }
No
action is_in
entity Laurel School District
action find
entity David Wagner
relation country of citizenship
['David Wagner', 'country of citizenship', 'Laurel School District']
ASK WHERE { resource:David_Wagner property:country_of_citizenship resource:Laurel_School_District }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q142 Q36
P27
Q502895
USER
Which people are a native of Poland and France ?
AND((c(Q502895),P27,Q36), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q36
relation P27
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q36'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?l WHERE { ?l property:P27 resource:Q36 . ?l property:P27 resource:Q142 . ?l rdf:type ontology:Q502895 }
France Poland
action filter_type
action intersection
action find_reverse
entity Poland
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Poland'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?l WHERE { ?l property:country_of_citizenship resource:Poland . ?l property:country_of_citizenship resource:France . ?l rdf:type ontology:common_name }
[]
common name
Q3575685 Q1346233 Q722365 Q591185 Q2732848 Q1362326 Q3262668 Q7504 Q573352 Q371639
SYSTEM
Some of them are Zofia Bobowicz, Stefan Dembicki, Benjamin Jekhowsky, Leopold Gottlieb, Jacek Prentki, Jerzy Semkow, Ludwik Mateusz Dembowski, Irène Joliot-Curie, Serge Silberman, Jacques Bergier
Q177595 Q3336724 Q2326420 Q961048 Q471078 Q2941056 Q1445784 Q517622 Q153178 Q17522711 Q15438426 Q2960258 Q558234 Q1346343 Q451015 Q651253 Q3174711 Q3373192 Q2857074 Q3291539 Q2926758 Q21711007 Q16865743 Q3183502 Q3438673 Q11790082 Q3576394 Q1686005 Q101740 Q3102788 Q707676 Q573882 Q710332 Q719993 Q27078052 Q3496672 Q966373 Q3417236 Q2833287 Q1268 Q3081697 Q21532877 Q1508989 Q2823996 Q897801 Q4427460 Q158027 Q2377655 Q429722 Q3174190 Q3198784 Q154382 Q2303960 Q442674 Q2863468 Q640135 Q695530 Q2820031 Q475920 Q1949264 Q981423 Q17254565 Q888263 Q3085652 Q1362326 Q3056207 Q462891 Q768905 Q1389990 Q3205073 Q3200058 Q18043615 Q3261875 Q3473380 Q3815624 Q3185192 Q507964 Q274444 Q16292954 Q1238282 Q4231144 Q1150773 Q3569170 Q928729 Q3340382 Q11738229 Q2778228 Q3373197 Q3171908 Q3813119 Q993724 Q9178417 Q313062 Q231674 Q720471 Q1566769 Q3591360 Q3812424 Q17522669 Q219842 Q23692149 Q1347683 Q21403450 Q3430938 Q957078 Q372013 Q3293882 Q2461640 Q2995018 Q3293884 Q3133229 Q11749635 Q12403991 Q935738 Q56705 Q1351431 Q3161711 Q1915 Q3340968 Q1346233 Q3190772 Q3575685 Q331856 Q3047950 Q17551489 Q9341903 Q20723537 Q21993997 Q652931 Q710013 Q1618688 Q1607477 Q380443 Q1285841 Q130031 Q573167 Q19629400 Q23931614 Q654181 Q1365192 Q2390730 Q3473420 Q1382288 Q3266280 Q550218 Q2741209 Q2662619 Q638775 Q571323 Q443334 Q3569606 Q281812 Q1996265 Q3484387 Q442705 Q3051975 Q4425741 Q221481 Q273571 Q1064099 Q613864 Q1265482 Q17301196 Q325925 Q1509080 Q3103269 Q2331466 Q708648 Q431256 Q3470535 Q3502148 Q3164039 Q3017942 Q2908637 Q378572 Q3569517 Q2779162 Q3189107 Q16236515 Q2833307 Q16266420 Q3388959 Q51552 Q2741723 Q214338 Q9253557 Q2836586 Q561422 Q20668483 Q180276 Q1748419 Q2846996 Q3215942 Q211547 Q674936 Q3436374 Q3569565 Q5362676 Q3177555 Q3569562 Q1047487 Q3300785 Q1148285 Q257251 Q1986497 Q18015069 Q658392 Q2850450 Q9154537 Q820342 Q964973 Q540601 Q1379149 Q367686 Q1341970 Q596841 Q679167 Q3173381 Q3291058 Q245355 Q3173928 Q509655 Q3103204 Q319707 Q123118 Q3631231 Q7186 Q3262921 Q2484614 Q371639 Q11698599 Q272222 Q435375 Q3123694 Q203674 Q2034872 Q27021219 Q2732848 Q605822 Q941569 Q17600497 Q23419084 Q445037 Q516985 Q428311 Q3262668 Q924545 Q958377 Q274470 Q274350 Q1380152 Q3271005 Q531199 Q3373185 Q1385699 Q3185396 Q3528571 Q442032 Q577879 Q286232 Q7504 Q591185 Q15970950 Q722365 Q598388 Q1396331 Q367769 Q573352 Q3436082 Q606151 Q2749624 Q161135 Q2965654
AND((c(Q502895),P27,Q36), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q36
relation P27
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWERS] are a native of Poland and France
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q36'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?l WHERE { ?l property:P27 resource:Q36 . ?l property:P27 resource:Q142 . ?l rdf:type ontology:Q502895 }
Timothée Kolodziejczak Nathan Grunsweigh Grégory Malicki Jean Graczyk Teddy Da Costa Casimir Koza Jacques Faitlovitch Mela Muter Georges Charpak Isabelle Jannès-Kalinowski Ludwig Klimek Charles Sterling Piotr Słonimski Louis Marcoussis Roman Opałka Nicolas Chopin Jean Swiatek Jan Paweł Jerzmanowski Antoni Jankowski Marie-Antoinette Lix Bruno Elkouken Alina Piechowska Constantin Linowski Jonathan Wisniewski Roger Barlet Nathalie Bolgert Zygmund Schreter Jeanloup Sieff Benoit Mandelbrot Georges Goldkorn Louis Wolowski Jonathan Eybeschutz Jean Templin François Arveuf Agnieszka Grudzińska Stanislas Golinski René Leibowitz Rafael Lewandowski Alexandra Kwiatkowska-Viatteau Frédéric Chopin Francis Smerecki Zbigniew Krasniak Georges Lech Adam Rayski Guillaume Warmuz Michał Sokolnicki Jan Henryk Dąbrowski Volodymyr Kubiyovych Joseph Epstein Jan Kwiryn de Mieszkowski Konstanty Jeleński Józef Poniatowski Sylvain Legwinski Henri Skiba Aron Haber Beron Simon Zimny August Czartoryski Aaron Cel Simon Laks Moshe Lewin Dirk van Hogendorp Kamil Barbarski Wincenty Krasiński Jean-Christophe Devaux Jerzy Semkow Wincenty Aksamitowski Dorota Tlałka-Mogore Anna Smolar Robert Siatka Maurice Mendjizky Krzysztof Pytel Pierre Choumoff Louis Faury Sarah Lipska Józef Miączyński Józef Benedykt Łączyński James Louis Sobieski Édouard Stako Jan Krauze Dominique-Joseph Odry Jan Konopka César Ruminski Willy Mucha Simon Segal Nicolas Grospierre Casimir Pierre Zaleski Johnny Szlykowicz Paweł Jocz Jean Dybowski Karolina Piotrkiewicz Bruno Rodzik Bożena Pytel Joseph Babinski Marie Leszczyńska Szolem Mandelbrojt Hélène Kro Éric Sikora Kadmi Cohen Kinga Miodońska-Joucaviel André Citroën Rosette Wolczak Yannick Stopyra Barbara Kuszmider Richard Krawczyk Igor Mitoraj Tomasz Gruszczyński Mariusz Hermanowicz César Povolny Constantin Rozanoff Mariusz Sordyl Henryk Ignacy Kamieński Krzysztof Pruszkowski Alexandre Glasberg Henri Burda Aleksander Chodźko Léon Glovacki Jan Kozietulski Laurent Koscielny Nicholas of Poland Stefan Dembicki Jérémy Sopalski Zofia Bobowicz Józef Maria Hoene-Wroński Edmond Novicki Marzena Wilkanowicz-Devoud Stanislas Fiszer Robert Najberg Michel Viatteau Bernard Margueritte Ladislas Starevich Pierre Ricaud de Tirregaille Henryk Hayden Alain Finkielkraut Guillaume Le Vasseur de Beauplan Marzena Sowa Piotr Kowalski Zdzisław Milner Paul Chytelman Rudolph Loewenstein Stéphane Da Costa Pierre Mankowski Sarah Pitkowski-Malcor Georges Bereta Ludwik Leibler Alexandre Tansman Téodor de Wyzewa Krzysztof Pomian Eugène Minkowski Dezydery Chłapowski Małgorzata Tlałka-Mogore Wojciech Siudmak Moïse Kisling Antoine de Paris Simon Mondzain Louis Mékarski Emanuel Mink Karolina Sobańska Anna Prucnal Sylwia Korzeniowska Charles Denner Bruno Zboralski Ignace Kowalczyk Beata de Robien Balthus Georges Spiro Georges Nomarski Paul Merwart Martin Gray Gabriel Da Costa Sam Ringer Stephane du Chateau Jean-Baptiste Dubois de Jancigny David Garfinkiel Bogdan Konopka Charles François Dumouriez Witold Januszewski Władysław Mickiewicz Julian Sierawski Léopold Kretz Alexandra Nice Koukou Chanska Piotr Kamler Roman Polanski Waldemar Kita Michel Schwalbé Emil Szafrański Alice Halicka Shelomo Selinger Jadwiga H. Dąbrowska Pascal Cygan Kinga Maculewicz Tomasz Łubieński Władysław Folkierski Damien Perquis Robert Budzynski Robert Szczepaniak Władysław Franciszek Jabłonowski Elizabeth Debicki Jerzy Waldemar Jarociński Wladislaw Kowalski Kazimierz Jerzy Oberfeld Maurice Fingercwajg Cyprian Godebski Ludovic Obraniak Nicolas Besch Lohann Ratajczyk Jacques Rossi Anna Alter Angelika Markul Henri Epstein Maryan Wisnieski Joseph Jadrejak Louis Archinard Éric Srecki Ludwik Michał Pac Alexis Zywiecki Adam Styka Jean Marczewski Maria Szurek-Wisti Zygmunt Krasiński Jan Mirosław Peszke Roger Walkowiak Georges Mink David Olère Raymond Kopa Anna Rajecka Marie Curie Louis Pierre Edouard, Baron Bignon Emile Eisman-Semenowsky Jacques Bergier François Chapeville Bella Darvi Count Alexandre Joseph Colonna-Walewski Géraldine Robert Pierre Klossowski Stéphane Bruey Casimir Piekarec Jacek Prentki Józef Feliks Łazowski Jean-Pierre Norblin de La Gourdaine Mateusz Żuławski Adrianna Książek Jean Stablinski Antoine Sibierski Józef Zajączek Ludwik Mateusz Dembowski Jean de Reszke Karol Kniaziewicz Édouard Wawrzyniak Édouard Kargu Guillaume Bieganski Léon Goldberg Erich Klossowski Pawel Kryske Michel Jazy Józef Mélèze-Modrzejewski Tim Marcel Rayman Józef Chłopicki Émile Meyerson Irène Joliot-Curie Leopold Gottlieb Elzbieta Benjamin Jekhowsky Jozef Michal Poniatowski Frédéric Michalak Romain Zaleski Serge Silberman Robert Pikelny Stanislaus Sittenfeld Roland Mitoraj Savielly Tartakower Christian Swierczinski
Zofia Bobowicz, Stefan Dembicki, Benjamin Jekhowsky, Leopold Gottlieb, Jacek Prentki, Jerzy Semkow, Ludwik Mateusz Dembowski, Irène Joliot-Curie, Serge Silberman and Jacques Bergier are a native of Poland and France
Zofia Bobowicz Stefan Dembicki Benjamin Jekhowsky Leopold Gottlieb Jacek Prentki Jerzy Semkow Ludwik Mateusz Dembowski Irène Joliot-Curie Serge Silberman Jacques Bergier
action filter_type
action intersection
action find_reverse
entity Poland
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Poland'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?l WHERE { ?l property:country_of_citizenship resource:Poland . ?l property:country_of_citizenship resource:France . ?l rdf:type ontology:common_name }
[]