Simple Question (Direct)
Simple Question
Q4777269
P641
Q349
USER
What did Antonín Bořuta participate in ?
(Q4777269,P641,c(Q349))
action filter_type
action find
entity Q4777269
relation P641
type Q349
['Q4777269', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4777269 property:P641 ?s . ?s rdf:type ontology:Q349 }
Antonín Bořuta
action filter_type
action find
entity Antonín Bořuta
relation sport
type sport
['Antonín Bořuta', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Antonín_Bořuta property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q4777269,P641,c(Q349))
action filter_type
action find
entity Q4777269
relation P641
type Q349
Antonín Bořuta participated in [ANSWER]
['Q4777269', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4777269 property:P641 ?s . ?s rdf:type ontology:Q349 }
ice hockey
Antonín Bořuta participated in ice hockey
ice hockey
action filter_type
action find
entity Antonín Bořuta
relation sport
type sport
['Antonín Bořuta', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Antonín_Bořuta property:sport ?s . ?s rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q838948 Q44539
USER
Which people are min number of works of art and temples dedicated to ?
(c(Q838948)|c(Q44539),P825,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
[[{'concept': 'Q838948'}, {'concept': 'Q44539'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?p ) { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?t ) WHERE { { ?q property:P825 ?c . ?c rdf:type ontology:Q502895 . ?q rdf:type ontology:Q838948 } UNION { ?q property:P825 ?c . ?c rdf:type ontology:Q502895 . ?q rdf:type ontology:Q44539 } } GROUP BY ?c } } . FILTER ( ?r = ?p ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:P825 ?w . ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q44539 . ?m property:P825 ?w } } GROUP BY ?w } }
action argmin
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type work of art
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
[[{'concept': 'work of art'}, {'concept': 'temple'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?p ) { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?t ) WHERE { { ?q property:dedicated_to ?c . ?c rdf:type ontology:common_name . ?q rdf:type ontology:work_of_art } UNION { ?q property:dedicated_to ?c . ?c rdf:type ontology:common_name . ?q rdf:type ontology:temple } } GROUP BY ?c } } . FILTER ( ?r = ?p ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:dedicated_to ?w . ?w rdf:type ontology:common_name . ?m rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:common_name . ?m rdf:type ontology:temple . ?m property:dedicated_to ?w } } GROUP BY ?w } }
[]
common name work of art temple
Q8016 Q8023 Q23559
SYSTEM
Winston Churchill, Nelson Mandela, Benito Mussolini
Q101698 Q360420 Q1357149 Q249719 Q18684004 Q983142 Q392 Q11403872 Q85210 Q12688 Q336692 Q611078 Q65318 Q658756 Q1774929 Q183126 Q382053 Q3190301 Q93373 Q457863 Q150767 Q2288858 Q352978 Q1442 Q972905 Q448890 Q935 Q313737 Q7593283 Q1948037 Q173061 Q607495 Q19629510 Q5147053 Q18412922 Q683792 Q685156 Q888326 Q62068 Q2959955 Q171411 Q558261 Q87621 Q94316 Q1236699 Q458014 Q11074321 Q93341 Q935496 Q461258 Q4130411 Q4127503 Q38337 Q1398314 Q732526 Q65290 Q55398 Q44039 Q44032 Q20643690 Q37693 Q1666 Q120180 Q41117 Q174231 Q200188 Q417686 Q276404 Q541634 Q460876 Q181715 Q212850 Q8023 Q155540 Q878671 Q6699463 Q443559 Q535 Q9439 Q42887 Q272899 Q170726 Q187550 Q2594000 Q313942 Q464192 Q461104 Q966298 Q1196817 Q433995 Q1246313 Q85760 Q160257 Q314846 Q20173462 Q1429 Q724153 Q1425 Q1427 Q313093 Q32613 Q269867 Q66005 Q191039 Q454840 Q20644286 Q42511 Q3719466 Q44258 Q11633375 Q719428 Q237149 Q311080 Q7732 Q541694 Q313970 Q6918007 Q3262373 Q426814 Q570845 Q231690 Q378656 Q174044 Q502943 Q77187 Q2573616 Q313196 Q369668 Q1036864 Q102527 Q51056 Q15432686 Q539427 Q20757530 Q314802 Q8016 Q215333 Q2853967 Q700317 Q171977 Q1398704 Q11403852 Q311791 Q12872638 Q269520 Q204503 Q78657 Q234908 Q71231 Q346 Q17308940 Q1132756 Q11619989 Q154353 Q2360522 Q119957 Q2025679 Q382005 Q3770666 Q3618054 Q354519 Q349287 Q537553 Q154045 Q457433 Q1430 Q767 Q552220 Q215572 Q318974 Q3099236 Q160435 Q472635 Q92467 Q316658 Q6258837 Q1016482 Q328341 Q1293541 Q93362 Q538335 Q179971 Q11368835 Q773580 Q164522 Q117710 Q11403867 Q461600 Q712653 Q23559 Q1268 Q603655 Q352748 Q163366 Q20643663 Q11107790 Q33477 Q149727 Q7349 Q468122 Q503886 Q444380 Q1769 Q1446 Q310462 Q10881970 Q132232 Q47120 Q87567 Q232803 Q374467 Q965463 Q174367 Q6203829 Q179858 Q472851 Q982696 Q317997 Q123062 Q181689 Q964608 Q218690 Q151803 Q16766274 Q299179 Q1407 Q1405 Q836214 Q51673 Q234689 Q41309 Q354786
(c(Q838948)|c(Q44539),P825,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
Min number of works of art and temples are from [ANSWERS] to
[[{'concept': 'Q838948'}, {'concept': 'Q44539'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?p ) { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?t ) WHERE { { ?q property:P825 ?c . ?c rdf:type ontology:Q502895 . ?q rdf:type ontology:Q838948 } UNION { ?q property:P825 ?c . ?c rdf:type ontology:Q502895 . ?q rdf:type ontology:Q44539 } } GROUP BY ?c } } . FILTER ( ?r = ?p ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:P825 ?w . ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q44539 . ?m property:P825 ?w } } GROUP BY ?w } }
Gaetano Donizetti Serge Lifar Giacomo Bassi Yui Caroline Weber Julian the Hospitaller Bob Dylan Kitabatake Akiyoshi Karl Ritter von Stremayr Jean Jaurès Rodolphe Kreutzer António José de Ávila, 1st Duke of Ávila and Bolama Kibitsuhiko-no-mikoto Alof de Wignacourt Ferreolus Ramakrishna Antonio Sant'Elia Just of Lyon Archduke Rudolf of Austria Ingeborg Bronsart von Schellendorf Benjamin Britten Moriyoshi-shinnō Antoine Wiertz Septimius Severus Léon Goossens Charlotte Saunders Cushman Isaac Newton Drusus Julius Caesar St Govan Moritz Reichsgraf von Fries Syd Barrett Giuseppe De Nittis Saint Goustan Collet Barker Johann Georg von Browne-Camus Kitabatake Chikafusa Karl Alois, Prince Lichnowsky Bob Wills Princess Augusta of Hesse-Kassel Charles Panzéra Oda Nobunaga Saint Servatius Antonie Brentano Kikuchi Taketoki Giuseppe Sinigaglia Ottaviano Petrucci Kaneyoshi-shinnō Miles Davis Abundius Yamato Takeru Anastasia Vyaltseva Ferrutio Alexandre Dumas Paul Ladmirault José Guadalupe Posada Constantine, Prince of Hohenzollern-Hechingen Bernadette Soubirous Ludwig II of Bavaria Egon Schiele Claude-Emma Debussy Paul Gauguin Jacques Brel Alexander III of Russia Kim Il-sung Meiji Jimmu Nazarius Takeda Shingen Bobby Bland Lenny Bruce Thérèse of Lisieux Vitus Nelson Mandela Hans von Bülow Untash-Napirisha Ludwika Jędrzejewicz Elizabeth Sprague Coolidge Victor Hugo Queen Victoria Clement I Sebastian of Portugal Enrico Caruso Toyotomi Hideyoshi Diego Brosset Go-Daigo Vladimir Stasov Jaroslav Vrchlický Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Dorothea von Ertmann Giulietta Guicciardi Wanda Landowska Emperor Kammu Natalia Vladimirovna Trouhanowa Antoninus Pius Jesse Lauriston Livermore Trajan Hadrian Herman Boerhaave Minamoto no Yoshiie Odile of Alsace Margrave Christian Ludwig of Brandenburg-Schwedt Germanicus William Cullen Bryant Mathilde Zemlinsky H. G. Wells Edmund Clarence Stedman Basil of Caesarea Prince Toyokiirihiko William Michael Rossetti Ida Rubinstein Uesugi Kenshin Louis XVI of France Joseph Merk Anton Arensky Motoharu Sano Louis Jou Emmanuel de Rohan-Polduc Joseph Franz von Lobkowitz B. R. Ambedkar Saint Pantaleon Alexander Nevsky Andrey Razumovsky Ferdinand von Hompesch zu Bolheim Eric Fletcher Waters Louis Desaix William Osler Kitabatake Akiie Robert Falcon Scott Franz Joseph I of Austria Georges Vallet Johann Jacob Bach Madame Autard de Bragard Tenji Winston Churchill Carl Czerny Antoine Gailleton Yasuhito Chichibu Tokugawa Ieyasu Alexander Wilhelm Gottschalg Kitabatake Morichika Nikolai Rubinstein David of Euboea Shōken Pablo Martín Melitón de Sarasate y Navascués Alfred Grünfeld Nezami| Charles the Bald Louis IX of France James William Davison Sakai Tadatsugu Prince Uji no Wakiiratsuko François Arago Anna Petrovna Kern Alexis Roland-Manuel Albert Thomas Sugawara no Michizane Giuseppe Ghislanzoni Annibale Cressoni Charley Patton Sutoku Ludwig Schuncke Alexei Nikolaevich Sara Dylan Marcus Aurelius Antoninus Stéphane Mallarmé Giuseppe Zanardelli Felix Nussbaum Vincent of Saragossa Minamoto no Tsunemoto Gerrit Rietveld Gustav, Prince of Vasa Theodor Avé-Lallemant Go-Toba John Thomas Stanley, 1st Baron Stanley of Alderley Burkhard Nadolny Robert Smithson Saint Quentin Archduke Maximilian Francis of Austria Marianne Kirchgessner Chūai Shizuko Nogi Gianni Brera Hieda no Are Lorin Maazel Kitabatake Akinobu Teréz Brunszvik Henri Vernes Benito Mussolini Frédéric Chopin Fidelis of Como John Spencer Ezra Pound Hélène Bardac Kristjan Cavazza Eugène Delacroix Saint Giles Joseph Haydn Nogi Maresuke Sterling Morrison Imogen Holst Alexander Severus Caracalla Saigō Takamori Itsuse no Mikoto Clara Schumann David Oistrakh Anton Rubinstein Empress Jingu Gabriel of Our Lady of Sorrows Rumbold of Mechelen Djoser Jiří Tancibudek Urho Kekkonen Count Ferdinand Ernst Gabriel von Waldstein Bassel Khartabil Ōjin Jacques Necker Blind Willie McTell Lucien Pissarro Raymond Queneau Piet Mondrian Michelle Vian Kōmei Tiberius Augustus Princess Tōchi Mark Antony Monica of Hippo Franz Liszt Jean-Louis-Ernest Meissonier
Min number of works of art and temples are from Winston Churchill, Nelson Mandela and Benito Mussolini to
Winston Churchill Nelson Mandela Benito Mussolini
action argmin
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type work of art
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
[[{'concept': 'work of art'}, {'concept': 'temple'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?p ) { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?t ) WHERE { { ?q property:dedicated_to ?c . ?c rdf:type ontology:common_name . ?q rdf:type ontology:work_of_art } UNION { ?q property:dedicated_to ?c . ?c rdf:type ontology:common_name . ?q rdf:type ontology:temple } } GROUP BY ?c } } . FILTER ( ?r = ?p ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:dedicated_to ?w . ?w rdf:type ontology:common_name . ?m rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:common_name . ?m rdf:type ontology:temple . ?m property:dedicated_to ?w } } GROUP BY ?w } }
[]