Simple Question (Direct)
Simple Question
Q1297842
P19
Q56061
USER
Which administrative territory is the place of birth of Egidijus Šileikis ?
(Q1297842,P19,c(Q56061))
action filter_type
action find
entity Q1297842
relation P19
type Q56061
['Q1297842', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1297842 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Egidijus Šileikis
action filter_type
action find
entity Egidijus Šileikis
relation place of birth
type administrative territorial entity
['Egidijus Šileikis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Egidijus_Šileikis property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2375484
SYSTEM
Pandėlys
Q2375484
(Q1297842,P19,c(Q56061))
action filter_type
action find
entity Q1297842
relation P19
type Q56061
[ANSWER] is the place of birth of Egidijus Šileikis
['Q1297842', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1297842 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Pandėlys
Pandėlys is the place of birth of Egidijus Šileikis
Pandėlys
action filter_type
action find
entity Egidijus Šileikis
relation place of birth
type administrative territorial entity
['Egidijus Šileikis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Egidijus_Šileikis property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1297842
P106
Q12737077
USER
What do Egidijus Šileikis do for a living ?
(Q1297842,P106,c(Q12737077))
action filter_type
action find
entity Q1297842
relation P106
type Q12737077
['Q1297842', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1297842 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Egidijus Šileikis
action filter_type
action find
entity Egidijus Šileikis
relation occupation
type occupation
['Egidijus Šileikis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Egidijus_Šileikis property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q16533 Q1622272
SYSTEM
judge, university teacher
Q16533 Q1622272
(Q1297842,P106,c(Q12737077))
action filter_type
action find
entity Q1297842
relation P106
type Q12737077
Egidijus Šileikis do as [ANSWERS] for a living
['Q1297842', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1297842 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
judge university teacher
Egidijus Šileikis do as judge and university teacher for a living
judge university teacher
action filter_type
action find
entity Egidijus Šileikis
relation occupation
type occupation
['Egidijus Šileikis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Egidijus_Šileikis property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16533 Q1622272
P39
Q502895
USER
Which people were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q16533) (c(Q502895),P39,Q1622272)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q1622272']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P39 ?o . VALUES ( ?o ) { ( resource:Q16533 ) ( resource:Q1622272 ) } }
judge university teacher
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'university teacher']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:position_held ?o . VALUES ( ?o ) { ( resource:judge ) ( resource:university_teacher ) } }
[]
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 filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q1622272']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P39 ?o . VALUES ( ?o ) { ( resource:Q16533 ) ( resource:Q1622272 ) } }
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 responsible for occupying the position of those occupations
Theodore von Kármán Theodore von Kármán Hillary Clinton
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'university teacher']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:position_held ?o . VALUES ( ?o ) { ( resource:judge ) ( resource:university_teacher ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16533
P425
Q179805
USER
Who is associated with the field of occupation judge?
(Q164384,P425,c(Q179805)) (Q164384,P425,c(Q179805)) (Q6294,P425,c(Q179805))
action filter_type
action find
entity Q16533
relation P425
type Q179805
['Q164384', 'P425', {'concept': 'Q179805'}] ['Q164384', 'P425', {'concept': 'Q179805'}] ['Q6294', 'P425', {'concept': 'Q179805'}]
SELECT DISTINCT ?w WHERE { resource:Q16533 property:P425 ?w . ?w rdf:type ontology:Q179805 }
judge
action filter_type
action find
entity judge
relation field of this occupation
type political philosophy
['Theodore von Kármán', 'field of this occupation', {'concept': 'political philosophy'}] ['Theodore von Kármán', 'field of this occupation', {'concept': 'political philosophy'}] ['Hillary Clinton', 'field of this occupation', {'concept': 'political philosophy'}]
SELECT DISTINCT ?w WHERE { resource:judge property:field_of_this_occupation ?w . ?w rdf:type ontology:political_philosophy }
[]
political philosophy
Q105985
SYSTEM
judiciary
Q105985
(Q164384,P425,c(Q179805)) (Q164384,P425,c(Q179805)) (Q6294,P425,c(Q179805))
action filter_type
action find
entity Q16533
relation P425
type Q179805
[ANSWER] is associated with the field of occupation judge
['Q164384', 'P425', {'concept': 'Q179805'}] ['Q164384', 'P425', {'concept': 'Q179805'}] ['Q6294', 'P425', {'concept': 'Q179805'}]
SELECT DISTINCT ?w WHERE { resource:Q16533 property:P425 ?w . ?w rdf:type ontology:Q179805 }
judiciary
Judiciary is associated with the field of occupation judge
judiciary
action filter_type
action find
entity judge
relation field of this occupation
type political philosophy
['Theodore von Kármán', 'field of this occupation', {'concept': 'political philosophy'}] ['Theodore von Kármán', 'field of this occupation', {'concept': 'political philosophy'}] ['Hillary Clinton', 'field of this occupation', {'concept': 'political philosophy'}]
SELECT DISTINCT ?w WHERE { resource:judge property:field_of_this_occupation ?w . ?w rdf:type ontology:political_philosophy }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P425
Q179805 Q12737077
USER
Which political philosophies are associated with the field of occupation lesser number of occupations than that political philosophy ?
(c(Q12737077),P425,c(Q179805))
action less
action find_reverse_tuple_counts
relation P425
type Q179805
type Q12737077
action count
action filter_type
action find_reverse
entity Q105985
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', {'concept': 'Q179805'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P425 ?c . ?c rdf:type ontology:Q179805 . ?k rdf:type ontology:Q12737077 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P425 resource:Q105985 . ?o rdf:type ontology:Q12737077 } } . FILTER ( ?t < ?i ) }
action less
action find_reverse_tuple_counts
relation field of this occupation
type political philosophy
type occupation
action count
action filter_type
action find_reverse
entity judiciary
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', {'concept': 'political philosophy'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:field_of_this_occupation ?c . ?c rdf:type ontology:political_philosophy . ?k rdf:type ontology:occupation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:field_of_this_occupation resource:judiciary . ?o rdf:type ontology:occupation } } . FILTER ( ?t < ?i ) }
[]
political philosophy occupation
Q35798
SYSTEM
executive branch
Q35798
(c(Q12737077),P425,c(Q179805))
action less
action find_reverse_tuple_counts
relation P425
type Q179805
type Q12737077
action count
action filter_type
action find_reverse
entity Q105985
relation P425
type Q12737077
Branch [ANSWER] is associated with the field of occupation lesser number of occupations than that political philosophy
[{'concept': 'Q12737077'}, 'P425', {'concept': 'Q179805'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P425 ?c . ?c rdf:type ontology:Q179805 . ?k rdf:type ontology:Q12737077 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P425 resource:Q105985 . ?o rdf:type ontology:Q12737077 } } . FILTER ( ?t < ?i ) }
executive branch
Branch executive branch is associated with the field of occupation lesser number of occupations than that political philosophy
executive branch
action less
action find_reverse_tuple_counts
relation field of this occupation
type political philosophy
type occupation
action count
action filter_type
action find_reverse
entity judiciary
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', {'concept': 'political philosophy'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:field_of_this_occupation ?c . ?c rdf:type ontology:political_philosophy . ?k rdf:type ontology:occupation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:field_of_this_occupation resource:judiciary . ?o rdf:type ontology:occupation } } . FILTER ( ?t < ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 3525 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3525
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?a = 3525 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3525
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?a = 3525 ) }
[]
musical instrument common name
SYSTEM
2
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3525
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?a = 3525 ) }
violin organ
2
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3525
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?a = 3525 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 2195 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2195
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { FILTER ( ?r = 2195 ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P1303 ?f . ?y rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 } GROUP BY ?f } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2195
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { FILTER ( ?r = 2195 ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:instrument ?f . ?y rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument } GROUP BY ?f } }
[]
musical instrument common name
SYSTEM
5
Q46185 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2195
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { FILTER ( ?r = 2195 ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P1303 ?f . ?y rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 } GROUP BY ?f } }
bass guitar trumpet cello organ drum kit
5
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2195
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { FILTER ( ?r = 2195 ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:instrument ?f . ?y rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6294
P50
Q2342494
USER
What are the collectables written by Hillary Clinton ?
(c(Q2342494),P50,Q6294)
action filter_type
action find_reverse
entity Q6294
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q6294']
SELECT DISTINCT ?t WHERE { ?t property:P50 resource:Q6294 . ?t rdf:type ontology:Q2342494 }
Hillary Clinton
action filter_type
action find_reverse
entity Hillary Clinton
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Hillary Clinton']
SELECT DISTINCT ?t WHERE { ?t property:author resource:Hillary_Clinton . ?t rdf:type ontology:collectable }
[]
collectable
Q19867961 Q6092095 Q958910
SYSTEM
Dear Socks, Dear Buddy, It Takes a Village, Living History
Q6092095 Q958910 Q4750109 Q19867961 Q17182454
(c(Q2342494),P50,Q6294)
action filter_type
action find_reverse
entity Q6294
relation P50
type Q2342494
The collectables written by Hillary Clinton are [ANSWERS]
[{'concept': 'Q2342494'}, 'P50', 'Q6294']
SELECT DISTINCT ?t WHERE { ?t property:P50 resource:Q6294 . ?t rdf:type ontology:Q2342494 }
It Takes a Village Living History An Invitation to the White House: At Home with History Dear Socks, Dear Buddy Hard Choices
The collectables written by Hillary Clinton are Dear Socks, Dear Buddy, It Takes a Village and Living History
Dear Socks, Dear Buddy It Takes a Village Living History
action filter_type
action find_reverse
entity Hillary Clinton
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Hillary Clinton']
SELECT DISTINCT ?t WHERE { ?t property:author resource:Hillary_Clinton . ?t rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6294
P737
Q6619679
USER
Who did Hillary Clinton have an influence on ?
(c(Q6619679),P737,Q6294)
action filter_type
action find_reverse
entity Q6294
relation P737
type Q6619679
[{'concept': 'Q6619679'}, 'P737', 'Q6294']
SELECT DISTINCT ?r WHERE { ?r property:P737 resource:Q6294 . ?r rdf:type ontology:Q6619679 }
Hillary Clinton
action filter_type
action find_reverse
entity Hillary Clinton
relation influenced by
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'influenced by', 'Hillary Clinton']
SELECT DISTINCT ?r WHERE { ?r property:influenced_by resource:Hillary_Clinton . ?r rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q16960434
SYSTEM
Leslie Knope
Q16960434
(c(Q6619679),P737,Q6294)
action filter_type
action find_reverse
entity Q6294
relation P737
type Q6619679
Hillary Clinton had an influence on the [ANSWER]
[{'concept': 'Q6619679'}, 'P737', 'Q6294']
SELECT DISTINCT ?r WHERE { ?r property:P737 resource:Q6294 . ?r rdf:type ontology:Q6619679 }
Leslie Knope
Hillary Clinton had an influence on the Leslie Knope
Leslie Knope
action filter_type
action find_reverse
entity Hillary Clinton
relation influenced by
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'influenced by', 'Hillary Clinton']
SELECT DISTINCT ?r WHERE { ?r property:influenced_by resource:Hillary_Clinton . ?r rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6294
P161
Q838948
USER
Which works of art do that person star in ?
(c(Q838948),P161,Q16960434)
action filter_type
action find_reverse
entity Q6294
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q16960434']
SELECT DISTINCT ?y WHERE { ?y property:P161 resource:Q6294 . ?y rdf:type ontology:Q838948 }
Hillary Clinton
action filter_type
action find_reverse
entity Hillary Clinton
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Leslie Knope']
SELECT DISTINCT ?y WHERE { ?y property:cast_member resource:Hillary_Clinton . ?y rdf:type ontology:work_of_art }
[]
work of art
Q20630763 Q432102 Q2996397
SYSTEM
The Yes Men Are Revolting, Shine a Light, A Conversation With Gregory Peck
Q5762533 Q2996397 Q432102 Q20630763 Q753518
(c(Q838948),P161,Q16960434)
action filter_type
action find_reverse
entity Q6294
relation P161
type Q838948
That person star in [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q16960434']
SELECT DISTINCT ?y WHERE { ?y property:P161 resource:Q6294 . ?y rdf:type ontology:Q838948 }
Hillary: The Movie A Conversation With Gregory Peck Shine a Light The Yes Men Are Revolting Darfur Now
That person star in The Yes Men Are Revolting, Shine a Light and A Conversation With Gregory Peck
The Yes Men Are Revolting Shine a Light A Conversation With Gregory Peck
action filter_type
action find_reverse
entity Hillary Clinton
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Leslie Knope']
SELECT DISTINCT ?y WHERE { ?y property:cast_member resource:Hillary_Clinton . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1334300
P2079
Q2695280 Q838948
USER
How many technicss are used for the assembly of lesser number of works of art than gilding ?
(c(Q838948),P2079,c(Q2695280))
action count
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v rdf:type ontology:Q838948 . ?v property:P2079 resource:Q1334300 } } . FILTER ( ?h < ?z ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:P2079 ?m . ?k rdf:type ontology:Q838948 . ?m rdf:type ontology:Q2695280 } GROUP BY ?m } }
gilding
action count
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v rdf:type ontology:work_of_art . ?v property:fabrication_method resource:gilding } } . FILTER ( ?h < ?z ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:fabrication_method ?m . ?k rdf:type ontology:work_of_art . ?m rdf:type ontology:technics } GROUP BY ?m } }
[]
technics work of art
SYSTEM
10
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action count
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v rdf:type ontology:Q838948 . ?v property:P2079 resource:Q1334300 } } . FILTER ( ?h < ?z ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:P2079 ?m . ?k rdf:type ontology:Q838948 . ?m rdf:type ontology:Q2695280 } GROUP BY ?m } }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
10
action count
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v rdf:type ontology:work_of_art . ?v property:fabrication_method resource:gilding } } . FILTER ( ?h < ?z ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:fabrication_method ?m . ?k rdf:type ontology:work_of_art . ?m rdf:type ontology:technics } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q170593
P2079
Q2695280 Q838948
USER
And also tell me about collage?
(c(Q838948),P2079,c(Q2695280))
action count
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P2079 ?v . ?v rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P2079 resource:Q170593 . ?m rdf:type ontology:Q838948 } } . FILTER ( ?k < ?z ) }
collage
action count
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:fabrication_method ?v . ?v rdf:type ontology:technics . ?w rdf:type ontology:work_of_art } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:fabrication_method resource:collage . ?m rdf:type ontology:work_of_art } } . FILTER ( ?k < ?z ) }
[]
technics work of art
SYSTEM
10
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action count
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P2079 ?v . ?v rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P2079 resource:Q170593 . ?m rdf:type ontology:Q838948 } } . FILTER ( ?k < ?z ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
10
action count
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:fabrication_method ?v . ?v rdf:type ontology:technics . ?w rdf:type ontology:work_of_art } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:fabrication_method resource:collage . ?m rdf:type ontology:work_of_art } } . FILTER ( ?k < ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3350994 Q164384
P27
Q1048835
USER
Which political territories are the countries of citizenship of Theodore von Kármán or Kangal Harinath ?
OR((Q164384,P27,c(Q1048835)), (Q3350994,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q164384
relation P27
action find
entity Q3350994
relation P27
type Q1048835
{'OR': [['Q164384', 'P27', {'concept': 'Q1048835'}], ['Q3350994', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . { { resource:Q3350994 property:P27 ?n } UNION { resource:Q164384 property:P27 ?n } } }
Kangal Harinath Theodore von Kármán
action filter_type
action union
action find
entity Theodore von Kármán
relation country of citizenship
action find
entity Kangal Harinath
relation country of citizenship
type political territorial entity
{'OR': [['Theodore von Kármán', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kangal Harinath', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . { { resource:Kangal_Harinath property:country_of_citizenship ?n } UNION { resource:Theodore_von_Kármán property:country_of_citizenship ?n } } }
[]
political territorial entity
Q129286 Q183
SYSTEM
British Raj, Germany
Q129286 Q183
OR((Q164384,P27,c(Q1048835)), (Q3350994,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q164384
relation P27
action find
entity Q3350994
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Theodore von Kármán or Kangal Harinath
{'OR': [['Q164384', 'P27', {'concept': 'Q1048835'}], ['Q3350994', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . { { resource:Q3350994 property:P27 ?n } UNION { resource:Q164384 property:P27 ?n } } }
British Raj Germany
British Raj and Germany are the countries of citizenship of Theodore von Kármán or Kangal Harinath
British Raj Germany
action filter_type
action union
action find
entity Theodore von Kármán
relation country of citizenship
action find
entity Kangal Harinath
relation country of citizenship
type political territorial entity
{'OR': [['Theodore von Kármán', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kangal Harinath', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . { { resource:Kangal_Harinath property:country_of_citizenship ?n } UNION { resource:Theodore_von_Kármán property:country_of_citizenship ?n } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q129286 Q183
P17
Q12737077
USER
Which occupations are located in British Raj and Germany ?
(c(Q12737077),P17,Q129286) (c(Q12737077),P17,Q183)
action union
action filter_type
action find_reverse
entity Q129286
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q183
relation P17
type Q12737077
[{'concept': 'Q12737077'}, 'P17', 'Q129286'] [{'concept': 'Q12737077'}, 'P17', 'Q183']
SELECT DISTINCT ?p WHERE { { ?p property:P17 resource:Q129286 . ?p rdf:type ontology:Q12737077 } UNION { ?p rdf:type ontology:Q12737077 . ?p property:P17 resource:Q183 } }
British Raj Germany
action union
action filter_type
action find_reverse
entity British Raj
relation country
type occupation
action filter_type
action find_reverse
entity Germany
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'British Raj'] [{'concept': 'occupation'}, 'country', 'Germany']
SELECT DISTINCT ?p WHERE { { ?p property:country resource:British_Raj . ?p rdf:type ontology:occupation } UNION { ?p rdf:type ontology:occupation . ?p property:country resource:Germany } }
[]
occupation
Q22575628 Q22575092 Q4970706
SYSTEM
Federal Minister of the Interior, Federal Minister of Finance, Federal Chancellor of Germany
Q5352166 Q22575628 Q19968923 Q18130496 Q19901432 Q363637 Q18559580 Q20599 Q19360355 Q19731005 Q2006176 Q18618563 Q22575092 Q14917672 Q1362118 Q2141898 Q1939559 Q1939555 Q2855502 Q248352 Q695843 Q22244604 Q15303555 Q17334379 Q24201600 Q518564 Q4970706 Q2101540 Q25223 Q56024 Q56022 Q18220550 Q896878 Q228333 Q3099723 Q2325058 Q17781726 Q17521638 Q504272 Q17519166 Q19362169 Q17481175 Q641159 Q18556824 Q17344251 Q778000 Q17441472 Q23834189 Q15835370 Q18327349 Q23833126 Q15303400 Q449319 Q16102070 Q18130478 Q17586301 Q18327335 Q1005821
(c(Q12737077),P17,Q129286) (c(Q12737077),P17,Q183)
action union
action filter_type
action find_reverse
entity Q129286
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q183
relation P17
type Q12737077
[ANSWERS] are located in British Raj and Germany
[{'concept': 'Q12737077'}, 'P17', 'Q129286'] [{'concept': 'Q12737077'}, 'P17', 'Q183']
SELECT DISTINCT ?p WHERE { { ?p property:P17 resource:Q129286 . ?p rdf:type ontology:Q12737077 } UNION { ?p rdf:type ontology:Q12737077 . ?p property:P17 resource:Q183 } }
Emperor of India Federal Minister of the Interior Permanent Representatives of Germany to NATO Member of the Landtag of Schleswig-Holstein Permanent Representative of Germany to the United Nations President of the Bundesrat of Germany member of Landtag of Saxony-Anhalt Chief Administrator Member of the Hamburg Parliament Parliamentary Secretary in Germany Minister for Foreign Affairs Member of Landtag of Rhineland-Palatinate Federal Minister of Finance Minister-President of Mecklenburg-Vorpommern First Mayor of Hamburg Reisender Member of Landtag member of the German Bundestag chief of police Bundesminister Reichskommissar Chief of Protocol of the german Foreign Office Ministers-President of Bavaria Member of the Landtag of Saxony Prosecutor of the International Military Tribunal in Nuremberg Federal Minister for Special Affairs of Germany Federal Chancellor of Germany political appointee President of Germany President of the Bundestag Chancellor of Germany Member of the Bavarian Senate Chief of Federal Armed Forces Staff Breacher Minister-President German Minister of State member of the Landtag of North Rhine-Westphalia Member of the Landtag of Lower Saxony Vice-Chancellor of Germany Member of the Hessian Parliament Member of the 21st Hamburg Parliament Member of the Landtag of Baden-Württemberg Governing Mayor of Berlin member of the Landtag of Brandenburg Member of the Landtag of Thuringia Ausbildungsberuf member of the Bürgerschaft of Bremen Mayor of Bad Doberan Member of the Bundesrat of Germany Member of the Landtag of Mecklenburg-Vorpommern Minister-President President of the Landtag of Bavaria Public Prosecutor General Marineoffizier Member of the Landtag of Saarland Member of the Landtag of Bavaria Member of the Abgeordnetenhaus of Berlin Federal Commissioner for Data Protection and Freedom of Information
Federal Minister of the Interior, Federal Minister of Finance and Federal Chancellor of Germany are located in British Raj and Germany
Federal Minister of the Interior Federal Minister of Finance Federal Chancellor of Germany
action union
action filter_type
action find_reverse
entity British Raj
relation country
type occupation
action filter_type
action find_reverse
entity Germany
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'British Raj'] [{'concept': 'occupation'}, 'country', 'Germany']
SELECT DISTINCT ?p WHERE { { ?p property:country resource:British_Raj . ?p rdf:type ontology:occupation } UNION { ?p rdf:type ontology:occupation . ?p property:country resource:Germany } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22575092
P1001
Q1048835
USER
Which political territory belongs to jurisdiction of that occupation ?
(Q22575092,P1001,c(Q1048835))
action filter_type
action find
entity Q22575092
relation P1001
type Q1048835
['Q22575092', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q22575092 property:P1001 ?b . ?b rdf:type ontology:Q1048835 }
Federal Minister of Finance
action filter_type
action find
entity Federal Minister of Finance
relation applies to jurisdiction
type political territorial entity
['Federal Minister of Finance', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Federal_Minister_of_Finance property:applies_to_jurisdiction ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q22575628
SYSTEM
Did you mean Federal Minister of the Interior ?
Q22575628 Q22575092 Q4970706
(Q22575628,P1001,c(Q1048835)) (Q22575092,P1001,c(Q1048835)) (Q4970706,P1001,c(Q1048835))
[ANSWER]
['Q22575628', 'P1001', {'concept': 'Q1048835'}] ['Q22575092', 'P1001', {'concept': 'Q1048835'}] ['Q4970706', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q22575092 property:P1001 ?b . ?b rdf:type ontology:Q1048835 }
Federal Minister of the Interior Federal Minister of Finance Federal Chancellor of Germany
Did you mean Federal Minister of the Interior ?
Federal Minister of the Interior
['Federal Minister of the Interior', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Federal Minister of Finance', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Federal Chancellor of Germany', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Federal_Minister_of_Finance property:applies_to_jurisdiction ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Federal Minister of Finance. Could you tell me the answer for that?
(Q22575092,P1001,c(Q1048835))
Q22575092
['Q22575092', 'P1001', {'concept': 'Q1048835'}]
['Federal Minister of Finance', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q22575092,P1001,c(Q1048835))
action filter_type
action find
entity Q22575092
relation P1001
type Q1048835
[ANSWER] belongs to jurisdiction of that occupation
['Q22575092', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q22575092 property:P1001 ?b . ?b rdf:type ontology:Q1048835 }
Germany
Germany belongs to jurisdiction of that occupation
Germany
action filter_type
action find
entity Federal Minister of Finance
relation applies to jurisdiction
type political territorial entity
['Federal Minister of Finance', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Federal_Minister_of_Finance property:applies_to_jurisdiction ?b . ?b rdf:type ontology:political_territorial_entity }
[]