Simple Question (Direct)
Simple Question
Q15436855
P106
Q12737077
USER
Which occupations are the professions of Johann Caspar Nückel ?
(Q15436855,P106,c(Q12737077))
action filter_type
action find
entity Q15436855
relation P106
type Q12737077
['Q15436855', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q15436855 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Johann Caspar Nückel
action filter_type
action find
entity Johann Caspar Nückel
relation occupation
type occupation
['Johann Caspar Nückel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Johann_Caspar_Nückel property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q16533 Q1622272 Q36180
SYSTEM
judge, university teacher, writer
Q16533 Q1622272 Q36180
(Q15436855,P106,c(Q12737077))
action filter_type
action find
entity Q15436855
relation P106
type Q12737077
The professions of Johann Caspar Nückel are court [ANSWERS]
['Q15436855', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q15436855 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
judge university teacher writer
The professions of Johann Caspar Nückel are court judge, university teacher and writer
judge university teacher writer
action filter_type
action find
entity Johann Caspar Nückel
relation occupation
type occupation
['Johann Caspar Nückel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Johann_Caspar_Nückel property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16533 Q1622272 Q36180
P39
Q502895
USER
Who were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q16533) (c(Q502895),P39,Q1622272) (c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q1622272'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?c WHERE { ?c property:P39 ?g . VALUES ( ?g ) { ( resource:Q16533 ) ( resource:Q1622272 ) ( resource:Q36180 ) } . ?c rdf:type ontology:Q502895 }
judge university teacher writer
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'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?c WHERE { ?c property:position_held ?g . VALUES ( ?g ) { ( resource:judge ) ( resource:university_teacher ) ( resource:writer ) } . ?c rdf:type ontology:common_name }
[]
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 Q11294693 Q723621 Q20666477 Q163042 Q5945149 Q4255270
(c(Q502895),P39,Q16533) (c(Q502895),P39,Q1622272) (c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q1622272'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?c WHERE { ?c property:P39 ?g . VALUES ( ?g ) { ( resource:Q16533 ) ( resource:Q1622272 ) ( resource:Q36180 ) } . ?c rdf:type ontology:Q502895 }
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 Henri de Saint-Ignace Paul Nizan Marina Damestoy David Duke José Rocamora Mariano Roca de Togores, 1st Marquis of Molins
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'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?c WHERE { ?c property:position_held ?g . VALUES ( ?g ) { ( resource:judge ) ( resource:university_teacher ) ( resource:writer ) } . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6294
P161
Q838948
USER
What are the name of works of art staring Hillary Clinton ?
(c(Q838948),P161,Q6294)
action filter_type
action find_reverse
entity Q6294
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6294']
SELECT DISTINCT ?g WHERE { ?g property:P161 resource:Q6294 . ?g 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', 'Hillary Clinton']
SELECT DISTINCT ?g WHERE { ?g property:cast_member resource:Hillary_Clinton . ?g 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,Q6294)
action filter_type
action find_reverse
entity Q6294
relation P161
type Q838948
The name of works of art staring Hillary Clinton are [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q6294']
SELECT DISTINCT ?g WHERE { ?g property:P161 resource:Q6294 . ?g rdf:type ontology:Q838948 }
Hillary: The Movie A Conversation With Gregory Peck Shine a Light The Yes Men Are Revolting Darfur Now
The name of works of art staring Hillary Clinton are 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', 'Hillary Clinton']
SELECT DISTINCT ?g WHERE { ?g property:cast_member resource:Hillary_Clinton . ?g rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20630763
P1431
Q502895
USER
Who does that work of art have as its executive producer ?
(Q20630763,P1431,c(Q502895))
action filter_type
action find
entity Q20630763
relation P1431
type Q502895
['Q20630763', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q20630763 property:P1431 ?m . ?m rdf:type ontology:Q502895 }
The Yes Men Are Revolting
action filter_type
action find
entity The Yes Men Are Revolting
relation executive producer
type common name
['The Yes Men Are Revolting', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Yes_Men_Are_Revolting property:executive_producer ?m . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q432102
SYSTEM
Did you mean Shine a Light ?
Q20630763 Q432102 Q2996397
(Q20630763,P1431,c(Q502895)) (Q432102,P1431,c(Q502895)) (Q2996397,P1431,c(Q502895))
[ANSWER]
['Q20630763', 'P1431', {'concept': 'Q502895'}] ['Q432102', 'P1431', {'concept': 'Q502895'}] ['Q2996397', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q20630763 property:P1431 ?m . ?m rdf:type ontology:Q502895 }
The Yes Men Are Revolting Shine a Light A Conversation With Gregory Peck
Did you mean Shine a Light ?
Shine a Light
['The Yes Men Are Revolting', 'executive producer', {'concept': 'common name'}] ['Shine a Light', 'executive producer', {'concept': 'common name'}] ['A Conversation With Gregory Peck', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Yes_Men_Are_Revolting property:executive_producer ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Yes Men Are Revolting. Could you tell me the answer for that?
(Q20630763,P1431,c(Q502895))
Q20630763
['Q20630763', 'P1431', {'concept': 'Q502895'}]
['The Yes Men Are Revolting', 'executive producer', {'concept': 'common name'}]
[]
Q350405
SYSTEM
Adam McKay
Q350405
(Q20630763,P1431,c(Q502895))
action filter_type
action find
entity Q20630763
relation P1431
type Q502895
That work of art has gained [ANSWER] as its executive producer
['Q20630763', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q20630763 property:P1431 ?m . ?m rdf:type ontology:Q502895 }
Adam McKay
That work of art has gained Adam McKay as its executive producer
Adam McKay
action filter_type
action find
entity The Yes Men Are Revolting
relation executive producer
type common name
['The Yes Men Are Revolting', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Yes_Men_Are_Revolting property:executive_producer ?m . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6242859
P248
Q1209283 Q191067 Q502895
USER
How many people have been recognized first in lesser number of electronic medias or articles than John Kennedy ?
(c(Q502895),P248,c(Q1209283)|c(Q191067))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1209283
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q6242859
relation P248
type Q1209283
type Q191067
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1209283'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?v WHERE { { ?v property:P248 ?o . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q1209283 } UNION { ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q191067 . ?v property:P248 ?o } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q6242859 property:P248 ?q . { { ?q rdf:type ontology:Q1209283 } UNION { ?q rdf:type ontology:Q191067 } } } } . FILTER ( ?c < ?m ) }
John Kennedy
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type electronic media
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity John Kennedy
relation stated in
type electronic media
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'electronic media'}, {'concept': 'article'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?v WHERE { { ?v property:stated_in ?o . ?v rdf:type ontology:common_name . ?o rdf:type ontology:electronic_media } UNION { ?v rdf:type ontology:common_name . ?o rdf:type ontology:article . ?v property:stated_in ?o } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:John_Kennedy property:stated_in ?q . { { ?q rdf:type ontology:electronic_media } UNION { ?q rdf:type ontology:article } } } } . FILTER ( ?c < ?m ) }
[]
electronic media article common name
SYSTEM
342
Q16859599 Q6130307 Q6255166 Q5239877 Q5239876 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q6262991 Q15456236 Q6249889 Q6255181 Q6249883 Q15996304 Q18527481 Q16225368 Q861695 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6236088 Q18546647 Q6236083 Q6236081 Q6221407 Q9069823 Q7351119 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260655 Q6249873 Q6255172 Q6249879 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228766 Q5232850 Q5232857 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q6221434 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q16065305 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q6263006 Q6263007 Q15452052 Q6255417 Q16105132 Q6262977 Q18593210 Q6246952 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q18527209 Q16027113 Q16043626 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q21515457 Q17385895 Q16466630 Q16031827 Q6255286 Q5241196 Q6255179 Q6262733 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q18546653 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145007 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q1209283)|c(Q191067))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1209283
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q6242859
relation P248
type Q1209283
type Q191067
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1209283'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?v WHERE { { ?v property:P248 ?o . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q1209283 } UNION { ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q191067 . ?v property:P248 ?o } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q6242859 property:P248 ?q . { { ?q rdf:type ontology:Q1209283 } UNION { ?q rdf:type ontology:Q191067 } } } } . FILTER ( ?c < ?m ) }
William Thompson James Brown John Roberts David Smith David Smith David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall John Hall David Davies John Robinson John Parker Greg Smith John Simpson John Rogers John Ward John Ward John Ward William Williams John Murphy John Roberts John Murphy John Martin Robert Williams John Rogers William Robinson John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Gray John Williams John Gray John Gray John Bell Robert Williams Robert Williams James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Martin John Parker John Robinson John Robinson David Evans John Carter William Walker William Thompson John Brown John Smith David Wilson John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Roberts John Murphy John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Murphy David Smith John Bell John Bell John Hill John Bell Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson David Smith Colin Campbell David Smith William Walker William Walker John Thompson David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell George Brown John Wilson David Smith Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson John Ward John Ward John Rogers John Rogers John Kennedy John Ward John Davies John Martin George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Lewis John Roberts William Thompson William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans William Williams John Hill William Williams William Williams William Williams Rolando Valdès-Blain David Evans John Bell John Rogers John Robinson David Wilson John Roberts John Walker John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams John Williams John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Martin John Martin John Ward William Williams John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
342
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type electronic media
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity John Kennedy
relation stated in
type electronic media
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'electronic media'}, {'concept': 'article'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?v WHERE { { ?v property:stated_in ?o . ?v rdf:type ontology:common_name . ?o rdf:type ontology:electronic_media } UNION { ?v rdf:type ontology:common_name . ?o rdf:type ontology:article . ?v property:stated_in ?o } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:John_Kennedy property:stated_in ?q . { { ?q rdf:type ontology:electronic_media } UNION { ?q rdf:type ontology:article } } } } . FILTER ( ?c < ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5240345
P248
Q1209283 Q191067 Q502895
USER
And what about David Thomas?
(c(Q502895),P248,c(Q1209283)|c(Q191067))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1209283
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q5240345
relation P248
type Q1209283
type Q191067
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1209283'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1209283 ) ( ontology:Q191067 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { { ?g rdf:type ontology:Q1209283 } UNION { ?g rdf:type ontology:Q191067 } } . resource:Q5240345 property:P248 ?g } } . FILTER ( ?s < ?f ) }
David Thomas
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type electronic media
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity David Thomas
relation stated in
type electronic media
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'electronic media'}, {'concept': 'article'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?x . VALUES ( ?x ) { ( ontology:electronic_media ) ( ontology:article ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { { ?g rdf:type ontology:electronic_media } UNION { ?g rdf:type ontology:article } } . resource:David_Thomas property:stated_in ?g } } . FILTER ( ?s < ?f ) }
[]
electronic media article common name
SYSTEM
342
Q16859599 Q6130307 Q6255166 Q5239877 Q5239876 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q6262991 Q15456236 Q6249889 Q6255181 Q6249883 Q15996304 Q18527481 Q16225368 Q861695 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6236088 Q18546647 Q6236083 Q6236081 Q6221407 Q9069823 Q7351119 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260655 Q6249873 Q6255172 Q6249879 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228766 Q5232850 Q5232857 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q6221434 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q16065305 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q6263006 Q6263007 Q15452052 Q6255417 Q16105132 Q6262977 Q18593210 Q6246952 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q18527209 Q16027113 Q16043626 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q21515457 Q17385895 Q16466630 Q16031827 Q6255286 Q5241196 Q6255179 Q6262733 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q18546653 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145007 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q1209283)|c(Q191067))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1209283
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q5240345
relation P248
type Q1209283
type Q191067
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1209283'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1209283 ) ( ontology:Q191067 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { { ?g rdf:type ontology:Q1209283 } UNION { ?g rdf:type ontology:Q191067 } } . resource:Q5240345 property:P248 ?g } } . FILTER ( ?s < ?f ) }
William Thompson James Brown John Roberts David Smith David Smith David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall John Hall David Davies John Robinson John Parker Greg Smith John Simpson John Rogers John Ward John Ward John Ward William Williams John Murphy John Roberts John Murphy John Martin Robert Williams John Rogers William Robinson John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Gray John Williams John Gray John Gray John Bell Robert Williams Robert Williams James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Martin John Parker John Robinson John Robinson David Evans John Carter William Walker William Thompson John Brown John Smith David Wilson John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Roberts John Murphy John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Murphy David Smith John Bell John Bell John Hill John Bell Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson David Smith Colin Campbell David Smith William Walker William Walker John Thompson David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell George Brown John Wilson David Smith Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson John Ward John Ward John Rogers John Rogers John Kennedy John Ward John Davies John Martin George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Lewis John Roberts William Thompson William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans William Williams John Hill William Williams William Williams William Williams Rolando Valdès-Blain David Evans John Bell John Rogers John Robinson David Wilson John Roberts John Walker John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams John Williams John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Martin John Martin John Ward William Williams John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
342
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type electronic media
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity David Thomas
relation stated in
type electronic media
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'electronic media'}, {'concept': 'article'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?x . VALUES ( ?x ) { ( ontology:electronic_media ) ( ontology:article ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { { ?g rdf:type ontology:electronic_media } UNION { ?g rdf:type ontology:article } } . resource:David_Thomas property:stated_in ?g } } . FILTER ( ?s < ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20630763
P1040
Q502895
USER
Who have editted The Yes Men Are Revolting ?
(Q20630763,P1040,c(Q502895))
action filter_type
action find
entity Q20630763
relation P1040
type Q502895
['Q20630763', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q20630763 property:P1040 ?k . ?k rdf:type ontology:Q502895 }
The Yes Men Are Revolting
action filter_type
action find
entity The Yes Men Are Revolting
relation film editor
type common name
['The Yes Men Are Revolting', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Yes_Men_Are_Revolting property:film_editor ?k . ?k rdf:type ontology:common_name }
[]
common name
Q20722018 Q20722016
SYSTEM
Todd Woody Richman, Søren B. Ebbe
Q20722018 Q20722016
(Q20630763,P1040,c(Q502895))
action filter_type
action find
entity Q20630763
relation P1040
type Q502895
[ANSWERS] have editted The Yes Men Are Revolting
['Q20630763', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q20630763 property:P1040 ?k . ?k rdf:type ontology:Q502895 }
Todd Woody Richman Søren B. Ebbe
Todd Woody Richman and Søren B. Ebbe have editted The Yes Men Are Revolting
Todd Woody Richman Søren B. Ebbe
action filter_type
action find
entity The Yes Men Are Revolting
relation film editor
type common name
['The Yes Men Are Revolting', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Yes_Men_Are_Revolting property:film_editor ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q350405
P1411
Q4220917
USER
Which film awards did Adam McKay receive ?
(Q350405,P1411,c(Q4220917))
action filter_type
action find
entity Q350405
relation P1411
type Q4220917
['Q350405', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?c WHERE { resource:Q350405 property:P1411 ?c . ?c rdf:type ontology:Q4220917 }
Adam McKay
action filter_type
action find
entity Adam McKay
relation nominated for
type film award
['Adam McKay', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?c WHERE { resource:Adam_McKay property:nominated_for ?c . ?c rdf:type ontology:film_award }
[]
film award
Q107258 Q103360
SYSTEM
Academy Award for Best Writing, Adapted Screenplay, Academy Award for Best Director
Q107258 Q103360
(Q350405,P1411,c(Q4220917))
action filter_type
action find
entity Q350405
relation P1411
type Q4220917
Adam McKay received the [ANSWERS]
['Q350405', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?c WHERE { resource:Q350405 property:P1411 ?c . ?c rdf:type ontology:Q4220917 }
Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Director
Adam McKay received the Academy Award for Best Writing, Adapted Screenplay and Academy Award for Best Director
Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Director
action filter_type
action find
entity Adam McKay
relation nominated for
type film award
['Adam McKay', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?c WHERE { resource:Adam_McKay property:nominated_for ?c . ?c rdf:type ontology:film_award }
[]