Simple Question (Direct)
Simple Question
Q1296480
P21
Q290
USER
Which sex does Efraim Liljequist belong to ?
(Q1296480,P21,c(Q290))
action filter_type
action find
entity Q1296480
relation P21
type Q290
['Q1296480', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1296480 property:P21 ?q . ?q rdf:type ontology:Q290 }
Efraim Liljequist
action filter_type
action find
entity Efraim Liljequist
relation gender
type sex
['Efraim Liljequist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Efraim_Liljequist property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1296480,P21,c(Q290))
action filter_type
action find
entity Q1296480
relation P21
type Q290
Efraim Liljequist belongs to [ANSWER]
['Q1296480', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1296480 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Efraim Liljequist belongs to male
male
action filter_type
action find
entity Efraim Liljequist
relation gender
type sex
['Efraim Liljequist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Efraim_Liljequist property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1296480
P20
Q15700808
USER
Which urban unit definition is the place of death of Efraim Liljequist ?
(Q1296480,P20,c(Q15700808))
action filter_type
action find
entity Q1296480
relation P20
type Q15700808
['Q1296480', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?e WHERE { resource:Q1296480 property:P20 ?e . ?e rdf:type ontology:Q15700808 }
Efraim Liljequist
action filter_type
action find
entity Efraim Liljequist
relation place of death
type urban unit definition
['Efraim Liljequist', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?e WHERE { resource:Efraim_Liljequist property:place_of_death ?e . ?e rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q2167
SYSTEM
Lund
Q2167
(Q1296480,P20,c(Q15700808))
action filter_type
action find
entity Q1296480
relation P20
type Q15700808
[ANSWER] is the place of death of Efraim Liljequist
['Q1296480', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?e WHERE { resource:Q1296480 property:P20 ?e . ?e rdf:type ontology:Q15700808 }
Lund
Lund is the place of death of Efraim Liljequist
Lund
action filter_type
action find
entity Efraim Liljequist
relation place of death
type urban unit definition
['Efraim Liljequist', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?e WHERE { resource:Efraim_Liljequist property:place_of_death ?e . ?e rdf:type ontology:urban_unit_definition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1296480
P106
Q151885
USER
Which concept is the profession of Efraim Liljequist ?
(Q1296480,P106,c(Q151885))
action filter_type
action find
entity Q1296480
relation P106
type Q151885
['Q1296480', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q1296480 property:P106 ?u . ?u rdf:type ontology:Q151885 }
Efraim Liljequist
action filter_type
action find
entity Efraim Liljequist
relation occupation
type concept
['Efraim Liljequist', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Efraim_Liljequist property:occupation ?u . ?u rdf:type ontology:concept }
[]
concept
Q4964182
SYSTEM
philosopher
Q4964182
(Q1296480,P106,c(Q151885))
action filter_type
action find
entity Q1296480
relation P106
type Q151885
The [ANSWER] is the profession of Efraim Liljequist
['Q1296480', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q1296480 property:P106 ?u . ?u rdf:type ontology:Q151885 }
philosopher
The philosopher is the profession of Efraim Liljequist
philosopher
action filter_type
action find
entity Efraim Liljequist
relation occupation
type concept
['Efraim Liljequist', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Efraim_Liljequist property:occupation ?u . ?u rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4964182
P39
Q502895
USER
Who held the position of that concept ?
(c(Q502895),P39,Q4964182)
action filter_type
action find_reverse
entity Q4964182
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q4964182']
SELECT DISTINCT ?f WHERE { ?f property:P39 resource:Q4964182 . ?f rdf:type ontology:Q502895 }
philosopher
action filter_type
action find_reverse
entity philosopher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'philosopher']
SELECT DISTINCT ?f WHERE { ?f property:position_held resource:philosopher . ?f rdf:type ontology:common_name }
[]
common name
Q15406938 Q3752708
SYSTEM
Anne Staquet, Fredegiso di Tours
Q15406938 Q3752708
(c(Q502895),P39,Q4964182)
action filter_type
action find_reverse
entity Q4964182
relation P39
type Q502895
[ANSWERS] held the position of that concept
[{'concept': 'Q502895'}, 'P39', 'Q4964182']
SELECT DISTINCT ?f WHERE { ?f property:P39 resource:Q4964182 . ?f rdf:type ontology:Q502895 }
Anne Staquet Fredegiso di Tours
Anne Staquet and Fredegiso di Tours held the position of that concept
Anne Staquet Fredegiso di Tours
action filter_type
action find_reverse
entity philosopher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'philosopher']
SELECT DISTINCT ?f WHERE { ?f property:position_held resource:philosopher . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3450876 Q2167
P19
Q502895
USER
Which people were born at Lund or Whitingham ?
OR((c(Q502895),P19,Q2167), (c(Q502895),P19,Q3450876))
action filter_type
action union
action find_reverse
entity Q2167
relation P19
action find_reverse
entity Q3450876
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q2167'], [{'concept': 'Q502895'}, 'P19', 'Q3450876']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { { ?l property:P19 resource:Q2167 } UNION { ?l property:P19 resource:Q3450876 } } }
Whitingham Lund
action filter_type
action union
action find_reverse
entity Lund
relation place of birth
action find_reverse
entity Whitingham
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Lund'], [{'concept': 'common name'}, 'place of birth', 'Whitingham']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { { ?l property:place_of_birth resource:Lund } UNION { ?l property:place_of_birth resource:Whitingham } } }
[]
common name
Q7616432 Q4983207 Q775766 Q4945718 Q330793 Q1536229 Q717126 Q3357498 Q22338719 Q1780398
SYSTEM
Some of them are Stig Bornhager, Cecilia Torudd, Henrik Sundström, Dina Edling, Einar Billing, Henry Palmé, Arvid Ahnfelt, Sverker Göranson, Isabelle Haak, Ulf Kristersson
Q192712 Q4946064 Q5914635 Q18206303 Q270468 Q3816007 Q1239118 Q450630 Q1267257 Q17611142 Q3433281 Q5799166 Q23722466 Q1399660 Q8247055 Q580918 Q498468 Q4987033 Q6076387 Q5950139 Q22338719 Q5958277 Q1910650 Q6370892 Q728985 Q4961238 Q353191 Q3499462 Q5554820 Q351934 Q5961009 Q1573995 Q19588642 Q5233318 Q521502 Q728626 Q5627802 Q6228850 Q274700 Q5618961 Q520956 Q353293 Q10792 Q4353213 Q490699 Q346056 Q4353761 Q4941388 Q6188641 Q7616432 Q2159901 Q21176775 Q4919753 Q4583382 Q6039573 Q19977079 Q349535 Q7183784 Q5958537 Q16650554 Q6179577 Q645306 Q5902433 Q3379728 Q20713 Q4953472 Q27514264 Q541624 Q12342520 Q16163349 Q4971973 Q5548100 Q359021 Q5801398 Q1693052 Q4992315 Q4981830 Q487460 Q19776563 Q499872 Q4958722 Q5387831 Q429457 Q3501286 Q5857506 Q18238092 Q858483 Q518995 Q16488993 Q5956355 Q5811988 Q18183610 Q3482193 Q6179259 Q5650338 Q18888723 Q4945718 Q16043412 Q3615337 Q5717408 Q26213157 Q5555340 Q5608386 Q6198979 Q766305 Q4940944 Q3428375 Q719983 Q5737926 Q1536229 Q3373253 Q3374596 Q5944480 Q5621000 Q4962742 Q15638844 Q372460 Q5570380 Q1806140 Q16594932 Q458162 Q5615500 Q4951679 Q203559 Q5990658 Q1679990 Q4697374 Q4990450 Q4987887 Q5563004 Q5942299 Q138232 Q277899 Q5561056 Q7796755 Q3886325 Q203215 Q7607447 Q16596476 Q276060 Q44828 Q6005406 Q4701125 Q1691929 Q16203186 Q520594 Q1335717 Q4964393 Q5811961 Q330793 Q4947427 Q14405706 Q6239846 Q1992344 Q328503 Q2094373 Q19826733 Q5817839 Q6171742 Q19587221 Q18685890 Q4947972 Q4936574 Q18215355 Q4959359 Q4944454 Q6240155 Q4349605 Q621199 Q717126 Q358962 Q19773049 Q17417773 Q563544 Q828263 Q19588629 Q5127794 Q6045309 Q6170770 Q4530700 Q2165063 Q621200 Q1729679 Q20652885 Q5619361 Q271412 Q351209 Q4948512 Q16010368 Q460491 Q1780398 Q936416 Q17501738 Q3352197 Q6043355 Q380870 Q6185947 Q20652881 Q16161506 Q5464504 Q3357498 Q319849 Q18715948 Q4569472 Q5816406 Q737996 Q24678686 Q6026952 Q5946836 Q5952423 Q775766 Q4746526 Q5824441 Q5553881 Q21104125 Q4983207 Q470384 Q3723687 Q4990088 Q14623196 Q6000129
OR((c(Q502895),P19,Q2167), (c(Q502895),P19,Q3450876))
action filter_type
action union
action find_reverse
entity Q2167
relation P19
action find_reverse
entity Q3450876
relation P19
type Q502895
[ANSWERS] were born at Lund or Whitingham
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q2167'], [{'concept': 'Q502895'}, 'P19', 'Q3450876']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { { ?l property:P19 resource:Q2167 } UNION { ?l property:P19 resource:Q3450876 } } }
Kai Siegbahn Mim Ekelund Simon Klose Mirza Halvadžić Elin Wägner Knut H.M. Haeger Gunnar Blix Mikael Håfström Gillis Lundgren Carl Johansson Tor Nilsson Mats Hellerstedt-Thorin Mats Holmberg Labinot Harbuzi Bertil Hylmo Kim Ekdahl du Rietz Andreas Jakobsson Lill Arncloo Isaac Goodnow Anders Lidbeck Isabelle Haak Karl Jesper Hakon Hjelmquist Mathias Benzelstierna Karin Maria Bruzelius Jan Malmsjö Malena Laszlo Rolf Billberg Johanna Wiberg Ingvar Andersson Daniel Andersson Axel Ljungdahl Hampus Mosesson Otto Martin Torell David Ekerot Marianne Ahrne Göran Sonnevi Peter Eggers Fredrik August Wahlgren Caroline Jönsson Gunnar Böös Ulf Holm Joachim Johansson Joel Ekstrand Niklas Strömstedt Anders Retzius Carl August Hagberg Unni Drougge Linn Bülow Axel Stenberg Stig Bornhager Robin Stegmar Nils August Johanson Björn Morgan Enqvist Sune Nordgren Benjamin Peetre Mårten Nordbeck Nils-Åke Sandell Philip Hult Göran Lindström Olof Wahlgren Waldemar Skarstedt Ivo Pękalski Jonas Karlström Ingrid Segerstedt Wiberg Axwell Olga Hellquist Sebastian Geissler Ola Svensson Liselott Blixt Åsa Blanck Anna Parrow Peter Althin Oskar Rönningberg Jens Henriksson Johann Christoph Muhrbeck Gösta Adrian-Nilsson Åsa Söderling Hans Daniel Johan Wallengren Gärda Lidforss af Geijerstam Andreas Palicka Katrine Marçal Eric la Fleur Tomas Bertelman Nils Ambolt Christian Fex Paul Cavallin Carl Fredrik Hill Alf Kjellin Maria Adler Axel Edvin Lindh Tobias Holmqvist Tina Thunander Gotti Sigurðarson Einar Sjövall Hans Kristian Rausing Ragnar Blomqvist Dina Edling Torgny Gynnerstedt Anders Friberg Tjelvar Eriksson Sven Brandel Lennart Andersson Karl-Ewert Christenson Ola Svensson Marcus Hedbrandh Anna-Lena Bergelin Sabina Jacobsen Johan Ihre Leif Forstenberg Henry Palmé Eva Remaeus Theodor Wåhlin Lars Johan Lehming Gustaf Ljunggren Hedvig Hamilton Anders Friberg Måns Zelmerlöw Simon P. G. Bengtsson Lars-Anders Wahlgren Märta Grauers Gunilla Carlsson Leif Dahlgren Ida Gyllensten Brigham Young Håkan Mohede Mia Leche Löfgren Aina Erlander Åsa Widéen Ida Börjel Einar Axelsson Harald Leander Sverrir Gudnason Frans Gustaf Emanuel Walberg John Ask Thorsten Grönfors Orvar Lindwall Max von Sydow Sten Sjögren Julia Strömberg Cecilia Lindqvist Timbuktu Christer Nerfont Akira Corassani Johan Callmer Andrew Collberg Jacob Georg Agardh Stellan Nilsson Maj-Lis Lüning Staffan Holmqvist Einar Billing Maria Fahl Vikander Ragnar Pihlstrand Torgny Wickman Nils Grandelius Torkel Petersson Rolf-Göran Bengtsson Henrik Sjöström Torsten Husén Michael Segerström Knut Ludvig Sextus Linder Elias Dolah Nina Fex Paulinne Arpi Erik Sjöstedt Annika Kofoed Alfhild Degerberg Arvid Widerberg Bengt Lidforss Thorsten Roos Arvid Ahnfelt Ivar Wickman Gunilla Svensson Sverker Johansson Anna Wahlgren Bertil Werkström Ylva Lund Bergner Clas Lindberg Carl Petersson Bengt Schött Folke Ekström Viking Eggeling Salomon Sörensen Karl-Aage Schwartzkopf Lars-Bertil Persson John Degerberg Amanda Jenssen Erik Josefsson Åsa Forsblad Morisse Nils Grönvall Ingrid Luterkort Ulf Kristersson Linus Thörnblad Aron Wolff Krenzisky Hjördis Nordin Martin Persson Agne Holmström Carl Sprinchorn Jan Oterdahl Matilda Berggren Folke Zettervall Sverker Göranson Lukas Moodysson Ture Holmberg Tobias Aspelin Nils Hult Magnus Gustafsson Viktor Lundberg Göran Olsson Torsten Leon-Nilson Kristian Lima de Faria Henrik Sundström Amir Aly Rasmus Isaksson Anders Andersson Peter Aaby Cecilia Torudd Carl Wilhelm Oseen Else Fisher Laila Bagge Wahlgren Johan Blomberg Bert Månson
Stig Bornhager, Cecilia Torudd, Henrik Sundström, Dina Edling, Einar Billing, Henry Palmé, Arvid Ahnfelt, Sverker Göranson, Isabelle Haak and Ulf Kristersson were born at Lund or Whitingham
Stig Bornhager Cecilia Torudd Henrik Sundström Dina Edling Einar Billing Henry Palmé Arvid Ahnfelt Sverker Göranson Isabelle Haak Ulf Kristersson
action filter_type
action union
action find_reverse
entity Lund
relation place of birth
action find_reverse
entity Whitingham
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Lund'], [{'concept': 'common name'}, 'place of birth', 'Whitingham']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { { ?l property:place_of_birth resource:Lund } UNION { ?l property:place_of_birth resource:Whitingham } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7616432 Q4983207 Q775766 Q4945718 Q330793 Q1536229 Q717126 Q3357498 Q22338719 Q1780398
P21
Q290
USER
Which sexes do Stig Bornhager, Cecilia Torudd, Henrik Sundström, Dina Edling, Einar Billing, Henry Palmé, Arvid Ahnfelt, Sverker Göranson, Isabelle Haak and Ulf Kristersson belong to ?
(Q7616432,P21,c(Q290)) (Q4983207,P21,c(Q290)) (Q775766,P21,c(Q290)) (Q4945718,P21,c(Q290)) (Q330793,P21,c(Q290)) (Q1536229,P21,c(Q290)) (Q717126,P21,c(Q290)) (Q3357498,P21,c(Q290)) (Q22338719,P21,c(Q290)) (Q1780398,P21,c(Q290))
action union
action filter_type
action find
entity Q7616432
relation P21
type Q290
action filter_type
action find
entity Q4983207
relation P21
type Q290
action filter_type
action find
entity Q775766
relation P21
type Q290
action filter_type
action find
entity Q4945718
relation P21
type Q290
action filter_type
action find
entity Q330793
relation P21
type Q290
action filter_type
action find
entity Q1536229
relation P21
type Q290
action filter_type
action find
entity Q717126
relation P21
type Q290
action filter_type
action find
entity Q3357498
relation P21
type Q290
action filter_type
action find
entity Q22338719
relation P21
type Q290
action filter_type
action find
entity Q1780398
relation P21
type Q290
['Q7616432', 'P21', {'concept': 'Q290'}] ['Q4983207', 'P21', {'concept': 'Q290'}] ['Q775766', 'P21', {'concept': 'Q290'}] ['Q4945718', 'P21', {'concept': 'Q290'}] ['Q330793', 'P21', {'concept': 'Q290'}] ['Q1536229', 'P21', {'concept': 'Q290'}] ['Q717126', 'P21', {'concept': 'Q290'}] ['Q3357498', 'P21', {'concept': 'Q290'}] ['Q22338719', 'P21', {'concept': 'Q290'}] ['Q1780398', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Q4983207 ) ( resource:Q7616432 ) } . ?j property:P21 ?m }
Stig Bornhager Cecilia Torudd Henrik Sundström Dina Edling Einar Billing Henry Palmé Arvid Ahnfelt Sverker Göranson Isabelle Haak Ulf Kristersson
action union
action filter_type
action find
entity Stig Bornhager
relation gender
type sex
action filter_type
action find
entity Cecilia Torudd
relation gender
type sex
action filter_type
action find
entity Henrik Sundström
relation gender
type sex
action filter_type
action find
entity Dina Edling
relation gender
type sex
action filter_type
action find
entity Einar Billing
relation gender
type sex
action filter_type
action find
entity Henry Palmé
relation gender
type sex
action filter_type
action find
entity Arvid Ahnfelt
relation gender
type sex
action filter_type
action find
entity Sverker Göranson
relation gender
type sex
action filter_type
action find
entity Isabelle Haak
relation gender
type sex
action filter_type
action find
entity Ulf Kristersson
relation gender
type sex
['Stig Bornhager', 'gender', {'concept': 'sex'}] ['Cecilia Torudd', 'gender', {'concept': 'sex'}] ['Henrik Sundström', 'gender', {'concept': 'sex'}] ['Dina Edling', 'gender', {'concept': 'sex'}] ['Einar Billing', 'gender', {'concept': 'sex'}] ['Henry Palmé', 'gender', {'concept': 'sex'}] ['Arvid Ahnfelt', 'gender', {'concept': 'sex'}] ['Sverker Göranson', 'gender', {'concept': 'sex'}] ['Isabelle Haak', 'gender', {'concept': 'sex'}] ['Ulf Kristersson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Cecilia_Torudd ) ( resource:Stig_Bornhager ) } . ?j property:gender ?m }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581097
(Q7616432,P21,c(Q290)) (Q4983207,P21,c(Q290)) (Q775766,P21,c(Q290)) (Q4945718,P21,c(Q290)) (Q330793,P21,c(Q290)) (Q1536229,P21,c(Q290)) (Q717126,P21,c(Q290)) (Q3357498,P21,c(Q290)) (Q22338719,P21,c(Q290)) (Q1780398,P21,c(Q290))
action union
action filter_type
action find
entity Q7616432
relation P21
type Q290
action filter_type
action find
entity Q4983207
relation P21
type Q290
action filter_type
action find
entity Q775766
relation P21
type Q290
action filter_type
action find
entity Q4945718
relation P21
type Q290
action filter_type
action find
entity Q330793
relation P21
type Q290
action filter_type
action find
entity Q1536229
relation P21
type Q290
action filter_type
action find
entity Q717126
relation P21
type Q290
action filter_type
action find
entity Q3357498
relation P21
type Q290
action filter_type
action find
entity Q22338719
relation P21
type Q290
action filter_type
action find
entity Q1780398
relation P21
type Q290
[ANSWERS]
['Q7616432', 'P21', {'concept': 'Q290'}] ['Q4983207', 'P21', {'concept': 'Q290'}] ['Q775766', 'P21', {'concept': 'Q290'}] ['Q4945718', 'P21', {'concept': 'Q290'}] ['Q330793', 'P21', {'concept': 'Q290'}] ['Q1536229', 'P21', {'concept': 'Q290'}] ['Q717126', 'P21', {'concept': 'Q290'}] ['Q3357498', 'P21', {'concept': 'Q290'}] ['Q22338719', 'P21', {'concept': 'Q290'}] ['Q1780398', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Q4983207 ) ( resource:Q7616432 ) } . ?j property:P21 ?m }
male female male female male male male male female male
Male, female and male Stig Bornhager, Cecilia Torudd, Henrik Sundström, Dina Edling, Einar Billing, Henry Palmé, Arvid Ahnfelt, Sverker Göranson, Isabelle Haak and Ulf Kristersson belong to
male female male
action union
action filter_type
action find
entity Stig Bornhager
relation gender
type sex
action filter_type
action find
entity Cecilia Torudd
relation gender
type sex
action filter_type
action find
entity Henrik Sundström
relation gender
type sex
action filter_type
action find
entity Dina Edling
relation gender
type sex
action filter_type
action find
entity Einar Billing
relation gender
type sex
action filter_type
action find
entity Henry Palmé
relation gender
type sex
action filter_type
action find
entity Arvid Ahnfelt
relation gender
type sex
action filter_type
action find
entity Sverker Göranson
relation gender
type sex
action filter_type
action find
entity Isabelle Haak
relation gender
type sex
action filter_type
action find
entity Ulf Kristersson
relation gender
type sex
['Stig Bornhager', 'gender', {'concept': 'sex'}] ['Cecilia Torudd', 'gender', {'concept': 'sex'}] ['Henrik Sundström', 'gender', {'concept': 'sex'}] ['Dina Edling', 'gender', {'concept': 'sex'}] ['Einar Billing', 'gender', {'concept': 'sex'}] ['Henry Palmé', 'gender', {'concept': 'sex'}] ['Arvid Ahnfelt', 'gender', {'concept': 'sex'}] ['Sverker Göranson', 'gender', {'concept': 'sex'}] ['Isabelle Haak', 'gender', {'concept': 'sex'}] ['Ulf Kristersson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Cecilia_Torudd ) ( resource:Stig_Bornhager ) } . ?j property:gender ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15406938
P27
Q15617994
USER
Which administrative territory is Anne Staquet a civilian of ?
(Q15406938,P27,c(Q15617994))
action filter_type
action find
entity Q15406938
relation P27
type Q15617994
['Q15406938', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q15406938 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Anne Staquet
action filter_type
action find
entity Anne Staquet
relation country of citizenship
type designation for an administrative territorial entity
['Anne Staquet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Anne_Staquet property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q15406938,P27,c(Q15617994))
action filter_type
action find
entity Q15406938
relation P27
type Q15617994
[ANSWER] is Anne Staquet a civilian of
['Q15406938', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q15406938 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Belgium
Belgium is Anne Staquet a civilian of
Belgium
action filter_type
action find
entity Anne Staquet
relation country of citizenship
type designation for an administrative territorial entity
['Anne Staquet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Anne_Staquet property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23040731
Q15617994
USER
And what about Marco Mäkinen?
(Q23040731,P27,c(Q15617994))
action filter_type
action find
entity Q23040731
relation P27
type Q15617994
['Q23040731', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q23040731 property:P27 ?u }
Marco Mäkinen
action filter_type
action find
entity Marco Mäkinen
relation country of citizenship
type designation for an administrative territorial entity
['Marco Mäkinen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marco_Mäkinen property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q23040731,P27,c(Q15617994))
action filter_type
action find
entity Q23040731
relation P27
type Q15617994
[ANSWER]
['Q23040731', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q23040731 property:P27 ?u }
Finland
Finland
action filter_type
action find
entity Marco Mäkinen
relation country of citizenship
type designation for an administrative territorial entity
['Marco Mäkinen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marco_Mäkinen property:country_of_citizenship ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q33 Q7976332
P530
Q15617994
USER
Does Wayne Highlands School District have diplomatic relationships with Finland ?
(Q33,P530,Q7976332)
action is_in
entity Q7976332
action find
entity Q33
relation P530
['Q33', 'P530', 'Q7976332']
ASK WHERE { resource:Q33 property:P530 resource:Q7976332 }
Finland Wayne Highlands School District
action is_in
entity Wayne Highlands School District
action find
entity Finland
relation diplomatic relation
['Finland', 'diplomatic relation', 'Wayne Highlands School District']
ASK WHERE { resource:Finland property:diplomatic_relation resource:Wayne_Highlands_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q33,P530,Q7976332)
action is_in
entity Q7976332
action find
entity Q33
relation P530
[ANSWER]
['Q33', 'P530', 'Q7976332']
ASK WHERE { resource:Q33 property:P530 resource:Q7976332 }
No
action is_in
entity Wayne Highlands School District
action find
entity Finland
relation diplomatic relation
['Finland', 'diplomatic relation', 'Wayne Highlands School District']
ASK WHERE { resource:Finland property:diplomatic_relation resource:Wayne_Highlands_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q33
P47
Q15617994 Q7275
USER
How many administrative territories or states are adjacent to Finland ?
(Q33,P47,c(Q15617994)) (Q33,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q33
relation P47
type Q15617994
action filter_type
action find
entity Q33
relation P47
type Q7275
['Q33', 'P47', {'concept': 'Q15617994'}] ['Q33', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } }
Finland
action count
action union
action filter_type
action find
entity Finland
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Finland
relation shares border with
type state
['Finland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } }
[]
designation for an administrative territorial entity state
SYSTEM
4
Q20 Q159 Q15180 Q34
(Q33,P47,c(Q15617994)) (Q33,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q33
relation P47
type Q15617994
action filter_type
action find
entity Q33
relation P47
type Q7275
[ANSWER]
['Q33', 'P47', {'concept': 'Q15617994'}] ['Q33', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } }
Norway Russia Soviet Union Sweden
4
action count
action union
action filter_type
action find
entity Finland
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Finland
relation shares border with
type state
['Finland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q7725634 Q2088357
USER
How many administrative territories are the origin of around 21 literary works and musical ensembles ?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
value 21
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?m WHERE { ?u rdf:type ?q . VALUES ( ?q ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } GROUP BY ?m } . FILTER ( ?g = 21 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
value 21
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?m WHERE { ?u rdf:type ?q . VALUES ( ?q ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } GROUP BY ?m } . FILTER ( ?g = 21 ) }
[]
designation for an administrative territorial entity literary work musical ensemble
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
value 21
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?m WHERE { ?u rdf:type ?q . VALUES ( ?q ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } GROUP BY ?m } . FILTER ( ?g = 21 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
value 21
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?m WHERE { ?u rdf:type ?q . VALUES ( ?q ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } GROUP BY ?m } . FILTER ( ?g = 21 ) }
[]