Simple Question (Direct)
Simple Question
Q5546362
P26
Q502895
USER
Which person is the life partner of Hedwig of Anhalt ?
(Q5546362,P26,c(Q502895))
action filter_type
action find
entity Q5546362
relation P26
type Q502895
['Q5546362', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q5546362 property:P26 ?m }
Hedwig of Anhalt
action filter_type
action find
entity Hedwig of Anhalt
relation spouse
type common name
['Hedwig of Anhalt', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Hedwig_of_Anhalt property:spouse ?m }
[]
common name
Q53439
SYSTEM
Bolesław II Rogatka
Q53439
(Q5546362,P26,c(Q502895))
action filter_type
action find
entity Q5546362
relation P26
type Q502895
[ANSWER] is the life partner of Hedwig of Anhalt
['Q5546362', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q5546362 property:P26 ?m }
Bolesław II Rogatka
Bolesław II Rogatka is the life partner of Hedwig of Anhalt
Bolesław II Rogatka
action filter_type
action find
entity Hedwig of Anhalt
relation spouse
type common name
['Hedwig of Anhalt', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Hedwig_of_Anhalt property:spouse ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q53439
P22
Q502895
USER
Which people have that one as dad ?
(c(Q502895),P22,Q53439)
action filter_type
action find_reverse
entity Q53439
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q53439']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q53439 }
Bolesław II Rogatka
action filter_type
action find_reverse
entity Bolesław II Rogatka
relation father
type common name
[{'concept': 'common name'}, 'father', 'Bolesław II Rogatka']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Bolesław_II_Rogatka }
[]
common name
Q673302 Q571475 Q394781
SYSTEM
Bolko I the Strict, Henry V, Duke of Legnica, Agnes of Schlesien Liegnitz
Q394781 Q571475 Q557444 Q673302
(c(Q502895),P22,Q53439)
action filter_type
action find_reverse
entity Q53439
relation P22
type Q502895
[ANSWERS] have that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q53439']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q53439 }
Agnes of Schlesien Liegnitz Henry V, Duke of Legnica Bernard the Lightsome Bolko I the Strict
Bolko I the Strict, Henry V, Duke of Legnica and Agnes of Schlesien Liegnitz have that one as dad
Bolko I the Strict Henry V, Duke of Legnica Agnes of Schlesien Liegnitz
action filter_type
action find_reverse
entity Bolesław II Rogatka
relation father
type common name
[{'concept': 'common name'}, 'father', 'Bolesław II Rogatka']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Bolesław_II_Rogatka }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q571475
P53
Q8436 Q13417114
USER
How many families and noble families do Henry V, Duke of Legnica belong to ?
(Q571475,P53,c(Q8436)) (Q571475,P53,c(Q13417114))
action count
action union
action filter_type
action find
entity Q571475
relation P53
type Q8436
action filter_type
action find
entity Q571475
relation P53
type Q13417114
['Q571475', 'P53', {'concept': 'Q8436'}] ['Q571475', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { resource:Q571475 property:P53 ?q . ?q rdf:type ontology:Q8436 } UNION { resource:Q571475 property:P53 ?q . ?q rdf:type ontology:Q13417114 } }
Henry V, Duke of Legnica
action count
action union
action filter_type
action find
entity Henry V, Duke of Legnica
relation noble family
type family
action filter_type
action find
entity Henry V, Duke of Legnica
relation noble family
type noble family
['Henry V, Duke of Legnica', 'noble family', {'concept': 'family'}] ['Henry V, Duke of Legnica', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { resource:Henry_V,_Duke_of_Legnica property:noble_family ?q . ?q rdf:type ontology:family } UNION { resource:Henry_V,_Duke_of_Legnica property:noble_family ?q . ?q rdf:type ontology:noble_family } }
[]
family noble family
SYSTEM
1 families and 1 noble families
Q1929625 Q201615
(Q571475,P53,c(Q8436)) (Q571475,P53,c(Q13417114))
action count
action union
action filter_type
action find
entity Q571475
relation P53
type Q8436
action filter_type
action find
entity Q571475
relation P53
type Q13417114
[ANSWER]
['Q571475', 'P53', {'concept': 'Q8436'}] ['Q571475', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { resource:Q571475 property:P53 ?q . ?q rdf:type ontology:Q8436 } UNION { resource:Q571475 property:P53 ?q . ?q rdf:type ontology:Q13417114 } }
Silesian Piasts Piast dynasty
1 families and 1 noble families
action count
action union
action filter_type
action find
entity Henry V, Duke of Legnica
relation noble family
type family
action filter_type
action find
entity Henry V, Duke of Legnica
relation noble family
type noble family
['Henry V, Duke of Legnica', 'noble family', {'concept': 'family'}] ['Henry V, Duke of Legnica', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { resource:Henry_V,_Duke_of_Legnica property:noble_family ?q . ?q rdf:type ontology:family } UNION { resource:Henry_V,_Duke_of_Legnica property:noble_family ?q . ?q rdf:type ontology:noble_family } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q201658 Q15961987
USER
Which people are min number of film genres and television genres considered a copy of ?
(c(Q201658)|c(Q15961987),P144,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q201658
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
[[{'concept': 'Q201658'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:P144 ?b . ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q15961987 } UNION { ?d property:P144 ?b . ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q201658 } } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?q ) WHERE { VALUES ( ?x ) { ( ontology:Q201658 ) ( ontology:Q15961987 ) } . ?n rdf:type ?x } GROUP BY ?g } . FILTER ( ?q = ?s ) }
action argmin
action union
action find_reverse_tuple_counts
relation based on
type common name
type film genre
action find_reverse_tuple_counts
relation based on
type common name
type television genre
[[{'concept': 'film genre'}, {'concept': 'television genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:based_on ?b . ?b rdf:type ontology:common_name . ?d rdf:type ontology:television_genre } UNION { ?d property:based_on ?b . ?b rdf:type ontology:common_name . ?d rdf:type ontology:film_genre } } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?q ) WHERE { VALUES ( ?x ) { ( ontology:film_genre ) ( ontology:television_genre ) } . ?n rdf:type ?x } GROUP BY ?g } . FILTER ( ?q = ?s ) }
[]
common name film genre television genre
Q937 Q76 Q692
SYSTEM
Albert Einstein, Barack Obama, William Shakespeare
Q5213748 Q4761074 Q6956765 Q6270274 Q6183043 Q11975 Q7346914 Q5523435 Q696052 Q467216 Q6170802 Q7329545 Q313048 Q485508 Q6105915 Q4910639 Q1136623 Q298920 Q6219253 Q5677173 Q3416089 Q16560426 Q3034976 Q3607759 Q8068814 Q6253512 Q51513 Q6523571 Q4739623 Q11413422 Q125970 Q81000 Q5346446 Q40939 Q3141517 Q7613152 Q5941619 Q852306 Q7364949 Q333265 Q897973 Q188296 Q1964376 Q5488892 Q6244057 Q134958 Q6881211 Q6261706 Q7368981 Q45260 Q4796744 Q4759664 Q704997 Q5685 Q5686 Q4128234 Q1093885 Q5673 Q5679 Q130631 Q937 Q7381376 Q334993 Q6851849 Q6272923 Q3568976 Q5363776 Q93839 Q6776113 Q6968888 Q1493568 Q3218695 Q6388687 Q6956378 Q5478599 Q294931 Q937459 Q6241721 Q70326 Q7855008 Q7287789 Q222831 Q6106879 Q348001 Q167752 Q717294 Q310800 Q93349 Q14395546 Q6375547 Q744183 Q7000426 Q160333 Q907550 Q3471259 Q546044 Q6760308 Q2843390 Q2686976 Q1303974 Q5339422 Q5262123 Q313866 Q5358877 Q6773628 Q8015110 Q5386986 Q296313 Q2669574 Q327426 Q207 Q5431144 Q7226 Q2479548 Q3159808 Q6147389 Q5361154 Q5107501 Q6748293 Q7200 Q5233328 Q6965802 Q3179129 Q13427328 Q448606 Q958256 Q1658606 Q6141832 Q6469613 Q79031 Q7437284 Q2850177 Q191103 Q236278 Q7458228 Q3183180 Q3530721 Q3020878 Q4763725 Q5592 Q6389787 Q222134 Q60029 Q5322119 Q7555592 Q5052809 Q6451338 Q7363505 Q5314594 Q11238103 Q5314597 Q8029867 Q312692 Q357498 Q6250890 Q232913 Q5264 Q4971073 Q157040 Q12309539 Q5538431 Q3228926 Q12014160 Q6681382 Q47551 Q932961 Q6702448 Q266789 Q13115017 Q6529581 Q378053 Q219780 Q724506 Q4411247 Q6988258 Q154438 Q434317 Q3453643 Q555195 Q229556 Q6209183 Q6702342 Q20968737 Q7143507 Q57242 Q11618411 Q22088567 Q7287962 Q292808 Q6744190 Q4773434 Q6134013 Q844318 Q37085 Q619787 Q7812697 Q298877 Q2274948 Q2956128 Q1354071 Q75746 Q2146982 Q692 Q3431063 Q715909 Q1263456 Q808209 Q168962 Q5701833 Q5181529 Q7341746 Q5701939 Q1357554 Q10133 Q5213609 Q7273310 Q734955 Q3619249 Q5298523 Q7922094 Q5193069 Q1445614 Q7436898 Q3296847 Q269812 Q76 Q11447916 Q202749 Q7025282 Q6773747 Q827300 Q7093943 Q7447135 Q608806 Q47216 Q2413649 Q4065275 Q177854 Q1385693 Q503068 Q5545478 Q311070 Q2521963 Q6257365 Q1394 Q4817706 Q185696 Q6409985 Q8963 Q1398 Q5849494 Q920200 Q3331614 Q14338667 Q467646 Q5560909 Q2502372 Q7911349 Q186486 Q5363538 Q5344093 Q3047194 Q6297405 Q154010 Q557360 Q154014 Q1361147 Q7613410 Q14544902 Q3347897 Q6134127 Q3595313 Q46926 Q5354229 Q2085146 Q5089814 Q5549017 Q11950533 Q1342909 Q202650 Q7704287 Q276615 Q4730754 Q7437294 Q4898960 Q5363054 Q197359 Q506878 Q7151235 Q548960 Q6760327 Q7456663 Q189081 Q4532024 Q3161193 Q5077339 Q4187362 Q6814106 Q148714 Q2449527 Q5272307 Q5296634 Q3105052 Q297743 Q5640722 Q4899508 Q3301790 Q4696245 Q3376515 Q5610225 Q57652 Q26267872 Q350552 Q6962760 Q508218 Q5363300 Q7181755 Q3430915 Q2493515 Q6793420 Q840990 Q5079691 Q192218 Q3839050 Q139739 Q154340 Q6074798 Q5361214 Q81445 Q5298362 Q5444237 Q11584822 Q3157127 Q184935 Q7150519 Q7369542 Q5136905 Q7668588 Q4739578 Q6762778 Q6376290 Q110714 Q284812 Q6304164 Q41223 Q3083638 Q2618824 Q5145551 Q6184230 Q1956342 Q9640 Q1394497 Q466488 Q5213429 Q7347337 Q6143676 Q182788 Q13564502 Q4647806 Q3741955 Q649790 Q5026262 Q699619 Q22670 Q306914 Q11270727 Q7364277 Q7436164 Q3079968 Q2396324 Q7307753 Q7670494 Q51505 Q4884844 Q3334185 Q7357712 Q626859 Q7397840 Q43718 Q768296 Q1391877 Q2845322 Q3502960 Q6446710 Q1494674 Q3182354 Q23722455 Q22714 Q3568651 Q176819 Q5106606 Q337185 Q6101 Q7175413 Q5006730 Q5516058 Q6914955 Q7706913 Q6691 Q5344127 Q4864658 Q188794 Q6774650 Q213549 Q159905 Q13378842 Q7106226 Q3564902 Q1441684 Q4446505 Q1755191 Q191305 Q106255 Q493 Q4977335 Q5294036 Q6938000 Q370392 Q82180 Q1527473 Q1237718 Q4518059 Q170846 Q317894 Q1485988 Q7177457 Q311966 Q4808343 Q6282963 Q3909034 Q1048 Q319261 Q7346262 Q315607 Q6531163 Q1383201 Q132695 Q309643 Q3595177 Q154732 Q3081707 Q93938 Q36268 Q3088826 Q155855 Q4772439 Q5071329 Q6833091 Q4897616 Q5529938 Q152779 Q152672 Q12768607 Q7373284 Q5423761 Q5354389 Q7456549 Q13559801 Q6152339 Q8011009 Q4900700 Q5216759 Q191999 Q150471 Q161154 Q6963187 Q4758379 Q6680423 Q4963602 Q5586024 Q5620219 Q3849499 Q549242 Q237196 Q900541 Q40096 Q634100 Q7668479 Q4664427 Q646852 Q5136879 Q3327572 Q13115080 Q9096027 Q14302511 Q6409284 Q2723574 Q7688102 Q5968600 Q879812 Q4118071 Q245802 Q318462 Q6135694 Q213614 Q1912368 Q521095 Q4505465 Q3469340 Q4954433 Q5339868 Q11685189 Q3241962
(c(Q201658)|c(Q15961987),P144,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q201658
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
Min number of film genres and television genres are considered a copy of [ANSWERS]
[[{'concept': 'Q201658'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:P144 ?b . ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q15961987 } UNION { ?d property:P144 ?b . ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q201658 } } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?q ) WHERE { VALUES ( ?x ) { ( ontology:Q201658 ) ( ontology:Q15961987 ) } . ?n rdf:type ?x } GROUP BY ?g } . FILTER ( ?q = ?s ) }
Dan Jenkins Andy Mulligan Nabarun Bhattacharya Jon Abbate Jerrard Tickell Britney Spears Robert Lindsey Garland Roark Arnold Rothstein Amy Fisher Jean Hanff Korelitz Richard Tregaskis Bob Kane Charles Manson J. H. Wallis Bill Richmond Fujiwara no Hidesato Charles M. Schulz John Appleby Harvey Fergusson Rachel Crothers Giulia Varano Dominique Barbéris Alan Le May Zelma Roberts John Pudney Hugo von Hofmannsthal Leo Brady Amanda Foreman Yasumi Yoshizawa Keigo Higashino Richard II of England Edwin Gilbert Aeschylus Pêr-Jakez Helias Steve Lieber Humphrey Slater Fred Mustard Stewart Ronald Hugh Morrieson Léon Theremin Pavol Dobšinský Boris Gryzlov Anthony Poshepny Frank Parkin John Larkin Taras Shevchenko Mitchell F. Jayne John Vaillant Rosita Forbes Hans Kohlhase Art Cohn Andrzej Mularczyk Ivan Boesky Anton Chekhov Charles Dickens William P. Wood Hathi Hans Christian Andersen Lord Byron Jacques Derrida Albert Einstein Russell Braddon Eugene V. Debs Milicent Bagot Jonathan Dawson William Still Elizabeth Young Gary M. Heidnik Martin Maher Nathan Barksdale James Porter Laura Kasischke Ken Wheat Na Do-hyang Frances Doel William Randolph Hearst Niranjan Pal John Jay Osborn, Jr. Pierre Beaumarchais Turk Pipkin Ralph Leighton Ilich Ramírez Sánchez J. R. Salamanca Rainis Zequinha de Abreu Krystyna Skarbek John Reed Bessie Smith Mikhail Alexeyevich Khludov Kate Howarde Charles de Batz-Castelmore d'Artagnan Netta Syrett Prosper Mérimée Eugène Turpin Samuel W. Taylor Thakazhi Sivasankara Pillai Margery Lawrence Amina Andrea Evans Eileen Joyce Edmund Duggan Derek Lambert William Adams Jun Ikeido Marshall Houts William Marchant Eric Lomax Kim Philby Barry Gifford Sean Flynn George W. Bush Faith Baldwin Joan of Arc Bas Jan Ader Jacques Prevel Jamie Reidy Elinor Lipman Chris Morgan Mandy Grunwald Alexander Pushkin David Elfick Narendranath Mitra Jimmy Starr Joseph Moncure March Theresa Saldana Fujio Akatsuka Ilja Prachař James Ramsey Ullman Ladislas Farago Mike Tyson Scott Sommer Anita Hill Lucrezia Borgia Tonya Harding Sewell Stokes Jon Cleary Tom Eyen Deborah Moggach Angna Enters Michelangelo Kenneth A. Jackson Ted Kaczynski Oskar Schindler E. Ray Goetz Sol Wachtler Catherine Marshall Kyle Onstott Ron Barrett Duncan Rouleau T. R. Sundaram Duncan Sarkies Wolf Mankowitz Bud Powell Gary Ridgway John O'Grady Beatrice Portinari Hippocrates Sara Jane Olson Lajos Kossuth Eik Skaløe George Dawes Green Lee Robinson Huh Young-man Lorna Moon Titian Mary Jane Ward Luke Whisnant Rebecca Schaeffer Santhosh Echikkanam Les Haylen Rob Roy MacGregor Hunter S. Thompson John E. Douglas Glendon Swarthout Neil B. Shulman Franz Grillparzer Dee Dee Myers Ruth Snyder Héctor Lavoe Patty Hearst Joe Connelly Luke Short Christian Friedrich Haupt Pat Hanna August von Kotzebue Hiroshi Aramata Philip Hamilton Ralph Peterson Sunny von Bülow Mallika Yunis Anthony Scott Veitch James Fogle Hase Seishū Solomon Tin Hinan Todd Walton Giuliano de' Medici Philostratus Channing Pollock Paul Jennings Hill G. A. Kulkarni Gabrielle Lord William Shakespeare Richard N. Goodwin Louis-Léopold Boilly Dan White Barisan of Ibelin Torquato Tasso Helen Ashton Craig Titley Robert B. Rheault Helen Brach Svetozár Hurban-Vajanský Suetonius Dan Greenburg R.B. Russell Robinson Jeffers Antonio Beltramelli Dorothy M. Johnson Vernon Coleman Cully Hamner František Kubka Scott Moore Dave Toschi Christina Nilsson Barack Obama Kan Shimozawa Edmond Rostand Nicholas Dante Marshall Pugh Bert Bailey Oniroku Dan Sekar Ayu Asmara Yumiko Kawahara Condoleezza Rice John List Alex Anderson Lorenzo de' Medici Jerry Brudos Andrej Sládkovič George Vecsey David Crockett Alan Hackney John Seybold Vladimir Lenin Atrpet Louisa May Alcott Kimberly Willis Holt Johannes Kepler Virgil Richard Hough Charles Starkweather Myron Coureval Fagan Zainab Singh Jane Franklin Gilbert Frankau Alan White Valerie Tripp Hachikō Elizabeth Spencer Edward Lee Ed Naha Joyce Brabner Christoph Martin Wieland Ármin Vámbéry Georg Büchner Boris Lavrenyov Steve Moore Henri d'Aramitz Ashapoorna Devi James Fox S. K. Pottekkatt Chetan Bhagat Eleanor Bumpurs Philip Van Doren Stern Chelangatt Gopalakrishnan Gerald Clarke Sun Xia Albert DeSalvo Abd el-Krim Terry Davis Gabriela Preissová Allan Knee Scott Spencer Betty Roland Elizabeth Kata Empress Zhang Emmett Till Paul Hemphill David Graham Phillips Marghanita Laski Sethu Howard Hughes Beulah Annan James R. Jordan, Sr. Charles Einstein Ahmad Tohari Melvin Williams Jaime Escalante Susan Smith Dibyendu Palit Donnie Andrews Giacomo Francesco Bussani Lillie Langtry Hal Carleton Beverly Donofrio Maury Dexter Ahn Jung-hyo Peter Corris Yoshikazu Takeuchi Helle Thorning-Schmidt Marianne Ihlen Kálmán Mikszáth Nancy Jo Sales Nisio Isin Elizabeth Packard Phil Campbell Richard Jessup Else Holmelund Minarik Maurice Procter Yang Sok-il Charles Keating Ted Bundy Lucy Hay, Countess of Carlisle Walker Hamilton Francis Bacon Irving Shulman Eliot Asinof Salawat Yulayev Dorothy Cottrell Ferguson Findley Ayumi Ishii Jack Bernstein Mihai Eminescu Paul Ernst Ross Napier Clyde Edgerton T. Padmanabhan Amanda Brown Marie Brenner Katherine Ann Power Lester Young Samuel Wilson Philippe Mora Boris Pasternak François-René Crespin du Bec Caril Ann Fugate Colin Scrimgeour Jerry Parr Taku Mayumura Lyndon B. Johnson Tawana Brawley rape allegations Estella Marie Thompson Dan Dunn Robert Marasco James Still Newt Gingrich T. P. Rajeevan A. G. Street Isaac de Porthau Harry Grey Cameron Hawley Vladislav Vančura Friedrich Schiller Abbé Faria James Bridie Ron Powers Scott Corbett Ted Key David Giler Reg Cribb TJ Dawe Jean Baptiste Antoine Marcellin de Marbot Belva Gaertner Susan Isaacs Rogelio Barriga Rivas Kang Full Sadguru Sivananda Murty Nikolai Gogol Margaret Ayer Barnes František Hrubín Anandi Gopal Joshi Sue Miller Kurt Eichenwald James Hunter John Requa Andrei Karl May William Gay Thomas W. Sneddon, Jr. Chris Fuhrman Audie Murphy Marco Polo Peter Lefcourt C. N. Sreekantan Nair Gabrielle Carey Morton Thompson Tetsuo Takashima Homer Edward Levy Barry Reed Isaiah Marthe Cnockaert Friedrich Maximilian Klinger Hipparchus George Lutz Oscar Requer Zikmund Winter Francis Paudras Katariina Souri Sutan Takdir Alisjahbana Gérard de Nerval Jean-Paul Belmondo Arthur Rimbaud Bruce Cutler Donald Bevan Nicholas Markowitz Borisav Stanković Mata Hari Gisela Werler Franz-Olivier Giesbert Hank Searls Erzsébet Báthory Galeazzo Maria Sforza Mikheil Javakhishvili Peter Van Greenaway Roger Casement Assaf Bernstein Joseph F. Dinneen Porter Emerson Browne Julius Caesar Eugène Scribe Robert Kaplow David Farragut Leslie Stokes Ján Hollý Harry Martinson Ed Gein Jessica Lal Agrippina the Younger Ib Melchior Gary Friedrich Brigitte Bardot Grace Zaring Stone Karel Čapek Anthony E. Pratt Chandradhar Sharma Guleri Michael Noonan Beth Raymer Geeta Anand Louise Brooks John Demjanjuk Ján Poničan Roy Radin F.J. Thwaites Eleanor Smith Seth Margolis Harris Goldberg Jane Hamilton William Hatfield Bhagwati Charan Verma Daniel Carney Robert McNamara E. T. A. Hoffmann Lola Montez Nandanar Andrew Revkin Loren Singer Brian Dowling Gordon Young Gurney Slade Mark Jacobson Edmund Kemper H. Rider Haggard Cecil Jacobson Will Smith Josef Kajetán Tyl T. Lewis Abburi Ravi Aleksandr Figner Clyde Brion Davis Mukul S. Anand C. V. Balakrishnan William Craig Boota Singh Kim Ryeo-ryeong Narsinh Mehta Tatiana Niculescu Bran Jeffrey Reddick Pōmare V Pamela Smart Alexandre Stavisky Edward Bulwer-Lytton James Haskins Cyrano de Bergerac Max Catto Robert M. Morgenthau Kim Tak-hwan Sakae Tsuboi Wanda Holloway Edmund Trzcinski John Farris Lionel White
Min number of film genres and television genres are considered a copy of Albert Einstein, Barack Obama and William Shakespeare
Albert Einstein Barack Obama William Shakespeare
action argmin
action union
action find_reverse_tuple_counts
relation based on
type common name
type film genre
action find_reverse_tuple_counts
relation based on
type common name
type television genre
[[{'concept': 'film genre'}, {'concept': 'television genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:based_on ?b . ?b rdf:type ontology:common_name . ?d rdf:type ontology:television_genre } UNION { ?d property:based_on ?b . ?b rdf:type ontology:common_name . ?d rdf:type ontology:film_genre } } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?q ) WHERE { VALUES ( ?x ) { ( ontology:film_genre ) ( ontology:television_genre ) } . ?n rdf:type ?x } GROUP BY ?g } . FILTER ( ?q = ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q692
P50
Q7725634
USER
What are the literary works written by that person ?
(c(Q7725634),P50,Q692)
action filter_type
action find_reverse
entity Q692
relation P50
type Q7725634
[{'concept': 'Q7725634'}, 'P50', 'Q692']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q692 . ?l rdf:type ontology:Q7725634 }
William Shakespeare
action filter_type
action find_reverse
entity William Shakespeare
relation author
type literary work
[{'concept': 'literary work'}, 'author', 'William Shakespeare']
SELECT DISTINCT ?l WHERE { ?l property:author resource:William_Shakespeare . ?l rdf:type ontology:literary_work }
[]
literary work
Clarification for simple ques.
Q937
SYSTEM
Did you mean Albert Einstein ?
Q937 Q76 Q692
(c(Q7725634),P50,Q937) (c(Q7725634),P50,Q76) (c(Q7725634),P50,Q692)
[ANSWER]
[{'concept': 'Q7725634'}, 'P50', 'Q937'] [{'concept': 'Q7725634'}, 'P50', 'Q76'] [{'concept': 'Q7725634'}, 'P50', 'Q692']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q692 . ?l rdf:type ontology:Q7725634 }
Albert Einstein Barack Obama William Shakespeare
Did you mean Albert Einstein ?
Albert Einstein
[{'concept': 'literary work'}, 'author', 'Albert Einstein'] [{'concept': 'literary work'}, 'author', 'Barack Obama'] [{'concept': 'literary work'}, 'author', 'William Shakespeare']
SELECT DISTINCT ?l WHERE { ?l property:author resource:William_Shakespeare . ?l rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
USER
No, I meant William Shakespeare. Could you tell me the answer for that?
(c(Q7725634),P50,Q692)
Q692
[{'concept': 'Q7725634'}, 'P50', 'Q692']
[{'concept': 'literary work'}, 'author', 'William Shakespeare']
[]
Q3490574 Q1867257 Q729198
SYSTEM
Sonnet 69, Sonnet 81, Sonnet 13
Q1867257 Q729198 Q3490574 Q3490571 Q3490570 Q3490573 Q3490579 Q3490578 Q3490609 Q3081622 Q3081315 Q2527863 Q3490601 Q518318 Q3490606 Q3081629 Q3490604 Q2542610 Q745646 Q2480137 Q3081927 Q3081921 Q2488958 Q2479923 Q3081247 Q742433 Q3490504 Q3081611 Q303219 Q3490502 Q3081325 Q776950 Q2634823 Q595442 Q3490509 Q3490507 Q3138053 Q951364 Q3490588 Q3490589 Q3490503 Q3490580 Q3490581 Q1195233 Q3490584 Q3490585 Q3490586 Q19039449 Q2286947 Q3081682 Q3081689 Q3081604 Q3081335 Q737402 Q3490513 Q3490620 Q3490510 Q3081234 Q3490516 Q3490515 Q678764 Q3490519 Q3490599 Q3490593 Q3490591 Q2856504 Q3490596 Q2404367 Q3081578 Q2538872 Q3081571 Q3081345 Q3138762 Q3490526 Q3490527 Q3490524 Q3490525 Q661997 Q3490521 Q3081675 Q3490529 Q3081837 Q257129 Q763277 Q3490594 Q3137800 Q3490539 Q3490538 Q2406729 Q3490531 Q3081356 Q3490533 Q3490532 Q3490534 Q3490536 Q2609021 Q1751273 Q2067597 Q3081666 Q3081193 Q1977563 Q2798037 Q3081291 Q643664 Q602470 Q615331 Q3081208 Q2400292 Q3490544 Q3490522 Q3081368 Q3490547 Q3490540 Q3490541 Q3081658 Q3081851 Q3081651 Q2129330 Q3040570 Q612936 Q3081279 Q3490559 Q3490558 Q3490556 Q3490555 Q3490554 Q3490553 Q3490552 Q3081219 Q1895796 Q930542 Q2193674 Q2627051 Q2757492 Q2609188 Q7247484 Q2837102 Q3490566 Q3490567 Q3490564 Q3490565 Q2961667 Q731149 Q3081302 Q3081637 Q3490612 Q3490613 Q3490614 Q3490617 Q1953416 Q544513
(c(Q7725634),P50,Q692)
action filter_type
action find_reverse
entity Q692
relation P50
type Q7725634
The literary works written by that person are [ANSWERS]
[{'concept': 'Q7725634'}, 'P50', 'Q692']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q692 . ?l rdf:type ontology:Q7725634 }
Sonnet 81 Sonnet 13 Sonnet 69 Sonnet 67 Sonnet 65 Sonnet 68 Sonnet 71 Sonnet 70 Sonnet 94 Sonnet 59 Sonnet 28 Sonnet 18 Sonnet 87 Sonnet 113 Sonnet 92 Sonnet 53 Sonnet 90 Sonnet 17 Sonnet 49 Sonnet 11 Sonnet 47 Sonnet 44 Sonnet 19 Sonnet 9 Sonnet 32 Sonnet 93 Sonnet 103 Sonnet 39 Sonnet 105 Sonnet 101 Sonnet 45 Sonnet 16 Sonnet 6 Sonnet 29 Sonnet 107 Sonnet 106 Sonnet 56 Sonnet 91 Sonnet 79 Sonnet 80 Sonnet 102 Sonnet 72 Sonnet 73 The Lover's Complaint Sonnet 74 Sonnet 75 Sonnet 76 Mercy Sonnet 104 Sonnet 24 Sonnet 60 Sonnet 10 Sonnet 26 Sonnet 31 Sonnet 109 Sonnet 99 Sonnet 108 Sonnet 54 Sonnet 111 Sonnet 110 Sonnet 77 Sonnet 112 Sonnet 86 Sonnet 83 Sonnet 82 Sonnet 51 Sonnet 85 Sonnet 33 Sonnet 37 Sonnet 153 Sonnet 36 Sonnet 27 Sonnet 7 Sonnet 119 Sonnet 120 Sonnet 117 Sonnet 118 Sonnet 138 Sonnet 114 Sonnet 48 Sonnet 122 Sonnet 78 Sonnet 57 Sonnet 25 Sonnet 84 Sonnet 40 Sonnet 134 Sonnet 133 Sonnet 154 Sonnet 124 Sonnet 43 Sonnet 126 Sonnet 125 Sonnet 132 Sonnet 135 Sonnet 30 Sonnet 144 Sonnet 20 Sonnet 34 Sonnet 35 Sonnet 146 Sonnet 100 Sonnet 46 Sonnet 1 Sonnet 130 Sonnet 22 Sonnet 38 Sonnet 12 Sonnet 142 Sonnet 115 Sonnet 42 Sonnet 140 Sonnet 136 Sonnet 137 Sonnet 52 Sonnet 127 Sonnet 14 Sonnet 89 Sonnet 128 Sonnet 131 Sonnet 23 Sonnet 151 Sonnet 150 Sonnet 149 Sonnet 145 Sonnet 148 Sonnet 147 Sonnet 143 Sonnet 58 Sonnet 21 Sonnet 139 Sonnet 123 Sonnet 15 Sonnet 152 Sonnet 129 Procreation sonnets Sonnet 88 Sonnet 64 Sonnet 61 Sonnet 63 Sonnet 62 Sonnet 8 Sonnet 121 Sonnet 41 Sonnet 50 Sonnet 95 Sonnet 96 Sonnet 97 Sonnet 98 Sonnet 66 Sonnet 55
The literary works written by that person are Sonnet 69, Sonnet 81 and Sonnet 13
Sonnet 69 Sonnet 81 Sonnet 13
action filter_type
action find_reverse
entity William Shakespeare
relation author
type literary work
[{'concept': 'literary work'}, 'author', 'William Shakespeare']
SELECT DISTINCT ?l WHERE { ?l property:author resource:William_Shakespeare . ?l rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3490574 Q1867257 Q729198
P361
Q2342494
USER
Which collectables are Sonnet 69, Sonnet 81 and Sonnet 13 a part of ?
(Q3490574,P361,c(Q2342494)) (Q1867257,P361,c(Q2342494)) (Q729198,P361,c(Q2342494))
action union
action filter_type
action find
entity Q3490574
relation P361
type Q2342494
action filter_type
action find
entity Q1867257
relation P361
type Q2342494
action filter_type
action find
entity Q729198
relation P361
type Q2342494
['Q3490574', 'P361', {'concept': 'Q2342494'}] ['Q1867257', 'P361', {'concept': 'Q2342494'}] ['Q729198', 'P361', {'concept': 'Q2342494'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?f ) { ( resource:Q3490574 ) ( resource:Q1867257 ) } . ?f property:P361 ?k }
Sonnet 69 Sonnet 81 Sonnet 13
action union
action filter_type
action find
entity Sonnet 69
relation part of
type collectable
action filter_type
action find
entity Sonnet 81
relation part of
type collectable
action filter_type
action find
entity Sonnet 13
relation part of
type collectable
['Sonnet 69', 'part of', {'concept': 'collectable'}] ['Sonnet 81', 'part of', {'concept': 'collectable'}] ['Sonnet 13', 'part of', {'concept': 'collectable'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?f ) { ( resource:Sonnet_69 ) ( resource:Sonnet_81 ) } . ?f property:part_of ?k }
[]
collectable
Q662550 Q662550 Q662550
SYSTEM
Shakespeare's sonnets
Q662550 Q662550 Q662550
(Q3490574,P361,c(Q2342494)) (Q1867257,P361,c(Q2342494)) (Q729198,P361,c(Q2342494))
action union
action filter_type
action find
entity Q3490574
relation P361
type Q2342494
action filter_type
action find
entity Q1867257
relation P361
type Q2342494
action filter_type
action find
entity Q729198
relation P361
type Q2342494
[ANSWER], [ANSWER] and [ANSWER] are Sonnet 69, Sonnet 81 and Sonnet 13 a part of
['Q3490574', 'P361', {'concept': 'Q2342494'}] ['Q1867257', 'P361', {'concept': 'Q2342494'}] ['Q729198', 'P361', {'concept': 'Q2342494'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?f ) { ( resource:Q3490574 ) ( resource:Q1867257 ) } . ?f property:P361 ?k }
Shakespeare's sonnets Shakespeare's sonnets Shakespeare's sonnets
Shakespeare's sonnets, Shakespeare's sonnets and Shakespeare's sonnets are Sonnet 69, Sonnet 81 and Sonnet 13 a part of
Shakespeare's sonnets Shakespeare's sonnets Shakespeare's sonnets
action union
action filter_type
action find
entity Sonnet 69
relation part of
type collectable
action filter_type
action find
entity Sonnet 81
relation part of
type collectable
action filter_type
action find
entity Sonnet 13
relation part of
type collectable
['Sonnet 69', 'part of', {'concept': 'collectable'}] ['Sonnet 81', 'part of', {'concept': 'collectable'}] ['Sonnet 13', 'part of', {'concept': 'collectable'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?f ) { ( resource:Sonnet_69 ) ( resource:Sonnet_81 ) } . ?f property:part_of ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q76
P138
Q16521
USER
Which taxons have Barack Obama as their namesake ?
(c(Q16521),P138,Q76)
action filter_type
action find_reverse
entity Q76
relation P138
type Q16521
[{'concept': 'Q16521'}, 'P138', 'Q76']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q16521 . ?e property:P138 resource:Q76 }
Barack Obama
action filter_type
action find_reverse
entity Barack Obama
relation named after
type taxon
[{'concept': 'taxon'}, 'named after', 'Barack Obama']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:taxon . ?e property:named_after resource:Barack_Obama }
[]
taxon
Q26857917 Q1390728 Q983134
SYSTEM
Baracktrema, Aptostichus barackobamai, Caloplaca obamae
Q26857917 Q1390728 Q983134 Q333408 Q26834330
(c(Q16521),P138,Q76)
action filter_type
action find_reverse
entity Q76
relation P138
type Q16521
[ANSWERS] have Barack Obama as their namesake
[{'concept': 'Q16521'}, 'P138', 'Q76']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q16521 . ?e property:P138 resource:Q76 }
Baracktrema Aptostichus barackobamai Caloplaca obamae Etheostoma obama Baracktrema obamai
Baracktrema, Aptostichus barackobamai and Caloplaca obamae have Barack Obama as their namesake
Baracktrema Aptostichus barackobamai Caloplaca obamae
action filter_type
action find_reverse
entity Barack Obama
relation named after
type taxon
[{'concept': 'taxon'}, 'named after', 'Barack Obama']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:taxon . ?e property:named_after resource:Barack_Obama }
[]