Simple Question (Direct)
Simple Question
Q88332
P39
Q12737077
USER
What was the position held by Monika Harms ?
(Q88332,P39,c(Q12737077))
action filter_type
action find
entity Q88332
relation P39
type Q12737077
['Q88332', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q88332 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Monika Harms
action filter_type
action find
entity Monika Harms
relation position held
type occupation
['Monika Harms', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Monika_Harms property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q449319
SYSTEM
Public Prosecutor General
Q449319
(Q88332,P39,c(Q12737077))
action filter_type
action find
entity Q88332
relation P39
type Q12737077
The position held by Monika Harms was the [ANSWER]
['Q88332', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q88332 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Public Prosecutor General
The position held by Monika Harms was the Public Prosecutor General
Public Prosecutor General
action filter_type
action find
entity Monika Harms
relation position held
type occupation
['Monika Harms', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Monika_Harms property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q88332
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q449319,P106,c(Q12737077))
action filter_type
action find
entity Q88332
relation P106
type Q12737077
['Q449319', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q88332 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Monika Harms
action filter_type
action find
entity Monika Harms
relation occupation
type occupation
['Public Prosecutor General', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Monika_Harms property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q16533 Q1622272
SYSTEM
judge, university teacher
Q16533 Q1622272
(Q449319,P106,c(Q12737077))
action filter_type
action find
entity Q88332
relation P106
type Q12737077
The [ANSWERS] have that person as his/her 's career
['Q449319', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q88332 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
judge university teacher
The judge and university teacher have that person as his/her 's career
judge university teacher
action filter_type
action find
entity Monika Harms
relation occupation
type occupation
['Public Prosecutor General', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Monika_Harms property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16533 Q1622272
P39
Q502895
USER
Which people were appointed for the position of judge and university teacher ?
(c(Q502895),P39,Q16533) (c(Q502895),P39,Q1622272)
action union
action filter_type
action find_reverse
entity Q16533
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q1622272']
SELECT DISTINCT ?x WHERE { VALUES ( ?o ) { ( resource:Q16533 ) ( resource:Q1622272 ) } . ?x property:P39 ?o }
judge university teacher
action union
action filter_type
action find_reverse
entity judge
relation position held
type common name
action filter_type
action find_reverse
entity university teacher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'university teacher']
SELECT DISTINCT ?x WHERE { VALUES ( ?o ) { ( resource:judge ) ( resource:university_teacher ) } . ?x property:position_held ?o }
[]
common name
Q164384 Q164384 Q6294
SYSTEM
Hillary Clinton for 3rd, Theodore von Kármán for 1st, 2nd
Q20729887 Q2838761 Q26309250 Q239235 Q25931074 Q20870759 Q1079816 Q17325636 Q17513548 Q1608398 Q20752961 Q19309108 Q16104843 Q11774059 Q21816212 Q12044291 Q12044291 Q12044291 Q2563 Q1716914 Q12022513 Q11878277 Q1203647 Q1281364 Q12025988 Q16484626 Q26098205 Q17113548 Q16617878 Q10395805 Q8018535 Q463824 Q20870783 Q22337798 Q22337798 Q6243592 Q27078052 Q19606594 Q22443703 Q3118583 Q2243667 Q16024023 Q3084776 Q3084776 Q16638850 Q15729620 Q3736628 Q366020 Q729418 Q3386998 Q20089632 Q20089632 Q2288137 Q15068663 Q164384 Q164384 Q18020726 Q20006978 Q18391 Q2848716 Q16078961 Q20819088 Q1731986 Q12265676 Q21795358 Q3169670 Q1511883 Q20828248 Q6171180 Q376210 Q3123954 Q19345746 Q16582679 Q8962412 Q20127366 Q2572989 Q1700189 Q15912761 Q178344 Q12354531 Q26818523 Q3186122 Q1731321 Q506805 Q1345191 Q3110673 Q3009105 Q115448 Q21708173 Q3169116 Q1294512 Q1388660 Q374024 Q18577704 Q3385948 Q26037404 Q25932529 Q454594 Q84714 Q4067424 Q3172544 Q5287936 Q16073166 Q17497103 Q2894300 Q3144855 Q115630 Q2870093 Q2067100 Q2067100 Q101235 Q15731513 Q14517540 Q531788 Q380814 Q1932828 Q8354697 Q2542162 Q20806967 Q16545583 Q20204919 Q16698998 Q74295 Q5815940 Q15089196 Q16260960 Q6294 Q15054444 Q1151101 Q20204913 Q20819474 Q87337 Q18744759 Q13390045 Q1708489 Q1776797 Q936760 Q16011274 Q25836733 Q11443689 Q11443689 Q8006158 Q1363028 Q13016261 Q10346107 Q3304221 Q336501 Q1728780 Q824064 Q17496977 Q17496977 Q2899558 Q481538 Q20723514 Q3384219 Q237821 Q263725 Q263725 Q27064349 Q1598320 Q2182265 Q6232311 Q3387352 Q24952357 Q22977279 Q823220 Q12350223 Q1351160 Q15406938 Q3106418 Q96922 Q770810 Q20054988 Q5622207 Q18744694 Q20012 Q2043597 Q22977147 Q3295727 Q21064904 Q19629707 Q3310179 Q178577 Q12906 Q20041837 Q19943834 Q5865616 Q3434789 Q20829823 Q2387288 Q27070471 Q333372 Q20821084 Q17119902
(c(Q502895),P39,Q16533) (c(Q502895),P39,Q1622272)
action union
action filter_type
action find_reverse
entity Q16533
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q1622272']
SELECT DISTINCT ?x WHERE { VALUES ( ?o ) { ( resource:Q16533 ) ( resource:Q1622272 ) } . ?x property:P39 ?o }
Pierre-Joseph Cavallier Allyre Sirois Matthias Manthei Louise Arbour Halsey R. Wing François Marcellot Christian Gerhard Overbeck Paul Schellhas Athaliah Molokomme Herbert Haller Friedrich Lachmund Siegbert Morscher N. Patrick Crooks Dagmar Lastovecká Fritz Töpffer Pavel Varvařovský Pavel Varvařovský Pavel Varvařovský Roman Herzog Karl Korinek Jan Filip Eliška Wagnerová George Baer Eckart Ratz Josef Fiala Abel Graça Carl Schlettwein Arnvid Vasbotten Włodzimierz Wróbel Álvaro Gurgel de Alencar William Smith Otakar Motejl Jacques-Charles Marcellot Pedro Pereira da Silva Guimarães Pedro Pereira da Silva Guimarães John L. Harding Agnieszka Grudzińska Jacques Bahi Liliane Mottu-Weber Grégory Michel Johannes van den Driesche Luc-Francis Genicot François Gros François Gros Geoffrey Pleyers Conrad Goclenius Robert Rosen Adolphus Vorstius Hussein Chalayan Pierre Simard Jacques Percebois Jacques Percebois Simone Mayer Hans-Dietrich Quednau Theodore von Kármán Theodore von Kármán Hartmann Jacobi Octav Botez Elie Wiesel André Tricot Jessica Wilson Ángel Rubio Bocanegra Karl Kopp Pedro Ibarra Güell Jean-Pierre Corbeau Jean-Pierre Poulain Gerhard Kegel Bernard Bouillon Jean Mercier Adrianus Turnebus Gérard Ferreyrolles Hans-Heinrich Raspe José Arias Ramos Francisco Javier Fernández Conde Eirick Prairat Wilhelm Hallermann John Anderson Nicolas-Éloi Lemaire Luis Walter Alvarez Richard Osborne Raphaële Andrault Josué de la Place Karl Grouven Andrew Ranicki Philippe Van Parijs Jeanne-Marie Santraud Cyrille Barrette Daniel Bovet Jean-Luc Le Cam Jean-Pierre Centi Karl Vohwinkel Rudolf Strempel Nikolai Luzin Rainer Maria Kiesow Pierre Lescanne Götz Martius Julius Pierstorff Sixtinus Amama Karl Karmarsch Afinogen Antonovich Jean Hladik Dodie Bellamy Margit Eschenbach Rolland Viau Miguel de Portilla y Esquivel Hélène Saule-Sorbé Peter Bieri Attie Duval Adrianus Barlandus Adrianus Barlandus Anton Sterbling Santiago Segura Munguía Jacques Maurice Pieter Pauw Aelius Everardus Vorstius Mihailo Petrović Demófilo de Buen Lozano Valery Galtsov Anoi Castro Cordeiro César Manzanos Bilbao Alain Euzéby Vladimir Ivanovich Sobolev Hermann Stieve John Hughes Jacques de Groote Silke Bothfeld Hillary Clinton Ignat Florian Bociort Alfonso de Zamora Jacques Aben Luis Mercado Peter Skalicky Fabien Granjon Bruno Dürigen Paul Christiaan Flu Lucy Shapiro George Pruteanu Édouard Galletier Danis Bois Hiroshi Amano Hiroshi Amano William Burke-White Günter Imhäuser Bundhit Eua-apporn Patrick Charaudeau Milton Edward Harr Ilora Finlay, Baroness Finlay of Llandaff Max Dieckhoff Bernd Rohwer Michel Robert Michel Robert Bertrand Hauchecorne Viggo Fausböll Michel Chrysos Pierre Brunet Robert Fogel Janet Yellen Janet Yellen Corneille Bonaventure Bertram Heinrich Michaelis Roger Blanpain John F. Hughes Pierre Wertheimer Petrus Nannius Rudolf Stich Bernd-Dietrich Katthagen József Boros Nicholas Georgescu-Roegen Anne Staquet Gilles Noël Martin Haase Valerius Andreas Loïc Depecker Guy Deutscher Jean-Pierre Cometti Adolphe Quetelet Yevgeny Bokarev Rudolf Stich Martine Abdallah-Pretceille Friedrich Schmidtke Michel Raynal Michel Lenoble Norbert Wiener Helmar Frank Hideichirō Nakano Claude Lelièvre Francisco Enríquez de Villacorta Robert Chaudenson Roland Perez Alain Couret Antoine de La Faye Carolus Clusius Philippe Kaenel Lorentz Langberg
Theodore von Kármán, Theodore von Kármán and Hillary Clinton were appointed for the position of judge and university teacher
Theodore von Kármán Theodore von Kármán Hillary Clinton
action union
action filter_type
action find_reverse
entity judge
relation position held
type common name
action filter_type
action find_reverse
entity university teacher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'university teacher']
SELECT DISTINCT ?x WHERE { VALUES ( ?o ) { ( resource:judge ) ( resource:university_teacher ) } . ?x property:position_held ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q164384
P184
Q502895
USER
Which people have that one as doctoral supervisor ?
(c(Q502895),P184,Q164384)
action filter_type
action find_reverse
entity Q164384
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q164384']
SELECT DISTINCT ?c WHERE { ?c property:P184 resource:Q164384 . ?c rdf:type ontology:Q502895 }
Theodore von Kármán
action filter_type
action find_reverse
entity Theodore von Kármán
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Theodore von Kármán']
SELECT DISTINCT ?c WHERE { ?c property:doctoral_advisor resource:Theodore_von_Kármán . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6294
SYSTEM
Did you mean Hillary Clinton ?
Q164384 Q164384 Q6294
(c(Q502895),P184,Q164384) (c(Q502895),P184,Q164384) (c(Q502895),P184,Q6294)
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q164384'] [{'concept': 'Q502895'}, 'P184', 'Q164384'] [{'concept': 'Q502895'}, 'P184', 'Q6294']
SELECT DISTINCT ?c WHERE { ?c property:P184 resource:Q164384 . ?c rdf:type ontology:Q502895 }
Theodore von Kármán Theodore von Kármán Hillary Clinton
Did you mean Hillary Clinton ?
Hillary Clinton
[{'concept': 'common name'}, 'doctoral advisor', 'Theodore von Kármán'] [{'concept': 'common name'}, 'doctoral advisor', 'Theodore von Kármán'] [{'concept': 'common name'}, 'doctoral advisor', 'Hillary Clinton']
SELECT DISTINCT ?c WHERE { ?c property:doctoral_advisor resource:Theodore_von_Kármán . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Theodore von Kármán. Could you tell me the answer for that?
(c(Q502895),P184,Q164384)
Q164384
[{'concept': 'Q502895'}, 'P184', 'Q164384']
[{'concept': 'common name'}, 'doctoral advisor', 'Theodore von Kármán']
[]
Q8017281 Q333500 Q717421
SYSTEM
William R. Sears, Qian Xuesen, Chia-Chiao Lin
Q15918765 Q73228 Q333500 Q3569685 Q8017281 Q12129315 Q73231 Q77001 Q27507 Q73264 Q17123194 Q163683 Q717421 Q73305 Q73333
(c(Q502895),P184,Q164384)
action filter_type
action find_reverse
entity Q164384
relation P184
type Q502895
[ANSWERS] have that one as doctoral supervisor
[{'concept': 'Q502895'}, 'P184', 'Q164384']
SELECT DISTINCT ?c WHERE { ?c property:P184 resource:Q164384 . ?c rdf:type ontology:Q502895 }
Stanford Solomon Penner Richard G. Folsom Qian Xuesen Wolfgang Klemperer William R. Sears Frank E. Marble Louis Dunn Ernest Edwin Sechler Frank Malina Wallace D. Hayes Franz Nikolaus Scheubel Maurice Anthony Biot Chia-Chiao Lin Giuseppe Gabrielli Arthur T. Ippen
William R. Sears, Qian Xuesen and Chia-Chiao Lin have that one as doctoral supervisor
William R. Sears Qian Xuesen Chia-Chiao Lin
action filter_type
action find_reverse
entity Theodore von Kármán
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Theodore von Kármán']
SELECT DISTINCT ?c WHERE { ?c property:doctoral_advisor resource:Theodore_von_Kármán . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
Which works of art did exactly 12 people dub for ?
(c(Q838948),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 12
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?r ) WHERE { ?n property:P725 ?w . ?n rdf:type ontology:Q838948 . ?w rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?r = 12 ) }
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 12
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?r ) WHERE { ?n property:voice_actor ?w . ?n rdf:type ontology:work_of_art . ?w rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?r = 12 ) }
[]
common name work of art
Q23838455 Q17485699 Q16248866
SYSTEM
Planetarian: Hoshi no Hito, Alice Through the Looking Glass, The Book of Life
Q23838455 Q17485699 Q16248866
(c(Q838948),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 12
[ANSWERS]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?r ) WHERE { ?n property:P725 ?w . ?n rdf:type ontology:Q838948 . ?w rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?r = 12 ) }
Planetarian: Hoshi no Hito Alice Through the Looking Glass The Book of Life
Which works of art exactly 12 people dubbed for
Planetarian: Hoshi no Hito Alice Through the Looking Glass The Book of Life
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 12
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?r ) WHERE { ?n property:voice_actor ?w . ?n rdf:type ontology:work_of_art . ?w rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?r = 12 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17485699
P629
Q386724
USER
Which work is an edition or translation of that work of art ?
(c(Q386724),P629,Q17485699)
action filter_type
action find_reverse
entity Q17485699
relation P629
type Q386724
[{'concept': 'Q386724'}, 'P629', 'Q17485699']
SELECT DISTINCT ?e WHERE { ?e property:P629 resource:Q17485699 . ?e rdf:type ontology:Q386724 }
Alice Through the Looking Glass
action filter_type
action find_reverse
entity Alice Through the Looking Glass
relation edition or translation of
type work
[{'concept': 'work'}, 'edition or translation of', 'Alice Through the Looking Glass']
SELECT DISTINCT ?e WHERE { ?e property:edition_or_translation_of resource:Alice_Through_the_Looking_Glass . ?e rdf:type ontology:work }
[]
work
Clarification for simple ques.
Q23838455
SYSTEM
Did you mean Planetarian: Hoshi no Hito ?
Q23838455 Q17485699 Q16248866
(c(Q386724),P629,Q23838455) (c(Q386724),P629,Q17485699) (c(Q386724),P629,Q16248866)
[ANSWER]
[{'concept': 'Q386724'}, 'P629', 'Q23838455'] [{'concept': 'Q386724'}, 'P629', 'Q17485699'] [{'concept': 'Q386724'}, 'P629', 'Q16248866']
SELECT DISTINCT ?e WHERE { ?e property:P629 resource:Q17485699 . ?e rdf:type ontology:Q386724 }
Planetarian: Hoshi no Hito Alice Through the Looking Glass The Book of Life
Did you mean Planetarian: Hoshi no Hito ?
Planetarian: Hoshi no Hito
[{'concept': 'work'}, 'edition or translation of', 'Planetarian: Hoshi no Hito'] [{'concept': 'work'}, 'edition or translation of', 'Alice Through the Looking Glass'] [{'concept': 'work'}, 'edition or translation of', 'The Book of Life']
SELECT DISTINCT ?e WHERE { ?e property:edition_or_translation_of resource:Alice_Through_the_Looking_Glass . ?e rdf:type ontology:work }
[]
Simple Question (Coreferenced)
USER
No, I meant Alice Through the Looking Glass. Could you tell me the answer for that?
(c(Q386724),P629,Q17485699)
Q17485699
[{'concept': 'Q386724'}, 'P629', 'Q17485699']
[{'concept': 'work'}, 'edition or translation of', 'Alice Through the Looking Glass']
[]
Q25858085
SYSTEM
Alicia a través del espejo
Q25858085
(c(Q386724),P629,Q17485699)
action filter_type
action find_reverse
entity Q17485699
relation P629
type Q386724
[ANSWER] is an edition or translation of that work of art
[{'concept': 'Q386724'}, 'P629', 'Q17485699']
SELECT DISTINCT ?e WHERE { ?e property:P629 resource:Q17485699 . ?e rdf:type ontology:Q386724 }
Alicia a través del espejo
Alicia a través del espejo is an edition or translation of that work of art
Alicia a través del espejo
action filter_type
action find_reverse
entity Alice Through the Looking Glass
relation edition or translation of
type work
[{'concept': 'work'}, 'edition or translation of', 'Alice Through the Looking Glass']
SELECT DISTINCT ?e WHERE { ?e property:edition_or_translation_of resource:Alice_Through_the_Looking_Glass . ?e rdf:type ontology:work }
[]