Simple Question (Direct)
Simple Question
Q461408
P734
Q82799
USER
Which name is associated with Tsutomu Miyazaki ?
(Q461408,P734,c(Q82799))
action filter_type
action find
entity Q461408
relation P734
type Q82799
['Q461408', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q461408 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Tsutomu Miyazaki
action filter_type
action find
entity Tsutomu Miyazaki
relation family name
type name
['Tsutomu Miyazaki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Tsutomu_Miyazaki property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q16877253
SYSTEM
Miyazaki
Q16877253
(Q461408,P734,c(Q82799))
action filter_type
action find
entity Q461408
relation P734
type Q82799
Mi [ANSWER] is associated with Tsutomu [ANSWER]
['Q461408', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q461408 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Miyazaki
Mi Miyazaki is associated with Tsutomu Miyazaki
Miyazaki
action filter_type
action find
entity Tsutomu Miyazaki
relation family name
type name
['Tsutomu Miyazaki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Tsutomu_Miyazaki property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461408
P21
Q290
USER
Which sex does that person have ?
(Q16877253,P21,c(Q290))
action filter_type
action find
entity Q461408
relation P21
type Q290
['Q16877253', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q461408 property:P21 ?m . ?m rdf:type ontology:Q290 }
Tsutomu Miyazaki
action filter_type
action find
entity Tsutomu Miyazaki
relation gender
type sex
['Miyazaki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Tsutomu_Miyazaki property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16877253,P21,c(Q290))
action filter_type
action find
entity Q461408
relation P21
type Q290
That person has a [ANSWER]
['Q16877253', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q461408 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Tsutomu Miyazaki
relation gender
type sex
['Miyazaki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Tsutomu_Miyazaki property:gender ?m . ?m rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q310800
P144
Q502895 Q15850590 Q95074
USER
How many people are lesser number of theatrical genres or fictional characters adapted from than John Reed ?
(c(Q15850590)|c(Q95074),P144,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q310800
relation P144
type Q15850590
type Q95074
[[{'concept': 'Q15850590'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?y ) WHERE { { ?l property:P144 ?s . ?l rdf:type ontology:Q15850590 . ?s rdf:type ontology:Q502895 } UNION { ?l property:P144 ?s . ?l rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P144 resource:Q310800 . { { ?n rdf:type ontology:Q15850590 } UNION { ?n rdf:type ontology:Q95074 } } } } . FILTER ( ?y < ?k ) }
John Reed
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
action count
action filter_multi_types
action find_reverse
entity John Reed
relation based on
type theatrical genre
type fictional character
[[{'concept': 'theatrical genre'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?y ) WHERE { { ?l property:based_on ?s . ?l rdf:type ontology:theatrical_genre . ?s rdf:type ontology:common_name } UNION { ?l property:based_on ?s . ?l rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:based_on resource:John_Reed . { { ?n rdf:type ontology:theatrical_genre } UNION { ?n rdf:type ontology:fictional_character } } } } . FILTER ( ?y < ?k ) }
[]
common name theatrical genre fictional character
SYSTEM
480
Q7804399 Q5213748 Q4761074 Q6956765 Q6270274 Q6183043 Q11975 Q7346914 Q5523435 Q696052 Q4924985 Q467216 Q6170802 Q7329545 Q313048 Q485508 Q6105915 Q4910639 Q1136623 Q6219253 Q5677173 Q3416089 Q16560426 Q3034976 Q3607759 Q3051562 Q5591308 Q8068814 Q6253512 Q6523571 Q4739623 Q11413422 Q125970 Q81000 Q5346446 Q3141517 Q7613152 Q5941619 Q852306 Q7364949 Q333265 Q188296 Q1964376 Q5488892 Q5889990 Q6244057 Q6881211 Q6261706 Q7368981 Q7117020 Q45260 Q4796744 Q4759664 Q704997 Q5686 Q4128234 Q4800383 Q130631 Q937 Q7381376 Q334993 Q6851849 Q6272923 Q4216886 Q7789278 Q5363776 Q6776113 Q6968888 Q1493568 Q5537975 Q3218695 Q6388687 Q6956378 Q5478599 Q294931 Q937459 Q7372970 Q6241721 Q6818964 Q7855008 Q5321676 Q7287789 Q222831 Q6687108 Q6106879 Q5338634 Q167752 Q717294 Q5703041 Q6227202 Q14395546 Q5927524 Q6375547 Q7000426 Q907550 Q3471259 Q546044 Q6760308 Q2843390 Q2686976 Q1303974 Q5339422 Q5262123 Q313866 Q4877153 Q5358877 Q6773628 Q8015110 Q5386986 Q296313 Q2669574 Q327426 Q5431144 Q2479548 Q3159808 Q6147389 Q5361154 Q5107501 Q5233328 Q6965802 Q3179129 Q13427328 Q448606 Q7183998 Q958256 Q6141832 Q6469613 Q79031 Q5358186 Q7437284 Q2850177 Q191103 Q236278 Q7458228 Q3183180 Q3530721 Q3020878 Q4763725 Q5592 Q6389787 Q222134 Q6218902 Q60029 Q5322119 Q7555592 Q5052809 Q6451338 Q7363505 Q5314594 Q11238103 Q5314597 Q8029867 Q312692 Q4768685 Q6250890 Q232913 Q7332345 Q5264 Q4971073 Q157040 Q12309539 Q5538431 Q3228926 Q12014160 Q6681382 Q47551 Q4800758 Q932961 Q6702448 Q266789 Q13115017 Q6529581 Q378053 Q219780 Q4411247 Q6988258 Q3453643 Q555195 Q229556 Q6209183 Q6702342 Q20968737 Q7143507 Q11618411 Q22088567 Q7287962 Q292808 Q6744190 Q4773434 Q6134013 Q844318 Q37085 Q619787 Q7812697 Q298877 Q2274948 Q2956128 Q1354071 Q75746 Q2146982 Q3431063 Q715909 Q1263456 Q808209 Q5701833 Q5181529 Q7341746 Q5701939 Q10133 Q5213609 Q7273310 Q5660079 Q4864591 Q5298523 Q7922094 Q6796494 Q5193069 Q7436898 Q6264086 Q3296847 Q269812 Q11447916 Q7025282 Q6773747 Q827300 Q7093943 Q7447135 Q608806 Q2413649 Q4065275 Q177854 Q5545478 Q311070 Q2521963 Q6257365 Q1394 Q4817706 Q6409985 Q57619 Q5849494 Q920200 Q3036753 Q3331614 Q14338667 Q467646 Q5560909 Q2502372 Q7911349 Q186486 Q5363538 Q5344093 Q3047194 Q6523671 Q6297405 Q557360 Q1361147 Q7613410 Q6104852 Q6796103 Q3347897 Q6134127 Q3595313 Q46926 Q5354229 Q2085146 Q5089814 Q5549017 Q11950533 Q1342909 Q7704287 Q5487034 Q4730754 Q7437294 Q4898960 Q5588501 Q5363054 Q197359 Q506878 Q7151235 Q1681907 Q548960 Q6760327 Q7456663 Q4974043 Q189081 Q4532024 Q3161193 Q5077339 Q4187362 Q6814106 Q148714 Q2449527 Q5272307 Q5296634 Q297743 Q5640722 Q4899508 Q3301790 Q4696245 Q3376515 Q5610225 Q57652 Q26267872 Q6962760 Q508218 Q5363300 Q7181755 Q3430915 Q2493515 Q6793420 Q840990 Q5079691 Q6721439 Q139739 Q154340 Q6074798 Q5361214 Q4885219 Q5345906 Q5298362 Q5444237 Q11584822 Q3157127 Q7150519 Q6284021 Q7369542 Q5136905 Q7668588 Q4739578 Q6762778 Q6376290 Q110714 Q284812 Q6304164 Q3083638 Q2618824 Q5145551 Q1956342 Q1394497 Q466488 Q5213429 Q7347337 Q6143676 Q13564502 Q4647806 Q3741955 Q649790 Q5026262 Q306914 Q5665780 Q11270727 Q3262364 Q7364277 Q7436164 Q3079968 Q2396324 Q7307753 Q7670494 Q51505 Q4884844 Q3334185 Q7357712 Q626859 Q7397840 Q768296 Q2845322 Q3502960 Q6446710 Q1494674 Q3182354 Q23722455 Q22714 Q3568651 Q176819 Q5106606 Q337185 Q7175413 Q5006730 Q5516058 Q6914955 Q7706913 Q2580253 Q6691 Q5344127 Q4864658 Q188794 Q6774650 Q159905 Q13378842 Q7106226 Q5082874 Q1441684 Q4446505 Q1755191 Q106255 Q493 Q4977335 Q5294036 Q6938000 Q4877593 Q82180 Q1527473 Q1237718 Q2835441 Q4518059 Q170846 Q317894 Q7177457 Q311966 Q4808343 Q6282963 Q3909034 Q1048 Q7346262 Q315607 Q6531163 Q5342811 Q7167474 Q7146872 Q3595177 Q3081707 Q6832927 Q93938 Q5538382 Q5201165 Q3088826 Q4772439 Q5071329 Q6833091 Q4897616 Q5345201 Q5529938 Q152672 Q7373284 Q5423761 Q5354389 Q7456549 Q3037185 Q13559801 Q6152339 Q8011009 Q4900700 Q5216759 Q191999 Q150471 Q161154 Q6963187 Q4758379 Q6680423 Q4963602 Q5586024 Q5620219 Q3849499 Q900541 Q40096 Q7668479 Q4664427 Q646852 Q5136879 Q3327572 Q13115080 Q9096027 Q14302511 Q6409284 Q2723574 Q7688102 Q5968600 Q879812 Q4118071 Q245802 Q6135694 Q213614 Q1912368 Q4505465 Q3469340 Q4954433 Q5339868 Q4225064 Q11685189 Q3241962
(c(Q15850590)|c(Q95074),P144,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q310800
relation P144
type Q15850590
type Q95074
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?y ) WHERE { { ?l property:P144 ?s . ?l rdf:type ontology:Q15850590 . ?s rdf:type ontology:Q502895 } UNION { ?l property:P144 ?s . ?l rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P144 resource:Q310800 . { { ?n rdf:type ontology:Q15850590 } UNION { ?n rdf:type ontology:Q95074 } } } } . FILTER ( ?y < ?k ) }
Tim Toyama Dan Jenkins Andy Mulligan Nabarun Bhattacharya Jon Abbate Jerrard Tickell Britney Spears Robert Lindsey Garland Roark Arnold Rothstein Bland Holt Amy Fisher Jean Hanff Korelitz Richard Tregaskis Bob Kane Charles Manson J. H. Wallis Bill Richmond Fujiwara no Hidesato John Appleby Harvey Fergusson Rachel Crothers Giulia Varano Dominique Barbéris Alan Le May Elmer Blaney Harris Grace Miller White Zelma Roberts John Pudney Leo Brady Amanda Foreman Yasumi Yoshizawa Keigo Higashino Richard II of England Edwin Gilbert Pêr-Jakez Helias Steve Lieber Humphrey Slater Fred Mustard Stewart Ronald Hugh Morrieson Léon Theremin Boris Gryzlov Anthony Poshepny Frank Parkin Homer Croy John Larkin Mitchell F. Jayne John Vaillant Rosita Forbes P.J. Ramster Hans Kohlhase Art Cohn Andrzej Mularczyk Ivan Boesky Charles Dickens William P. Wood Arthur Stringer Jacques Derrida Albert Einstein Russell Braddon Eugene V. Debs Milicent Bagot Jonathan Dawson Egerton Castle Thomas Edward Spencer Elizabeth Young Martin Maher Nathan Barksdale James Porter George Clifford Shedd Laura Kasischke Ken Wheat Na Do-hyang Frances Doel William Randolph Hearst Niranjan Pal Roy Horniman John Jay Osborn, Jr. Meredith Nicholson Turk Pipkin E. V. Timms Ralph Leighton Ilich Ramírez Sánchez Louis Esson J. R. Salamanca Edith O'Shaughnessy Zequinha de Abreu Krystyna Skarbek Helen Reimensnyder Martin John Cosgrove Mikhail Alexeyevich Khludov Hubert Osborne Kate Howarde Netta Syrett Eugène Turpin Samuel W. Taylor Thakazhi Sivasankara Pillai Margery Lawrence Amina Andrea Evans Eileen Joyce Edmund Duggan Derek Lambert William Adams Beatrice Grimshaw Jun Ikeido Marshall Houts William Marchant Eric Lomax Kim Philby Barry Gifford Sean Flynn Faith Baldwin Bas Jan Ader Jacques Prevel Jamie Reidy Elinor Lipman Chris Morgan David Elfick Narendranath Mitra Jimmy Starr Joseph Moncure March Theresa Saldana Philip Lytton Fujio Akatsuka James Ramsey Ullman Ladislas Farago Mike Tyson Yarō Abe Scott Sommer Anita Hill Lucrezia Borgia Tonya Harding Sewell Stokes Jon Cleary Tom Eyen Deborah Moggach Angna Enters Michelangelo Kenneth A. Jackson Ted Kaczynski John Ames Mitchell Oskar Schindler E. Ray Goetz Sol Wachtler Catherine Marshall Kyle Onstott Ron Barrett Duncan Rouleau T. R. Sundaram Duncan Sarkies Wolf Mankowitz Bud Powell Anne Nichols John O'Grady Beatrice Portinari Rida Johnson Young Hippocrates Sara Jane Olson Lajos Kossuth Eik Skaløe George Dawes Green Lee Robinson Huh Young-man Lorna Moon Titian Arthur Wright Mary Jane Ward Luke Whisnant Rebecca Schaeffer Santhosh Echikkanam Les Haylen Rob Roy MacGregor Hunter S. Thompson Glendon Swarthout Neil B. Shulman Ruth Snyder Héctor Lavoe Patty Hearst Joe Connelly Luke Short Christian Friedrich Haupt Pat Hanna 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 Richard N. Goodwin Louis-Léopold Boilly Dan White Barisan of Ibelin Helen Ashton Craig Titley Robert B. Rheault Helen Brach Suetonius Dan Greenburg R.B. Russell Harold Bell Wright Barry Pain Dorothy M. Johnson Vernon Coleman May Edginton Cully Hamner Scott Moore John Willard Dave Toschi Christina Nilsson Kan Shimozawa Nicholas Dante Marshall Pugh Bert Bailey Oniroku Dan Sekar Ayu Asmara Yumiko Kawahara John List Alex Anderson Lorenzo de' Medici George Vecsey David Crockett Alan Hackney John Seybold Vladimir Lenin Atrpet Kimberly Willis Holt Frank Wedekind Richard Hough Charles Starkweather Brian Oswald Donn-Byrne Myron Coureval Fagan Zainab Singh Jane Franklin Gilbert Frankau Alan White Valerie Tripp Hachikō Elizabeth Spencer Edward Lee Ed Naha Leo Ditrichstein Joyce Brabner Ármin Vámbéry Boris Lavrenyov Steve Moore J. Breckenridge Ellis Mary Gleed Tuttiett Ashapoorna Devi James Fox S. K. Pottekkatt Chetan Bhagat Eleanor Bumpurs Philip Van Doren Stern Chelangatt Gopalakrishnan Gerald Clarke Sun Xia Albert DeSalvo Terry Davis Frank H. Spearman Allan Knee Scott Spencer Betty Roland Gouverneur Morris IV Elizabeth Kata Empress Zhang Emmett Till Paul Hemphill Sophie van der Stap David Graham Phillips Marghanita Laski Sethu Bronson Howard Howard Hughes Beulah Annan James R. Jordan, Sr. Charles Einstein Ahmad Tohari Melvin Williams Jaime Escalante Susan Smith Dibyendu Palit Donnie Andrews Lillie Langtry Hal Carleton Beverly Donofrio Maury Dexter Ahn Jung-hyo Peter Corris Yoshikazu Takeuchi Helle Thorning-Schmidt Marianne Ihlen Nancy Jo Sales Nisio Isin Elizabeth Packard Phil Campbell Richard Jessup Else Holmelund Minarik Maurice Procter Yang Sok-il Charles Keating Mabel Forrest Walker Hamilton Francis Bacon Irving Shulman Eliot Asinof Ben Ames Williams Edward William O'Sullivan Dorothy Cottrell Ferguson Findley Ayumi Ishii Jack Bernstein Paul Ernst Joseph Hocking Ross Napier Clyde Edgerton T. Padmanabhan Amanda Brown Marie Brenner Katherine Ann Power Lester Young Samuel Wilson Philippe Mora François-René Crespin du Bec Caril Ann Fugate Colin Scrimgeour Taku Mayumura Tawana Brawley rape allegations Estella Marie Thompson Dan Dunn Robert Marasco James Still T. P. Rajeevan A. G. Street Isaac de Porthau Harry Grey Cameron Hawley Abbé Faria Harrison Owen James Bridie Louis Joseph Vance 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 Margaret Ayer Barnes Anandi Gopal Joshi Sue Miller Kurt Eichenwald James Hunter John Requa Andrei Karl May William Gay Thomas W. Sneddon, Jr. Chris Fuhrman Audie Murphy Peter Lefcourt C. N. Sreekantan Nair Gabrielle Carey Morton Thompson Tetsuo Takashima William Pittenger Homer Edward Levy Barry Reed Isaiah Marthe Cnockaert Hipparchus George Lutz Oscar Requer Charles Tazewell Francis Paudras Katariina Souri Sutan Takdir Alisjahbana Jean-Paul Belmondo Arthur Rimbaud Bruce Cutler Donald Bevan Nicholas Markowitz Beaumont Smith Mata Hari Gisela Werler Franz-Olivier Giesbert Alfred Savoir Hank Searls Erzsébet Báthory Galeazzo Maria Sforza Peter Van Greenaway Roger Casement Assaf Bernstein Joseph F. Dinneen Porter Emerson Browne Julius Caesar Robert Kaplow David Farragut Leslie Stokes Edward Everett Rose Percy Marks Patrick Joseph Hartigan Jessica Lal Ib Melchior Michael Morton Gary Friedrich George Darrell Cyrus Woods Grace Zaring Stone Anthony E. Pratt Chandradhar Sharma Guleri Michael Noonan Beth Raymer Edward Salisbury Field Geeta Anand John Demjanjuk Roy Radin F.J. Thwaites Eleanor Smith Seth Margolis Dorothy Scarborough 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 Cecil Jacobson Will Smith 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 James Haskins Cyrano de Bergerac Max Catto Kim Tak-hwan Sakae Tsuboi Wanda Holloway Edmund Trzcinski Richard Cobbold John Farris Lionel White
480
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
action count
action filter_multi_types
action find_reverse
entity John Reed
relation based on
type theatrical genre
type fictional character
[[{'concept': 'theatrical genre'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?y ) WHERE { { ?l property:based_on ?s . ?l rdf:type ontology:theatrical_genre . ?s rdf:type ontology:common_name } UNION { ?l property:based_on ?s . ?l rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:based_on resource:John_Reed . { { ?n rdf:type ontology:theatrical_genre } UNION { ?n rdf:type ontology:fictional_character } } } } . FILTER ( ?y < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q318462
P144
Q502895 Q15850590 Q95074
USER
And what about Edward Bulwer-Lytton?
(c(Q15850590)|c(Q95074),P144,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q318462
relation P144
type Q15850590
type Q95074
[[{'concept': 'Q15850590'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15850590 ) ( ontology:Q95074 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P144 resource:Q318462 . { { ?h rdf:type ontology:Q15850590 } UNION { ?h rdf:type ontology:Q95074 } } } } . FILTER ( ?v < ?q ) }
Edward Bulwer-Lytton
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
action count
action filter_multi_types
action find_reverse
entity Edward Bulwer-Lytton
relation based on
type theatrical genre
type fictional character
[[{'concept': 'theatrical genre'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:theatrical_genre ) ( ontology:fictional_character ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:based_on resource:Edward_Bulwer-Lytton . { { ?h rdf:type ontology:theatrical_genre } UNION { ?h rdf:type ontology:fictional_character } } } } . FILTER ( ?v < ?q ) }
[]
common name theatrical genre fictional character
SYSTEM
480
Q7804399 Q5213748 Q4761074 Q6956765 Q6270274 Q6183043 Q11975 Q7346914 Q5523435 Q696052 Q4924985 Q467216 Q6170802 Q7329545 Q313048 Q485508 Q6105915 Q4910639 Q1136623 Q6219253 Q5677173 Q3416089 Q16560426 Q3034976 Q3607759 Q3051562 Q5591308 Q8068814 Q6253512 Q6523571 Q4739623 Q11413422 Q125970 Q81000 Q5346446 Q3141517 Q7613152 Q5941619 Q852306 Q7364949 Q333265 Q188296 Q1964376 Q5488892 Q5889990 Q6244057 Q6881211 Q6261706 Q7368981 Q7117020 Q45260 Q4796744 Q4759664 Q704997 Q5686 Q4128234 Q4800383 Q130631 Q937 Q7381376 Q334993 Q6851849 Q6272923 Q4216886 Q7789278 Q5363776 Q6776113 Q6968888 Q1493568 Q5537975 Q3218695 Q6388687 Q6956378 Q5478599 Q294931 Q937459 Q7372970 Q6241721 Q6818964 Q7855008 Q5321676 Q7287789 Q222831 Q6687108 Q6106879 Q5338634 Q167752 Q717294 Q5703041 Q6227202 Q14395546 Q5927524 Q6375547 Q7000426 Q907550 Q3471259 Q546044 Q6760308 Q2843390 Q2686976 Q1303974 Q5339422 Q5262123 Q313866 Q4877153 Q5358877 Q6773628 Q8015110 Q5386986 Q296313 Q2669574 Q327426 Q5431144 Q2479548 Q3159808 Q6147389 Q5361154 Q5107501 Q5233328 Q6965802 Q3179129 Q13427328 Q448606 Q7183998 Q958256 Q6141832 Q6469613 Q79031 Q5358186 Q7437284 Q2850177 Q191103 Q236278 Q7458228 Q3183180 Q3530721 Q3020878 Q4763725 Q5592 Q6389787 Q222134 Q6218902 Q60029 Q5322119 Q7555592 Q5052809 Q6451338 Q7363505 Q5314594 Q11238103 Q5314597 Q8029867 Q312692 Q4768685 Q6250890 Q232913 Q7332345 Q5264 Q4971073 Q157040 Q12309539 Q5538431 Q3228926 Q12014160 Q6681382 Q47551 Q4800758 Q932961 Q6702448 Q266789 Q13115017 Q6529581 Q378053 Q219780 Q4411247 Q6988258 Q3453643 Q555195 Q229556 Q6209183 Q6702342 Q20968737 Q7143507 Q11618411 Q22088567 Q7287962 Q292808 Q6744190 Q4773434 Q6134013 Q844318 Q37085 Q619787 Q7812697 Q298877 Q2274948 Q2956128 Q1354071 Q75746 Q2146982 Q3431063 Q715909 Q1263456 Q808209 Q5701833 Q5181529 Q7341746 Q5701939 Q10133 Q5213609 Q7273310 Q5660079 Q4864591 Q5298523 Q7922094 Q6796494 Q5193069 Q7436898 Q6264086 Q3296847 Q269812 Q11447916 Q7025282 Q6773747 Q827300 Q7093943 Q7447135 Q608806 Q2413649 Q4065275 Q177854 Q5545478 Q311070 Q2521963 Q6257365 Q1394 Q4817706 Q6409985 Q57619 Q5849494 Q920200 Q3036753 Q3331614 Q14338667 Q467646 Q5560909 Q2502372 Q7911349 Q186486 Q5363538 Q5344093 Q3047194 Q6523671 Q6297405 Q557360 Q1361147 Q7613410 Q6104852 Q6796103 Q3347897 Q6134127 Q3595313 Q46926 Q5354229 Q2085146 Q5089814 Q5549017 Q11950533 Q1342909 Q7704287 Q5487034 Q4730754 Q7437294 Q4898960 Q5588501 Q5363054 Q197359 Q506878 Q7151235 Q1681907 Q548960 Q6760327 Q7456663 Q4974043 Q189081 Q4532024 Q3161193 Q5077339 Q4187362 Q6814106 Q148714 Q2449527 Q5272307 Q5296634 Q297743 Q5640722 Q4899508 Q3301790 Q4696245 Q3376515 Q5610225 Q57652 Q26267872 Q6962760 Q508218 Q5363300 Q7181755 Q3430915 Q2493515 Q6793420 Q840990 Q5079691 Q6721439 Q139739 Q154340 Q6074798 Q5361214 Q4885219 Q5345906 Q5298362 Q5444237 Q11584822 Q3157127 Q7150519 Q6284021 Q7369542 Q5136905 Q7668588 Q4739578 Q6762778 Q6376290 Q110714 Q284812 Q6304164 Q3083638 Q2618824 Q5145551 Q1956342 Q1394497 Q466488 Q5213429 Q7347337 Q6143676 Q13564502 Q4647806 Q3741955 Q649790 Q5026262 Q306914 Q5665780 Q11270727 Q3262364 Q7364277 Q7436164 Q3079968 Q2396324 Q7307753 Q7670494 Q51505 Q4884844 Q3334185 Q7357712 Q626859 Q7397840 Q768296 Q2845322 Q3502960 Q6446710 Q1494674 Q3182354 Q23722455 Q22714 Q3568651 Q176819 Q5106606 Q337185 Q7175413 Q5006730 Q5516058 Q6914955 Q7706913 Q2580253 Q6691 Q5344127 Q4864658 Q188794 Q6774650 Q159905 Q13378842 Q7106226 Q5082874 Q1441684 Q4446505 Q1755191 Q106255 Q493 Q4977335 Q5294036 Q6938000 Q4877593 Q82180 Q1527473 Q1237718 Q2835441 Q4518059 Q170846 Q317894 Q7177457 Q311966 Q4808343 Q6282963 Q3909034 Q1048 Q7346262 Q315607 Q6531163 Q5342811 Q7167474 Q7146872 Q3595177 Q3081707 Q6832927 Q93938 Q5538382 Q5201165 Q3088826 Q4772439 Q5071329 Q6833091 Q4897616 Q5345201 Q5529938 Q152672 Q7373284 Q5423761 Q5354389 Q7456549 Q3037185 Q13559801 Q6152339 Q8011009 Q4900700 Q5216759 Q191999 Q150471 Q161154 Q6963187 Q4758379 Q6680423 Q4963602 Q5586024 Q5620219 Q3849499 Q900541 Q40096 Q7668479 Q4664427 Q646852 Q5136879 Q3327572 Q13115080 Q9096027 Q14302511 Q6409284 Q2723574 Q7688102 Q5968600 Q879812 Q4118071 Q245802 Q6135694 Q213614 Q1912368 Q4505465 Q3469340 Q4954433 Q5339868 Q4225064 Q11685189 Q3241962
(c(Q15850590)|c(Q95074),P144,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q318462
relation P144
type Q15850590
type Q95074
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15850590 ) ( ontology:Q95074 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P144 resource:Q318462 . { { ?h rdf:type ontology:Q15850590 } UNION { ?h rdf:type ontology:Q95074 } } } } . FILTER ( ?v < ?q ) }
Tim Toyama Dan Jenkins Andy Mulligan Nabarun Bhattacharya Jon Abbate Jerrard Tickell Britney Spears Robert Lindsey Garland Roark Arnold Rothstein Bland Holt Amy Fisher Jean Hanff Korelitz Richard Tregaskis Bob Kane Charles Manson J. H. Wallis Bill Richmond Fujiwara no Hidesato John Appleby Harvey Fergusson Rachel Crothers Giulia Varano Dominique Barbéris Alan Le May Elmer Blaney Harris Grace Miller White Zelma Roberts John Pudney Leo Brady Amanda Foreman Yasumi Yoshizawa Keigo Higashino Richard II of England Edwin Gilbert Pêr-Jakez Helias Steve Lieber Humphrey Slater Fred Mustard Stewart Ronald Hugh Morrieson Léon Theremin Boris Gryzlov Anthony Poshepny Frank Parkin Homer Croy John Larkin Mitchell F. Jayne John Vaillant Rosita Forbes P.J. Ramster Hans Kohlhase Art Cohn Andrzej Mularczyk Ivan Boesky Charles Dickens William P. Wood Arthur Stringer Jacques Derrida Albert Einstein Russell Braddon Eugene V. Debs Milicent Bagot Jonathan Dawson Egerton Castle Thomas Edward Spencer Elizabeth Young Martin Maher Nathan Barksdale James Porter George Clifford Shedd Laura Kasischke Ken Wheat Na Do-hyang Frances Doel William Randolph Hearst Niranjan Pal Roy Horniman John Jay Osborn, Jr. Meredith Nicholson Turk Pipkin E. V. Timms Ralph Leighton Ilich Ramírez Sánchez Louis Esson J. R. Salamanca Edith O'Shaughnessy Zequinha de Abreu Krystyna Skarbek Helen Reimensnyder Martin John Cosgrove Mikhail Alexeyevich Khludov Hubert Osborne Kate Howarde Netta Syrett Eugène Turpin Samuel W. Taylor Thakazhi Sivasankara Pillai Margery Lawrence Amina Andrea Evans Eileen Joyce Edmund Duggan Derek Lambert William Adams Beatrice Grimshaw Jun Ikeido Marshall Houts William Marchant Eric Lomax Kim Philby Barry Gifford Sean Flynn Faith Baldwin Bas Jan Ader Jacques Prevel Jamie Reidy Elinor Lipman Chris Morgan David Elfick Narendranath Mitra Jimmy Starr Joseph Moncure March Theresa Saldana Philip Lytton Fujio Akatsuka James Ramsey Ullman Ladislas Farago Mike Tyson Yarō Abe Scott Sommer Anita Hill Lucrezia Borgia Tonya Harding Sewell Stokes Jon Cleary Tom Eyen Deborah Moggach Angna Enters Michelangelo Kenneth A. Jackson Ted Kaczynski John Ames Mitchell Oskar Schindler E. Ray Goetz Sol Wachtler Catherine Marshall Kyle Onstott Ron Barrett Duncan Rouleau T. R. Sundaram Duncan Sarkies Wolf Mankowitz Bud Powell Anne Nichols John O'Grady Beatrice Portinari Rida Johnson Young Hippocrates Sara Jane Olson Lajos Kossuth Eik Skaløe George Dawes Green Lee Robinson Huh Young-man Lorna Moon Titian Arthur Wright Mary Jane Ward Luke Whisnant Rebecca Schaeffer Santhosh Echikkanam Les Haylen Rob Roy MacGregor Hunter S. Thompson Glendon Swarthout Neil B. Shulman Ruth Snyder Héctor Lavoe Patty Hearst Joe Connelly Luke Short Christian Friedrich Haupt Pat Hanna 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 Richard N. Goodwin Louis-Léopold Boilly Dan White Barisan of Ibelin Helen Ashton Craig Titley Robert B. Rheault Helen Brach Suetonius Dan Greenburg R.B. Russell Harold Bell Wright Barry Pain Dorothy M. Johnson Vernon Coleman May Edginton Cully Hamner Scott Moore John Willard Dave Toschi Christina Nilsson Kan Shimozawa Nicholas Dante Marshall Pugh Bert Bailey Oniroku Dan Sekar Ayu Asmara Yumiko Kawahara John List Alex Anderson Lorenzo de' Medici George Vecsey David Crockett Alan Hackney John Seybold Vladimir Lenin Atrpet Kimberly Willis Holt Frank Wedekind Richard Hough Charles Starkweather Brian Oswald Donn-Byrne Myron Coureval Fagan Zainab Singh Jane Franklin Gilbert Frankau Alan White Valerie Tripp Hachikō Elizabeth Spencer Edward Lee Ed Naha Leo Ditrichstein Joyce Brabner Ármin Vámbéry Boris Lavrenyov Steve Moore J. Breckenridge Ellis Mary Gleed Tuttiett Ashapoorna Devi James Fox S. K. Pottekkatt Chetan Bhagat Eleanor Bumpurs Philip Van Doren Stern Chelangatt Gopalakrishnan Gerald Clarke Sun Xia Albert DeSalvo Terry Davis Frank H. Spearman Allan Knee Scott Spencer Betty Roland Gouverneur Morris IV Elizabeth Kata Empress Zhang Emmett Till Paul Hemphill Sophie van der Stap David Graham Phillips Marghanita Laski Sethu Bronson Howard Howard Hughes Beulah Annan James R. Jordan, Sr. Charles Einstein Ahmad Tohari Melvin Williams Jaime Escalante Susan Smith Dibyendu Palit Donnie Andrews Lillie Langtry Hal Carleton Beverly Donofrio Maury Dexter Ahn Jung-hyo Peter Corris Yoshikazu Takeuchi Helle Thorning-Schmidt Marianne Ihlen Nancy Jo Sales Nisio Isin Elizabeth Packard Phil Campbell Richard Jessup Else Holmelund Minarik Maurice Procter Yang Sok-il Charles Keating Mabel Forrest Walker Hamilton Francis Bacon Irving Shulman Eliot Asinof Ben Ames Williams Edward William O'Sullivan Dorothy Cottrell Ferguson Findley Ayumi Ishii Jack Bernstein Paul Ernst Joseph Hocking Ross Napier Clyde Edgerton T. Padmanabhan Amanda Brown Marie Brenner Katherine Ann Power Lester Young Samuel Wilson Philippe Mora François-René Crespin du Bec Caril Ann Fugate Colin Scrimgeour Taku Mayumura Tawana Brawley rape allegations Estella Marie Thompson Dan Dunn Robert Marasco James Still T. P. Rajeevan A. G. Street Isaac de Porthau Harry Grey Cameron Hawley Abbé Faria Harrison Owen James Bridie Louis Joseph Vance 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 Margaret Ayer Barnes Anandi Gopal Joshi Sue Miller Kurt Eichenwald James Hunter John Requa Andrei Karl May William Gay Thomas W. Sneddon, Jr. Chris Fuhrman Audie Murphy Peter Lefcourt C. N. Sreekantan Nair Gabrielle Carey Morton Thompson Tetsuo Takashima William Pittenger Homer Edward Levy Barry Reed Isaiah Marthe Cnockaert Hipparchus George Lutz Oscar Requer Charles Tazewell Francis Paudras Katariina Souri Sutan Takdir Alisjahbana Jean-Paul Belmondo Arthur Rimbaud Bruce Cutler Donald Bevan Nicholas Markowitz Beaumont Smith Mata Hari Gisela Werler Franz-Olivier Giesbert Alfred Savoir Hank Searls Erzsébet Báthory Galeazzo Maria Sforza Peter Van Greenaway Roger Casement Assaf Bernstein Joseph F. Dinneen Porter Emerson Browne Julius Caesar Robert Kaplow David Farragut Leslie Stokes Edward Everett Rose Percy Marks Patrick Joseph Hartigan Jessica Lal Ib Melchior Michael Morton Gary Friedrich George Darrell Cyrus Woods Grace Zaring Stone Anthony E. Pratt Chandradhar Sharma Guleri Michael Noonan Beth Raymer Edward Salisbury Field Geeta Anand John Demjanjuk Roy Radin F.J. Thwaites Eleanor Smith Seth Margolis Dorothy Scarborough 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 Cecil Jacobson Will Smith 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 James Haskins Cyrano de Bergerac Max Catto Kim Tak-hwan Sakae Tsuboi Wanda Holloway Edmund Trzcinski Richard Cobbold John Farris Lionel White
480
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
action count
action filter_multi_types
action find_reverse
entity Edward Bulwer-Lytton
relation based on
type theatrical genre
type fictional character
[[{'concept': 'theatrical genre'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:theatrical_genre ) ( ontology:fictional_character ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:based_on resource:Edward_Bulwer-Lytton . { { ?h rdf:type ontology:theatrical_genre } UNION { ?h rdf:type ontology:fictional_character } } } } . FILTER ( ?v < ?q ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17496449 Q318462
P19 P937
Q56061
USER
Which administrative territories are the locations where Edward Bulwer-Lytton worked or are the places of birth of Egon von Komorzynski ?
OR((Q318462,P937,c(Q56061)), (Q17496449,P19,c(Q56061)))
action filter_type
action union
action find
entity Q318462
relation P937
action find
entity Q17496449
relation P19
type Q56061
{'OR': [['Q318462', 'P937', {'concept': 'Q56061'}], ['Q17496449', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q318462 property:P937 ?h } UNION { resource:Q17496449 property:P19 ?h } } . ?h rdf:type ontology:Q56061 }
Egon von Komorzynski Edward Bulwer-Lytton
action filter_type
action union
action find
entity Edward Bulwer-Lytton
relation work location
action find
entity Egon von Komorzynski
relation place of birth
type administrative territorial entity
{'OR': [['Edward Bulwer-Lytton', 'work location', {'concept': 'administrative territorial entity'}], ['Egon von Komorzynski', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Edward_Bulwer-Lytton property:work_location ?h } UNION { resource:Egon_von_Komorzynski property:place_of_birth ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741 Q84
SYSTEM
Vienna, London
Q1741 Q84
OR((Q318462,P937,c(Q56061)), (Q17496449,P19,c(Q56061)))
action filter_type
action union
action find
entity Q318462
relation P937
action find
entity Q17496449
relation P19
type Q56061
[ANSWERS] are the locations where Edward Bulwer-Lytton worked or are the places of birth of Egon von Komorzynski
{'OR': [['Q318462', 'P937', {'concept': 'Q56061'}], ['Q17496449', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q318462 property:P937 ?h } UNION { resource:Q17496449 property:P19 ?h } } . ?h rdf:type ontology:Q56061 }
Vienna London
Vienna and London are the locations where Edward Bulwer-Lytton worked or are the places of birth of Egon von Komorzynski
Vienna London
action filter_type
action union
action find
entity Edward Bulwer-Lytton
relation work location
action find
entity Egon von Komorzynski
relation place of birth
type administrative territorial entity
{'OR': [['Edward Bulwer-Lytton', 'work location', {'concept': 'administrative territorial entity'}], ['Egon von Komorzynski', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Edward_Bulwer-Lytton property:work_location ?h } UNION { resource:Egon_von_Komorzynski property:place_of_birth ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q1002697 Q732577
USER
Which administrative territories are the locations of publication of approximately 69 periodical literatures or publications ?
(c(Q1002697)|c(Q732577),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
value 69
[[{'concept': 'Q1002697'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) ?d WHERE { { ?e property:P291 ?d . ?d rdf:type ontology:Q56061 . ?e rdf:type ontology:Q732577 } UNION { ?e rdf:type ontology:Q1002697 . ?d rdf:type ontology:Q56061 . ?e property:P291 ?d } } GROUP BY ?d } . FILTER ( ?r = 69 ) }
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
value 69
[[{'concept': 'periodical literature'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) ?d WHERE { { ?e property:place_of_publication ?d . ?d rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:publication } UNION { ?e rdf:type ontology:periodical_literature . ?d rdf:type ontology:administrative_territorial_entity . ?e property:place_of_publication ?d } } GROUP BY ?d } . FILTER ( ?r = 69 ) }
[]
administrative territorial entity periodical literature publication
Q90 Q1492
SYSTEM
Paris, Barcelona
Q90 Q1492
(c(Q1002697)|c(Q732577),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
value 69
[ANSWERS] are the locations of publication of approximately 69 periodical literatures or publications
[[{'concept': 'Q1002697'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) ?d WHERE { { ?e property:P291 ?d . ?d rdf:type ontology:Q56061 . ?e rdf:type ontology:Q732577 } UNION { ?e rdf:type ontology:Q1002697 . ?d rdf:type ontology:Q56061 . ?e property:P291 ?d } } GROUP BY ?d } . FILTER ( ?r = 69 ) }
Paris Barcelona
Paris and Barcelona are the locations of publication of approximately 69 periodical literatures or publications
Paris Barcelona
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
value 69
[[{'concept': 'periodical literature'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) ?d WHERE { { ?e property:place_of_publication ?d . ?d rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:publication } UNION { ?e rdf:type ontology:periodical_literature . ?d rdf:type ontology:administrative_territorial_entity . ?e property:place_of_publication ?d } } GROUP BY ?d } . FILTER ( ?r = 69 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q90 Q1492
P237
Q17335294
USER
Which coats of arms serves as the heraldic designs for those administrative territories ?
(Q90,P237,c(Q17335294)) (Q1492,P237,c(Q17335294))
action filter_type
action find
entity prev_answer
relation P237
type Q17335294
['Q90', 'P237', {'concept': 'Q17335294'}] ['Q1492', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { ?x property:P237 ?q . ?q rdf:type ontology:Q17335294 . VALUES ( ?x ) { ( resource:Q90 ) ( resource:Q1492 ) } }
Paris Barcelona
action filter_type
action find
entity prev_answer
relation coat of arms
type flag or coat of arms
['Paris', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Barcelona', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { ?x property:coat_of_arms ?q . ?q rdf:type ontology:flag_or_coat_of_arms . VALUES ( ?x ) { ( resource:Paris ) ( resource:Barcelona ) } }
[]
flag or coat of arms
Q1925366 Q8777837
SYSTEM
coat of arms of Paris, Coat of Arms of Barcelona
Q1925366 Q8777837
(Q90,P237,c(Q17335294)) (Q1492,P237,c(Q17335294))
action filter_type
action find
entity prev_answer
relation P237
type Q17335294
The [ANSWERS] serve as the heraldic designs for those administrative territories
['Q90', 'P237', {'concept': 'Q17335294'}] ['Q1492', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { ?x property:P237 ?q . ?q rdf:type ontology:Q17335294 . VALUES ( ?x ) { ( resource:Q90 ) ( resource:Q1492 ) } }
coat of arms of Paris Coat of Arms of Barcelona
The coat of arms of Paris and Coat of Arms of Barcelona serve as the heraldic designs for those administrative territories
coat of arms of Paris Coat of Arms of Barcelona
action filter_type
action find
entity prev_answer
relation coat of arms
type flag or coat of arms
['Paris', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Barcelona', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { ?x property:coat_of_arms ?q . ?q rdf:type ontology:flag_or_coat_of_arms . VALUES ( ?x ) { ( resource:Paris ) ( resource:Barcelona ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P162
Q838948
USER
Which works of art have been produced by Paris ?
(c(Q838948),P162,Q90)
action filter_type
action find_reverse
entity Q90
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q90']
SELECT DISTINCT ?k WHERE { ?k property:P162 resource:Q90 . ?k rdf:type ontology:Q838948 }
Paris
action filter_type
action find_reverse
entity Paris
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Paris']
SELECT DISTINCT ?k WHERE { ?k property:producer resource:Paris . ?k rdf:type ontology:work_of_art }
[]
work of art
Q2247968 Q996020
SYSTEM
Faceless, Fantômas
Q2247968 Q996020
(c(Q838948),P162,Q90)
action filter_type
action find_reverse
entity Q90
relation P162
type Q838948
[ANSWERS] have been produced by Paris
[{'concept': 'Q838948'}, 'P162', 'Q90']
SELECT DISTINCT ?k WHERE { ?k property:P162 resource:Q90 . ?k rdf:type ontology:Q838948 }
Faceless Fantômas
Faceless and Fantômas have been produced by Paris
Faceless Fantômas
action filter_type
action find_reverse
entity Paris
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Paris']
SELECT DISTINCT ?k WHERE { ?k property:producer resource:Paris . ?k rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q996020
P161
Q502895
USER
Which people starred in that work of art ?
(Q996020,P161,c(Q502895))
action filter_type
action find
entity Q996020
relation P161
type Q502895
['Q996020', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q996020 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Fantômas
action filter_type
action find
entity Fantômas
relation cast member
type common name
['Fantômas', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Fantômas property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q996020
SYSTEM
Did you mean Fantômas ?
Q2247968 Q996020
(Q2247968,P161,c(Q502895)) (Q996020,P161,c(Q502895))
[ANSWER]
['Q2247968', 'P161', {'concept': 'Q502895'}] ['Q996020', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q996020 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Faceless Fantômas
Did you mean Fantômas ?
Fantômas
['Faceless', 'cast member', {'concept': 'common name'}] ['Fantômas', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Fantômas property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q996020,P161,c(Q502895))
['Q996020', 'P161', {'concept': 'Q502895'}]
['Fantômas', 'cast member', {'concept': 'common name'}]
[]
Q168359 Q1867601 Q2737
SYSTEM
Jean Marais, Dominique Zardi, Louis de Funès
Q168359 Q3309243 Q1984434 Q3263880 Q2958498 Q3173539 Q2847690 Q2847415 Q3130893 Q3130587 Q3379527 Q3287772 Q3131246 Q2847185 Q1733939 Q3158243 Q518179 Q1867601 Q730564 Q981564 Q3174698 Q2737 Q3102157 Q239868 Q3291869 Q3094122 Q3170795 Q1384327 Q3293801 Q722412 Q3446801 Q3166600 Q2850883 Q3099086 Q3309544 Q2848982 Q3573341
(Q996020,P161,c(Q502895))
action filter_type
action find
entity Q996020
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q996020', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q996020 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Jean Marais Michel Charrel Bernard Musson Louisette Rousseau Charles Bayard Jean Minisini André Dumas André Bézu Henri Coutet Henri Attal Philippe Castelli Marc Arian Henri Guégan André Badin Rémy Julienne Jacques Berger André Hunebelle Dominique Zardi Pierre Collet Jacques Dynam Jean Sunny Louis de Funès Georges Adet Mylène Demongeot Marie-Hélène Arnaud Gabrielle Doulcet Jean Blancheur Raymond Pellegrin Marius Gaidon Robert Dalban Rudy Lenoir Jean-Louis Allibert Anne-Marie Peysson Gaston Meunier Michel Dupleix Andrée Tainsy Yvan Chiffre
Jean Marais, Dominique Zardi and Louis de Funès starred in that work of art
Jean Marais Dominique Zardi Louis de Funès
action filter_type
action find
entity Fantômas
relation cast member
type common name
['Fantômas', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Fantômas property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19759413
P161
Q838948
USER
Do Stringed Figure have those people as actor ?
(Q19759413,P161,Q168359) (Q19759413,P161,Q1867601) (Q19759413,P161,Q2737)
action is_in
entity prev_answer
action find
entity Q19759413
relation P161
['Q19759413', 'P161', 'Q168359'] ['Q19759413', 'P161', 'Q1867601'] ['Q19759413', 'P161', 'Q2737']
ASK WHERE { resource:Q19759413 property:P161 ?i . VALUES ( ?i ) { ( resource:Q168359 ) ( resource:Q3309243 ) ( resource:Q1984434 ) } }
Stringed Figure
action is_in
entity prev_answer
action find
entity Stringed Figure
relation cast member
['Stringed Figure', 'cast member', 'Jean Marais'] ['Stringed Figure', 'cast member', 'Dominique Zardi'] ['Stringed Figure', 'cast member', 'Louis de Funès']
ASK WHERE { resource:Stringed_Figure property:cast_member ?i . VALUES ( ?i ) { ( resource:Jean_Marais ) ( resource:Michel_Charrel ) ( resource:Bernard_Musson ) } }
[]
work of art
SYSTEM
NO
(Q19759413,P161,Q168359) (Q19759413,P161,Q1867601) (Q19759413,P161,Q2737)
action is_in
entity prev_answer
action find
entity Q19759413
relation P161
[ANSWER]
['Q19759413', 'P161', 'Q168359'] ['Q19759413', 'P161', 'Q1867601'] ['Q19759413', 'P161', 'Q2737']
ASK WHERE { resource:Q19759413 property:P161 ?i . VALUES ( ?i ) { ( resource:Q168359 ) ( resource:Q3309243 ) ( resource:Q1984434 ) } }
No
action is_in
entity prev_answer
action find
entity Stringed Figure
relation cast member
['Stringed Figure', 'cast member', 'Jean Marais'] ['Stringed Figure', 'cast member', 'Dominique Zardi'] ['Stringed Figure', 'cast member', 'Louis de Funès']
ASK WHERE { resource:Stringed_Figure property:cast_member ?i . VALUES ( ?i ) { ( resource:Jean_Marais ) ( resource:Michel_Charrel ) ( resource:Bernard_Musson ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q996020 Q90
P840
Q56061
USER
Is Paris the narrative location of Fantômas ?
(Q996020,P840,Q90)
action is_in
entity Q90
action find
entity Q996020
relation P840
['Q996020', 'P840', 'Q90']
ASK WHERE { resource:Q996020 property:P840 resource:Q90 }
Fantômas Paris
action is_in
entity Paris
action find
entity Fantômas
relation narrative location
['Fantômas', 'narrative location', 'Paris']
ASK WHERE { resource:Fantômas property:narrative_location resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q996020,P840,Q90)
action is_in
entity Q90
action find
entity Q996020
relation P840
[ANSWER]
['Q996020', 'P840', 'Q90']
ASK WHERE { resource:Q996020 property:P840 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Fantômas
relation narrative location
['Fantômas', 'narrative location', 'Paris']
ASK WHERE { resource:Fantômas property:narrative_location resource:Paris }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q168359
P161
Q838948
USER
How many works of art have Jean Marais in their star cast ?
(c(Q838948),P161,Q168359)
action count
action filter_type
action find_reverse
entity Q168359
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q168359']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:Q838948 . ?l property:P161 resource:Q168359 }
Jean Marais
action count
action filter_type
action find_reverse
entity Jean Marais
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jean Marais']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:work_of_art . ?l property:cast_member resource:Jean_Marais }
[]
work of art
SYSTEM
80
Q2510018 Q3525728 Q7939569 Q429043 Q6455578 Q2567849 Q3203849 Q1395971 Q3013696 Q3220825 Q3335922 Q7832884 Q3335946 Q1961869 Q2748742 Q3228501 Q1516405 Q2394596 Q927048 Q3563386 Q3234453 Q3236398 Q749191 Q612271 Q3535835 Q6456005 Q3201816 Q1564968 Q3220513 Q3213728 Q3231505 Q3365472 Q996020 Q2709328 Q3230467 Q2162087 Q1452426 Q3227002 Q2382986 Q3392255 Q3040247 Q2922145 Q2957573 Q2368120 Q5072684 Q3015535 Q1367513 Q2822119 Q134075 Q3202738 Q2153352 Q25521 Q601574 Q1527478 Q2260875 Q1186431 Q3346197 Q3223634 Q3223436 Q3791042 Q3226871 Q2873175 Q284921 Q3233233 Q1780602 Q12139998 Q3232157 Q5588127 Q3037273 Q2558836 Q2475912 Q1528525 Q544406 Q3189730 Q1196394 Q3225254 Q3459069 Q3211938 Q278533 Q3226954
(c(Q838948),P161,Q168359)
action count
action filter_type
action find_reverse
entity Q168359
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q168359']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:Q838948 . ?l property:P161 resource:Q168359 }
Le Château de verre Thomas the Impostor Voice of Silence Carmen L'Appel du destin Austerlitz L'honorable Stanislas, agent secret Fantômas contre Scotland Yard Nez de cuir Captain Blood Napoléon Train d'enfer Napoléon II l'Aiglon The Count of Monte Cristo Sept hommes et une garce Le Pavillon brûle White Nights If Paris Were Told to Us Beauty and the Beast Voyage sans espoir Les Parents terribles Les Miracles n'ont lieu qu'une fois Stealing Beauty Fantômas se déchaîne Toute la ville accuse L'Épervier L'Amour, Madame Pontius Pilate Le Bonheur La Vie à deux The Royalists Parking Fantômas Amour de poche Les Amants de minuit Orpheus Elena and Her Men Le Secret de Mayerling Le Lit à colonnes Pleins feux sur Stanislas Bizarre, Bizarre Boum sur Paris Chaque jour a son secret Man from Cocody Chantons sous l'Occupation Dans les rues Peau d'Âne Abused Confidence Les Mystères de Paris L'Aventurier My American Uncle Testament of Orpheus Typhon sur Nagasaki Le Capitaine Fracasse Le Masque de fer Royal Affairs in Versailles Nights of Fire Le Jouet criminel Le Guérisseur The mysteries of Rome Le Saint prend l'affût Aux yeux du souvenir Futures vedettes Les Hommes nouveaux Les Misérables The Eagle with Two Heads I Don Giovanni della Costa Azzurra Goubbiah, mon amour Dortoir des grandes Le Miracle des loups L'Éternel retour Le Bossu La Provocation Julietta Romulus and the Sabines Le Paria S.O.S. Noronha La Princesse de Clèves La Tour, prends garde ! Le Scandale
80
action count
action filter_type
action find_reverse
entity Jean Marais
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jean Marais']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:work_of_art . ?l property:cast_member resource:Jean_Marais }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q80938
P161
Q838948
USER
And how about John Travolta?
(c(Q838948),P161,Q80938)
action count
action filter_type
action find_reverse
entity Q80938
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q80938']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P161 resource:Q80938 . ?e rdf:type ontology:Q838948 }
John Travolta
action count
action filter_type
action find_reverse
entity John Travolta
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Travolta']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:cast_member resource:John_Travolta . ?e rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
55
Q4945428 Q538042 Q1479655 Q18151017 Q162672 Q865346 Q155458 Q591709 Q1577763 Q697142 Q19880557 Q1425487 Q885488 Q232248 Q1143802 Q826840 Q464716 Q2535635 Q969828 Q47654 Q223887 Q958142 Q1324330 Q869719 Q17037225 Q267721 Q1480617 Q909802 Q486954 Q1386388 Q1072661 Q637748 Q281281 Q392915 Q221491 Q742193 Q27204740 Q811023 Q572903 Q261923 Q3190085 Q206886 Q104123 Q582416 Q28776 Q222041 Q3196650 Q2365654 Q1208879 Q17064227 Q1752194 Q1229857 Q1629083 Q289469 Q1569923
(c(Q838948),P161,Q80938)
action count
action filter_type
action find_reverse
entity Q80938
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q80938']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P161 resource:Q80938 . ?e rdf:type ontology:Q838948 }
Boris and Natasha: The Movie Urban Cowboy Domestic Disturbance In a Valley of Violence Carrie From Paris with Love Staying Alive Religulous Look Who's Talking Now Lonely Hearts I Am Wrath The General's Daughter Blow Out Two of a Kind Savages Wild Hogs Phenomenon Shout Welcome to Hollywood Saturday Night Fever Face/Off A Love Song for Bobby Long Look Who's Talking The Taking of Pelham 123 The Forger Grease Primary Colors The Punisher Swordfish Ladder 49 Look Who's Talking Too She's So Lovely Eyes of an Angel Broken Arrow The Thin Red Line Perfect Life on the Line Battlefield Earth Be Cool Get Shorty Junket Whore A Civil Action Pulp Fiction Moment by Moment Basic Hairspray Killing Season The Experts Mad City Criminal Activities Michael Old Dogs The Devil's Rain White Man's Burden Lucky Numbers
55
action count
action filter_type
action find_reverse
entity John Travolta
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Travolta']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:cast_member resource:John_Travolta . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168359
P106
Q151885
USER
Which concept is the profession of Jean Marais ?
(Q168359,P106,c(Q151885))
action filter_type
action find
entity Q168359
relation P106
type Q151885
['Q168359', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q151885 . resource:Q168359 property:P106 ?k }
Jean Marais
action filter_type
action find
entity Jean Marais
relation occupation
type concept
['Jean Marais', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:concept . resource:Jean_Marais property:occupation ?k }
[]
concept
Q18814623
SYSTEM
autobiographer
Q18814623
(Q168359,P106,c(Q151885))
action filter_type
action find
entity Q168359
relation P106
type Q151885
The [ANSWER] is the profession of Jean Marais
['Q168359', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q151885 . resource:Q168359 property:P106 ?k }
autobiographer
The autobiographer is the profession of Jean Marais
autobiographer
action filter_type
action find
entity Jean Marais
relation occupation
type concept
['Jean Marais', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:concept . resource:Jean_Marais property:occupation ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q168359
P170
Q838948
USER
What was developed by that person ?
(c(Q838948),P170,Q18814623)
action filter_type
action find_reverse
entity Q168359
relation P170
type Q838948
[{'concept': 'Q838948'}, 'P170', 'Q18814623']
SELECT DISTINCT ?j WHERE { ?j property:P170 resource:Q168359 . ?j rdf:type ontology:Q838948 }
Jean Marais
action filter_type
action find_reverse
entity Jean Marais
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'autobiographer']
SELECT DISTINCT ?j WHERE { ?j property:creator resource:Jean_Marais . ?j rdf:type ontology:work_of_art }
[]
work of art
Q23637009
SYSTEM
Le Passe-muraille
Q23637009
(c(Q838948),P170,Q18814623)
action filter_type
action find_reverse
entity Q168359
relation P170
type Q838948
[ANSWER] was developed by that person
[{'concept': 'Q838948'}, 'P170', 'Q18814623']
SELECT DISTINCT ?j WHERE { ?j property:P170 resource:Q168359 . ?j rdf:type ontology:Q838948 }
Le Passe-muraille
Le Passe-muraille was developed by that person
Le Passe-muraille
action filter_type
action find_reverse
entity Jean Marais
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'autobiographer']
SELECT DISTINCT ?j WHERE { ?j property:creator resource:Jean_Marais . ?j rdf:type ontology:work_of_art }
[]