Simple Question (Direct)
Simple Question
Q3101573
P97
Q355567
USER
What was the heriditary title held by George Francis Hampson ?
(Q3101573,P97,c(Q355567))
action filter_type
action find
entity Q3101573
relation P97
type Q355567
['Q3101573', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?m WHERE { resource:Q3101573 property:P97 ?m . ?m rdf:type ontology:Q355567 }
George Francis Hampson
action filter_type
action find
entity George Francis Hampson
relation noble title
type royal or noble rank
['George Francis Hampson', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?m WHERE { resource:George_Francis_Hampson property:noble_title ?m . ?m rdf:type ontology:royal_or_noble_rank }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
(Q3101573,P97,c(Q355567))
action filter_type
action find
entity Q3101573
relation P97
type Q355567
The heriditary title held by George Francis Hampson was a [ANSWER]
['Q3101573', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?m WHERE { resource:Q3101573 property:P97 ?m . ?m rdf:type ontology:Q355567 }
baronet
The heriditary title held by George Francis Hampson was a baronet
baronet
action filter_type
action find
entity George Francis Hampson
relation noble title
type royal or noble rank
['George Francis Hampson', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?m WHERE { resource:George_Francis_Hampson property:noble_title ?m . ?m rdf:type ontology:royal_or_noble_rank }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3101573
P69
Q2385804
USER
What is the educational institution where George Francis Hampson was educated ?
(Q3101573,P69,c(Q2385804))
action filter_type
action find
entity Q3101573
relation P69
type Q2385804
['Q3101573', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?e WHERE { resource:Q3101573 property:P69 ?e . ?e rdf:type ontology:Q2385804 }
George Francis Hampson
action filter_type
action find
entity George Francis Hampson
relation educated at
type educational institution
['George Francis Hampson', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?e WHERE { resource:George_Francis_Hampson property:educated_at ?e . ?e rdf:type ontology:educational_institution }
[]
educational institution
Q1067870
SYSTEM
Charterhouse School
Q1067870
(Q3101573,P69,c(Q2385804))
action filter_type
action find
entity Q3101573
relation P69
type Q2385804
The educational institution George Francis Hampson was educated is the [ANSWER]
['Q3101573', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?e WHERE { resource:Q3101573 property:P69 ?e . ?e rdf:type ontology:Q2385804 }
Charterhouse School
The educational institution George Francis Hampson was educated is the Charterhouse School
Charterhouse School
action filter_type
action find
entity George Francis Hampson
relation educated at
type educational institution
['George Francis Hampson', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?e WHERE { resource:George_Francis_Hampson property:educated_at ?e . ?e rdf:type ontology:educational_institution }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3101573
Q1244442
USER
And which school building?
(Q3101573,P69,c(Q1244442))
action filter_type
action find
entity Q3101573
relation P69
type Q1244442
['Q3101573', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?y WHERE { resource:Q3101573 property:P69 ?y . ?y rdf:type ontology:Q1244442 }
George Francis Hampson
action filter_type
action find
entity George Francis Hampson
relation educated at
type school building
['George Francis Hampson', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?y WHERE { resource:George_Francis_Hampson property:educated_at ?y . ?y rdf:type ontology:school_building }
[]
school building
Q81173
SYSTEM
Exeter College
Q81173
(Q3101573,P69,c(Q1244442))
action filter_type
action find
entity Q3101573
relation P69
type Q1244442
[ANSWER]
['Q3101573', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?y WHERE { resource:Q3101573 property:P69 ?y . ?y rdf:type ontology:Q1244442 }
Exeter College
Exeter College
action filter_type
action find
entity George Francis Hampson
relation educated at
type school building
['George Francis Hampson', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?y WHERE { resource:George_Francis_Hampson property:educated_at ?y . ?y rdf:type ontology:school_building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3101573
P106
Q12737077
USER
What is the profession of George Francis Hampson ?
(Q3101573,P106,c(Q12737077))
action filter_type
action find
entity Q3101573
relation P106
type Q12737077
['Q3101573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3101573 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
George Francis Hampson
action filter_type
action find
entity George Francis Hampson
relation occupation
type occupation
['George Francis Hampson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:George_Francis_Hampson property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q3055126
SYSTEM
entomologist
Q3055126
(Q3101573,P106,c(Q12737077))
action filter_type
action find
entity Q3101573
relation P106
type Q12737077
The profession of George Francis Hampson is an [ANSWER]
['Q3101573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3101573 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
entomologist
The profession of George Francis Hampson is an entomologist
entomologist
action filter_type
action find
entity George Francis Hampson
relation occupation
type occupation
['George Francis Hampson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:George_Francis_Hampson property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6271195
Q12737077
USER
And what about Jon Manasse?
(Q6271195,P106,c(Q12737077))
action filter_type
action find
entity Q6271195
relation P106
type Q12737077
['Q6271195', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q6271195 property:P106 ?e }
Jon Manasse
action filter_type
action find
entity Jon Manasse
relation occupation
type occupation
['Jon Manasse', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Jon_Manasse property:occupation ?e }
[]
occupation
Q16145150
SYSTEM
music educator
Q16145150
(Q6271195,P106,c(Q12737077))
action filter_type
action find
entity Q6271195
relation P106
type Q12737077
[ANSWER]
['Q6271195', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q6271195 property:P106 ?e }
music educator
music educator
action filter_type
action find
entity Jon Manasse
relation occupation
type occupation
['Jon Manasse', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Jon_Manasse property:occupation ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5482342
P655
Q502895 Q234460 Q2342494
USER
Which people translated around the same number of texts and collectables as Francis Rous ?
(c(Q234460)|c(Q2342494),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q5482342
relation P655
type Q234460
type Q2342494
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?r WHERE { { ?v property:P655 ?r . ?r rdf:type ontology:Q502895 . ?v rdf:type ontology:Q234460 } UNION { ?r rdf:type ontology:Q502895 . ?v rdf:type ontology:Q2342494 . ?v property:P655 ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P655 resource:Q5482342 . { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q234460 } } } } . FILTER ( ?p = ?x ) }
Francis Rous
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Francis Rous
relation translator
type text
type collectable
[[{'concept': 'text'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?r WHERE { { ?v property:translator ?r . ?r rdf:type ontology:common_name . ?v rdf:type ontology:text } UNION { ?r rdf:type ontology:common_name . ?v rdf:type ontology:collectable . ?v property:translator ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:translator resource:Francis_Rous . { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:text } } } } . FILTER ( ?p = ?x ) }
[]
common name text collectable
Q22670 Q311145 Q7724
SYSTEM
Friedrich Schiller, Joaquim Maria Machado de Assis, August Strindberg
Q473257 Q15627070 Q16735829 Q2484224 Q13625830 Q4722962 Q4008356 Q1598616 Q7343976 Q1522232 Q1596974 Q5557935 Q25907346 Q11691375 Q15058303 Q740181 Q1236766 Q22122640 Q432129 Q583636 Q152513 Q2834417 Q1386895 Q21163187 Q2866084 Q12022141 Q1670314 Q3778505 Q1080664 Q11892653 Q18057590 Q3770083 Q5783562 Q326446 Q20604202 Q16351748 Q2741209 Q3340035 Q14624816 Q11938435 Q1286996 Q18674564 Q4218084 Q13986461 Q3838677 Q18533819 Q27210315 Q948875 Q538478 Q4523309 Q24270955 Q315537 Q6204963 Q70350 Q273207 Q11738152 Q799227 Q18117902 Q700638 Q16681666 Q1146330 Q767 Q157324 Q23016360 Q4230831 Q1677683 Q164047 Q12022556 Q352725 Q10859105 Q326565 Q19795189 Q709913 Q3089751 Q27518409 Q6239158 Q14624850 Q14624853 Q18911125 Q18911127 Q3750781 Q11867575 Q17384764 Q7781731 Q18911831 Q1903409 Q15631816 Q3666426 Q15097946 Q15676151 Q18036076 Q214674 Q1291339 Q15980965 Q18197548 Q17778060 Q23704781 Q15500705 Q15929708 Q309704 Q312948 Q9353091 Q2712746 Q1284903 Q711869 Q16941315 Q23036466 Q8013808 Q16616102 Q17741205 Q3136056 Q16707897 Q18912159 Q3732317 Q2362727 Q3156735 Q466373 Q721882 Q716799 Q708769 Q12028170 Q1091668 Q1351224 Q15640119 Q10772355 Q125057 Q532457 Q47102 Q18011911 Q26202389 Q429915 Q213355 Q1286352 Q373633 Q27495441 Q298051 Q1257744 Q7781676 Q12032593 Q5482342 Q7387473 Q3194039 Q1680343 Q10854209 Q7287827 Q16726245 Q2521964 Q32862 Q1583808 Q16943920 Q22666574 Q215896 Q16913148 Q3103347 Q1911436 Q18916411 Q6239771 Q21163211 Q327853 Q18533685 Q1443655 Q436010 Q2714672 Q17566028 Q4233718 Q11336703 Q4829432 Q1959637 Q255184 Q18912520 Q2277299 Q501 Q22666406 Q203952 Q21038707 Q4668814 Q4953082 Q14624887 Q6226858 Q21694397 Q12016878 Q1294115 Q15975427 Q18342457 Q1465459 Q1611257 Q312829 Q19876123 Q24208183 Q1673390 Q18114942 Q11065945 Q8051334 Q3742104 Q1090185 Q9251137 Q14624870 Q8010766 Q5388510 Q483709 Q1278926 Q600678 Q21927942 Q3616238 Q3272933 Q18298305 Q199588 Q97143 Q15635663 Q18115292 Q64395 Q2022 Q3261864 Q22670 Q11423166 Q2157568 Q721846 Q16735603 Q23036043 Q1245203 Q263430 Q125967 Q7724 Q1242472 Q4800569 Q5211406 Q172599 Q1040724 Q15635808 Q173481 Q311145 Q5321809 Q16944173 Q3849024 Q566194 Q15830067 Q3380390 Q3076750 Q25273299 Q12002015 Q2884048 Q16395252 Q3707130 Q27134327 Q1878186 Q27076208 Q7788510 Q1287990 Q21481863 Q4231926 Q22323820 Q17341213 Q5363930 Q15131988 Q2468579 Q15286413 Q3308207 Q228494 Q334973 Q4647667 Q17362913 Q159542 Q4887959 Q166234 Q3014293 Q26468059 Q26160700 Q6965815 Q246018 Q18547740 Q9066286 Q332462 Q18674559 Q2960080 Q7636731 Q187818 Q75889
(c(Q234460)|c(Q2342494),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q5482342
relation P655
type Q234460
type Q2342494
[ANSWERS] translated around the same number of texts and collectables as Francis Rous
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?r WHERE { { ?v property:P655 ?r . ?r rdf:type ontology:Q502895 . ?v rdf:type ontology:Q234460 } UNION { ?r rdf:type ontology:Q502895 . ?v rdf:type ontology:Q2342494 . ?v property:P655 ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P655 resource:Q5482342 . { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q234460 } } } } . FILTER ( ?p = ?x ) }
George Coșbuc Agnes Kinloch Kingston Harris Rackham Victor Bérard Tibor Miklós Alfred John Church Valter Juva Heinrich Riethmüller Robert Edward Crozier Long Giambattista Giusti Heinrich Conrad Giacomo da Scarperia J. Huston McCulloch Mary Ann Newman Peter Kilduff Karel Sabina Ippolito Pindemonte David Fernbach Viktor Rydberg Bernhard Severin Ingemann Henry Wadsworth Longfellow Alexis-François Artaud De Montor Hans Joachim Herwald William Alexander McDevitte Arvède Barine Ivo Železný Jeffrey Herf Robin Flower Jiří Třanovský Sauvo Puhtila Ernest Falconnet Giuseppe Bedeschi Conrad Roure Antonin Klášterský Seán Ó Coileáin Annie Shepley Omori Téodor de Wyzewa Nicolas Artaud Barbara Mooyaart-Doubleday Vratislav Kazimír Šembera Edmund Yard Robbins Lewis Gidley Kazimierz Kaszewski Čeněk Ibl Luciano Parinetto Alexandre Ular Iain Patterson Ferenc Verseghy Gilbert Murray Sergey Shestakov Zuzana Talířová William Cowper Joan Copjec Karl Joseph Simrock George Egerton Kazimierz Morawski Hisashi Nozawa Édouard Sommer Eugène Burnouf Ulysse-François-Ange de Séguier Karl Heinz Bolay Stéphane Mallarmé François Guizot M. L. McClure Konisi Masutaro Jacob de Haas Alexander Pope Jan Hejčl Richard Brinsley Sheridan Augustin Eugen Mužík Rudolf Dvořák Basanta Koomar Roy Arthur Hornblow, Jr. Frédéric Delebecque Henri Berguin John Hewlett Tylia Caren Suzanne Lombard Eva Margaret Martin H. Otto Sommer Antoni Rubió i Lluch Juho Jäykkä Konrad Alexis Waaranen Theodore Chickering Williams Mary Arms Edmonds Martin Beheim-Schwarzbach José Pedro Xavier Pinheiro Charles Kenneth Scott Moncrieff Adolf Gottwald Gaetano Barbieri Antoni Robert Stanisławski Max Colpet Edvard Fredin Maude Ashurst Biggs Émile Durand-Gréville Jože Debevec George Burnham Ives Matt Thorn Sylvie d'Avigdor Leconte de Lisle William Carey Sławomir Błaut Arthur John Arberry Kurt Wagenseil Arthur Waley Léon Sorg Charles Tayler William Julius Mickle Pauline Westdahl Carlo Rusconi Hippolyte Fauche Anja Hegemann Miriam Singleton Knight Ernesto Ragazzoni Alexandre Langlois J.-Wladimir Bienstock Pekka Ervast Léon Wieger Marcelino Menéndez Pelayo Jean-Antoine Dubois Karel Dostál-Lutinov Clara Bell Pekka Hannikainen Frederick Paul Walter Man Arai Richard Francis Burton Edward FitzGerald Joseph Smith Théophile Baudement V. Narducci Alexander Sumarokov John Dryden András Schéry Stanislas Julien Klaus-Peter Bauer Julien Gracq Ortensio Lando Theodore Alois Buckley Ladislav Quis Francis Rous S. Foster Damon Katherine Prescott Wormeley James Elroy Flecker Antonín Škoda Ralph Manheim Alfred Roussel Vicente Jarque Ettore Romagnoli Hansi Bochow-Blüthgen Augustus Taber Murray Petr Miklica Alfred Schmidt Ludwig von Schönfeldt Georges Pillement Maurice Rollinat Stanley Corngold John Hookham Frere W. S. Bohn C.V.A. Strandberg Jules Besse Frank Lenart John Nelson Darby Alessandro Marchetti Michèle Zachayus anonymous Henry Adams Bellows Avrahm Yarmolinsky N. O. Scarpi Lucy, Lady Duff-Gordon Frederick Colin Tilney Martine Bijl Charles Baudelaire Eva Nevrlá Antoine de Rivarol Laurence Videloup Abraham Coles Walborg Hedberg Arrigo de Vita John Conington Angelika Shafir František Alois Hora Tomislav Dretar Alfred Hayes William Jackson Brodribb Fritz A. Koeniger Hermann Gressieker Samuel Butler Liam Ó Rinn Antonín Liška Isaac Goldberg Yann Forget Bedřich Peška Yei Theodora Ozaki Felice Bellotti John Middleton Murry Edward Porębowicz María Isabel Iglesias William Hamilton Fyfe Erik Brate Yakub Kolas Eberhard Cronshagen Aleksey Pleshcheyev William Frederick Harvey Andreu Febrer Edward Seidensticker John Meiklejohn Carlo Collodi Frederick Philip Grove Carol Della Chiesa William Little Hughes Heinrich Georg Bronn Cesare Pavese Louis Fabulet Friedrich Schiller Kōchi Doi Robert Hillyer Luigi Alamanni Gisela Drohla Guillaume Garnier Doris Kilias Károly Szász Fritz Vogelgsang August Strindberg Sabine Baring-Gould Arthur W. Ryder Dallas Seavey Giacomo Leopardi Carl Streckfuß Paul Artur Eugen Andrae Fernando Pessoa Joaquim Maria Machado de Assis E. D. A. Morshead Charles Lett Feltoe Mario Rapisardi Anneliese Schütz František Tropp Philippe Minard Helen Craig McCullough Katherine Miller Ferdinand Heller Barbara Wright Bo Pu Diego Angeli Hans F. Wilhelm Lutz Riedel Christine Lembach Thomas Cogan James Legge Tarashankar Tarkaratna Natalia Konchalovskaïa Noëlla Kim Enric Franco Elizur Wright Käthe Roth Mikhail Larionovitch Mikhailov Chikako Narita Michael Friedländer Elizabeth Barrett Browning Hugues Felicité Robert de Lamennais A. D. Godley Giorgio Baratta Jan Evangelista Purkyně Gustav Antonio Gjessing Ugo Foscolo Daniel Lauzon Josef Snášel Quico Rovira-Beleta Nares Chandra Sen-Gupta John Mason Neale Iuliu Cezar Săvescu Ramon Folch i Camarasa Ivan Franko Csillag Imre Charles Rabot Artur Masriera i Colomer John Eliot Friedrich Hölderlin
Friedrich Schiller, Joaquim Maria Machado de Assis and August Strindberg translated around the same number of texts and collectables as Francis Rous
Friedrich Schiller Joaquim Maria Machado de Assis August Strindberg
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Francis Rous
relation translator
type text
type collectable
[[{'concept': 'text'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?r WHERE { { ?v property:translator ?r . ?r rdf:type ontology:common_name . ?v rdf:type ontology:text } UNION { ?r rdf:type ontology:common_name . ?v rdf:type ontology:collectable . ?v property:translator ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:translator resource:Francis_Rous . { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:text } } } } . FILTER ( ?p = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q711132
P655
Q502895 Q234460 Q2342494
USER
And also tell me about Gerard van Swieten?
(c(Q234460)|c(Q2342494),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q711132
relation P655
type Q234460
type Q2342494
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?w ) WHERE { { ?f property:P655 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q234460 } UNION { ?f property:P655 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 } } GROUP BY ?b } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P655 resource:Q711132 . { { ?i rdf:type ontology:Q234460 } UNION { ?i rdf:type ontology:Q2342494 } } } } }
Gerard van Swieten
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Gerard van Swieten
relation translator
type text
type collectable
[[{'concept': 'text'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?w ) WHERE { { ?f property:translator ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:text } UNION { ?f property:translator ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:collectable } } GROUP BY ?b } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:translator resource:Gerard_van_Swieten . { { ?i rdf:type ontology:text } UNION { ?i rdf:type ontology:collectable } } } } }
[]
common name text collectable
Q7833 Q7199 Q27645
SYSTEM
Boris Vian, Marcel Proust, Mikhail Bakunin
Q15485966 Q1365246 Q6319456 Q8073032 Q15829932 Q5545017 Q166103 Q4776346 Q3893579 Q5075584 Q15731133 Q1204764 Q551916 Q315387 Q3002899 Q2034058 Q2342303 Q21198589 Q6106473 Q5592425 Q15830175 Q2426358 Q19558763 Q5344871 Q173893 Q15730505 Q19247400 Q6221743 Q537725 Q461104 Q18194528 Q1261943 Q18910540 Q705464 Q736808 Q2306330 Q12021951 Q117818 Q3435434 Q3480886 Q12347931 Q20741641 Q5083101 Q194797 Q6555626 Q964250 Q15845503 Q15730888 Q7833 Q24249650 Q15831362 Q15732079 Q19604039 Q5338555 Q4798834 Q4858769 Q25916882 Q16012057 Q15688121 Q13007 Q4374157 Q6830502 Q12044092 Q5407336 Q11226970 Q5389664 Q26696385 Q2850611 Q5591211 Q24732882 Q12348796 Q12026167 Q20880602 Q711132 Q2636383 Q7199 Q11466035 Q7792959 Q17373543 Q78992 Q1142551 Q7791545 Q27645 Q5331522 Q2830584 Q18507214 Q584292 Q12348348 Q1968214 Q4961807 Q503276 Q1058300 Q3370615 Q229646 Q6759575 Q5076781 Q6218266 Q44248 Q26696413 Q713705 Q4722337 Q1705960 Q21993674 Q5497135 Q3496808 Q21121436 Q151720 Q435584 Q4066649 Q3570545 Q15731156 Q7793870 Q18912322 Q505466 Q23238000 Q356011 Q1077843 Q12355898 Q3361811 Q182905 Q3257803 Q15732879 Q15830142 Q2158925 Q4771483 Q6309841
(c(Q234460)|c(Q2342494),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q711132
relation P655
type Q234460
type Q2342494
[ANSWERS]
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?w ) WHERE { { ?f property:P655 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q234460 } UNION { ?f property:P655 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 } } GROUP BY ?b } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P655 resource:Q711132 . { { ?i rdf:type ontology:Q234460 } UNION { ?i rdf:type ontology:Q2342494 } } } } }
Jay P. Green Vatslav Vorovsky Jyotirindranath Tagore Zlatoje Martinov August Radimský George Szirtes Étienne Lamotte Antonina W. Bouis Vilho Setälä Charles Bertram Bronislaw Kuhl Whittaker Chambers Jaume Grau Casas Frank P. Ramsey Cristoforo Armeno V. V. Adoratsky Gregory Rabassa William James Hickie J. Martin Holman Graeme Wilson Jan Šafránek Thomas Nugent Lucian Hobart Ryland Edward Plumptre John Wycliffe Isĥak Muĉnik Friedrich Wilhelm Frommann John Bertram Phillips David Bellos Jaroslav Vrchlický Henry Arthur Deuteros Phillips Karel Bohuš Kober Edward Philip Coleridge Masuji Ibuse John Sydenham Furnivall Philip Henry Wicksteed Ivan Krestanov Jean Barbeyrac Robert Hurley Lewis Campbell Fran Janjić John P. O'Neill Charles Valentine Le Grice Joscelyn Godwin Lionel Elvin Ilya Kaminsky-Halpérine Anne Busnel Oskar Frode Boris Vian Jan Dolenský Václav Kredba Alexandra Mexin Marian Fell Edith Grossman Arthur Goldhammer Barbara Bray Julien François William Garcin Paull Franklin Baum Samuel Epes Turner Lidia Zamenhof Vladimir Posse Michael Gallagher Pavel J. Šulc Eugene H. Peterson Henrik Seppik Erkin Vohidov Itala Castellini Anna Swanwick Steven T. Byington Hynek Jaroslav Mejsnar Hendrik Coenraad Mees Josef Jiří Stankovský David Rosenberg Gerard van Swieten Richard Howard Marcel Proust Atsuko Yamashita Thomas P. Whitney Jacek Giszczak Abraham Brill James Strang Thomas Kingsmill Abbott Mikhail Bakunin Ebba Segerberg Alan Sheridan Sarah Elizabeth Utterson Louis Viardot Grenkamp Nikolay Khokhlov Breon Mitchell Charles Kay Ogden Suematsu Kenchō Paul Benoit G. E. M. Anscombe Margaret Jull Costa Charles DeKay John Addison Porter Jerome Natalia Rosi Herbert Giles Alfred Birnbaum Josef Václav Sládek Vincent Roudaut Frederic Shoberl Stanley Chapman George Thornley Ken Liu Samuil Marshak Alexandra Nikitichna Annenskaya Xan Fielding Andreo Fiŝer Thomas Seltzer Thomas Bailey Saunders Idries Shah Geoffrey Montague Cookson Richard Claverhouse Jebb Abdullah Yusuf Ali Tiberiu Morariu Pamphile LeMay Georgi Plekhanov Lodovico Domenichi Léon Bergiers Jan J. Benešovský-Veselý Robert Sutherland Rattray Anthea Bell Julius Hare
Boris Vian Marcel Proust Mikhail Bakunin
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Gerard van Swieten
relation translator
type text
type collectable
[[{'concept': 'text'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?w ) WHERE { { ?f property:translator ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:text } UNION { ?f property:translator ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:collectable } } GROUP BY ?b } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:translator resource:Gerard_van_Swieten . { { ?i rdf:type ontology:text } UNION { ?i rdf:type ontology:collectable } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7833
P69
Q2385804 Q41176
USER
How many educational institutions and buildings are the alma mater of Boris Vian ?
(Q7833,P69,c(Q2385804)) (Q7833,P69,c(Q41176))
action count
action union
action filter_type
action find
entity Q7833
relation P69
type Q2385804
action filter_type
action find
entity Q7833
relation P69
type Q41176
['Q7833', 'P69', {'concept': 'Q2385804'}] ['Q7833', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { resource:Q7833 property:P69 ?y . ?y rdf:type ontology:Q2385804 } UNION { ?y rdf:type ontology:Q41176 . resource:Q7833 property:P69 ?y } }
Boris Vian
action count
action union
action filter_type
action find
entity Boris Vian
relation educated at
type educational institution
action filter_type
action find
entity Boris Vian
relation educated at
type building
['Boris Vian', 'educated at', {'concept': 'educational institution'}] ['Boris Vian', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { resource:Boris_Vian property:educated_at ?y . ?y rdf:type ontology:educational_institution } UNION { ?y rdf:type ontology:building . resource:Boris_Vian property:educated_at ?y } }
[]
educational institution building
SYSTEM
1 educational institutions and 2 buildings
Q926749 Q273447 Q1444157
(Q7833,P69,c(Q2385804)) (Q7833,P69,c(Q41176))
action count
action union
action filter_type
action find
entity Q7833
relation P69
type Q2385804
action filter_type
action find
entity Q7833
relation P69
type Q41176
[ANSWER]
['Q7833', 'P69', {'concept': 'Q2385804'}] ['Q7833', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { resource:Q7833 property:P69 ?y . ?y rdf:type ontology:Q2385804 } UNION { ?y rdf:type ontology:Q41176 . resource:Q7833 property:P69 ?y } }
Lycée Condorcet École Centrale Paris Lycée Hoche
1 educational institutions and 2 buildings
action count
action union
action filter_type
action find
entity Boris Vian
relation educated at
type educational institution
action filter_type
action find
entity Boris Vian
relation educated at
type building
['Boris Vian', 'educated at', {'concept': 'educational institution'}] ['Boris Vian', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { resource:Boris_Vian property:educated_at ?y . ?y rdf:type ontology:educational_institution } UNION { ?y rdf:type ontology:building . resource:Boris_Vian property:educated_at ?y } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2560899 Q311145
P58
Q838948
USER
Which works of art have Joaquim Maria Machado de Assis or Werner Boote as screenwriter ?
OR((c(Q838948),P58,Q311145), (c(Q838948),P58,Q2560899))
action filter_type
action union
action find_reverse
entity Q311145
relation P58
action find_reverse
entity Q2560899
relation P58
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q311145'], [{'concept': 'Q838948'}, 'P58', 'Q2560899']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P58 resource:Q311145 } UNION { ?s property:P58 resource:Q2560899 } } . ?s rdf:type ontology:Q838948 }
Werner Boote Joaquim Maria Machado de Assis
action filter_type
action union
action find_reverse
entity Joaquim Maria Machado de Assis
relation screenwriter
action find_reverse
entity Werner Boote
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Joaquim Maria Machado de Assis'], [{'concept': 'work of art'}, 'screenwriter', 'Werner Boote']]}
SELECT DISTINCT ?s WHERE { { { ?s property:screenwriter resource:Joaquim_Maria_Machado_de_Assis } UNION { ?s property:screenwriter resource:Werner_Boote } } . ?s rdf:type ontology:work_of_art }
[]
work of art
Q8513746 Q10328595 Q2098501
SYSTEM
Villa-Lobos: A Life of Passion, Memórias Póstumas, Plastic Planet
Q8513746 Q10328595 Q2098501
OR((c(Q838948),P58,Q311145), (c(Q838948),P58,Q2560899))
action filter_type
action union
action find_reverse
entity Q311145
relation P58
action find_reverse
entity Q2560899
relation P58
type Q838948
[ANSWERS] have Joaquim Maria Machado de Assis or Werner Boote as screenwriter
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q311145'], [{'concept': 'Q838948'}, 'P58', 'Q2560899']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P58 resource:Q311145 } UNION { ?s property:P58 resource:Q2560899 } } . ?s rdf:type ontology:Q838948 }
Villa-Lobos: A Life of Passion Memórias Póstumas Plastic Planet
Villa-Lobos: A Life of Passion, Memórias Póstumas and Plastic Planet have Joaquim Maria Machado de Assis or Werner Boote as screenwriter
Villa-Lobos: A Life of Passion Memórias Póstumas Plastic Planet
action filter_type
action union
action find_reverse
entity Joaquim Maria Machado de Assis
relation screenwriter
action find_reverse
entity Werner Boote
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Joaquim Maria Machado de Assis'], [{'concept': 'work of art'}, 'screenwriter', 'Werner Boote']]}
SELECT DISTINCT ?s WHERE { { { ?s property:screenwriter resource:Joaquim_Maria_Machado_de_Assis } UNION { ?s property:screenwriter resource:Werner_Boote } } . ?s rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q294001
P674
Q22988604 Q6619679 Q838948
USER
How many works of art have the character less number of mythological Greek characters or fictional humanoids than Oedipus at Colonus ?
(c(Q838948),P674,c(Q22988604)|c(Q6619679))
action count
action less
action union
action find_tuple_counts
relation P674
type Q838948
type Q22988604
action find_tuple_counts
relation P674
type Q838948
type Q6619679
action count
action filter_multi_types
action find
entity Q294001
relation P674
type Q22988604
type Q6619679
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?w WHERE { { ?w property:P674 ?x . ?x rdf:type ontology:Q22988604 . ?w rdf:type ontology:Q838948 } UNION { ?w property:P674 ?x . ?w rdf:type ontology:Q838948 . ?x rdf:type ontology:Q6619679 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:Q6619679 ) ( ontology:Q22988604 ) } } . resource:Q294001 property:P674 ?z } } . FILTER ( ?y < ?l ) }
Oedipus at Colonus
action count
action less
action union
action find_tuple_counts
relation characters
type work of art
type mythological Greek character
action find_tuple_counts
relation characters
type work of art
type fictional humanoid
action count
action filter_multi_types
action find
entity Oedipus at Colonus
relation characters
type mythological Greek character
type fictional humanoid
[{'concept': 'work of art'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?w WHERE { { ?w property:characters ?x . ?x rdf:type ontology:mythological_Greek_character . ?w rdf:type ontology:work_of_art } UNION { ?w property:characters ?x . ?w rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_humanoid } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:fictional_humanoid ) ( ontology:mythological_Greek_character ) } } . resource:Oedipus_at_Colonus property:characters ?z } } . FILTER ( ?y < ?l ) }
[]
mythological Greek character fictional humanoid work of art
SYSTEM
115
Q309048 Q3091040 Q86440 Q20736738 Q2893677 Q7230176 Q1216139 Q3226385 Q3230758 Q23701769 Q2312519 Q20711488 Q969098 Q1764277 Q206400 Q868483 Q286381 Q846870 Q945342 Q320594 Q26768828 Q903424 Q18170404 Q3481943 Q3320792 Q3231331 Q568928 Q241077 Q471066 Q512807 Q2911576 Q1196012 Q29478 Q11053391 Q788676 Q754687 Q614607 Q542055 Q632743 Q5437016 Q5071342 Q961492 Q2864475 Q3820032 Q375786 Q3221287 Q14772351 Q3278137 Q15005 Q3247743 Q3332723 Q16933688 Q559310 Q3213141 Q788458 Q148643 Q3278101 Q332387 Q130283 Q1246408 Q4205446 Q705232 Q3483718 Q1189436 Q7283713 Q4409901 Q758588 Q672319 Q3221640 Q12900461 Q1368693 Q3246902 Q4146306 Q1233164 Q11688406 Q341482 Q3211245 Q498150 Q16201590 Q2022683 Q733444 Q24060599 Q4261490 Q506546 Q41567 Q2869617 Q3457623 Q1183443 Q2972876 Q746818 Q1216943 Q1476152 Q1415903 Q2882090 Q102754 Q83186 Q4851394 Q1233203 Q888131 Q2834224 Q5380161 Q7752052 Q4796620 Q3246423 Q1224659 Q23395 Q934597 Q793366 Q3515611 Q587921 Q844836 Q337078 Q583392 Q740134 Q2924384
(c(Q838948),P674,c(Q22988604)|c(Q6619679))
action count
action less
action union
action find_tuple_counts
relation P674
type Q838948
type Q22988604
action find_tuple_counts
relation P674
type Q838948
type Q6619679
action count
action filter_multi_types
action find
entity Q294001
relation P674
type Q22988604
type Q6619679
[ANSWER]
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?w WHERE { { ?w property:P674 ?x . ?x rdf:type ontology:Q22988604 . ?w rdf:type ontology:Q838948 } UNION { ?w property:P674 ?x . ?w rdf:type ontology:Q838948 . ?x rdf:type ontology:Q6619679 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:Q6619679 ) ( ontology:Q22988604 ) } } . resource:Q294001 property:P674 ?z } } . FILTER ( ?y < ?l ) }
King Kong Furia à Bahia pour OSS 117 The Tempest Kullervo Beep, Beep Porky and Gabby The Suppliants Arsène Lupin Returns The Adventures of Arsène Lupin Periandros van Korinthe Home Harry Potter and the Cursed Child Phèdre Taras Bulba The Merchant of Venice A Chinese Odyssey Medea Prometheus Bound Trachiniae Abhijñānaśākuntalam Teit meistä kauniin Iphigénie Seer 4 Sherlock Holmes Agamemnon Majestic Hotel Cellars Garfield: The Movie Antigone The Government Inspector Andromaque Bossemans et Coppenolle Britannicus Faust La Torna Bajazet Athalie Ion Sir Thomas More The Barber of Seville Fast and Furry-ous Chandragupta OSS 117: Lost in Rio Arsene Lupin, Detective The Man on the Eiffel Tower Hippolytus The Yellow Dog Batman v Superman: Dawn of Justice Maigret Sees Red Woe from Wit OSS 117 n'est pas mort Médée The Fencer Maigret Sets a Trap La Thébaïde The Persians Oedipus Rex Maigret et l'Affaire Saint-Fiacre The Taming of the Shrew Macbeth Alcestis La Tête d'un homme Arsène Lupin Signé Arsène Lupin OSS 117: Cairo, Nest of Spies Raid The Wedding Arsene Lupin vs. Arsene Lupin The Suppliants Maigret a Pigalle Ino GeGeGe no Kitarō OSS 117 - Double Agent An Ardent Heart Eumenides The Libation Bearers Acis and Galatea Night at the Crossroads Taras Bulba Going! Going! Gosh! On the Harmful Effects of Tobacco Electra Die Pluimsaad Waai Ver Liquidation Seven against Thebes Hamlet Atout coeur à Tokyo pour OSS 117 Mudrarakshasa The Crucible Five Ashore in Singapore Esther The Trojan Women Waxwork II: Lost in Time Philoctetes Banco à Bangkok pour OSS 117 Dr. No Romeo and Juliet Balladyna Herakles' Children The Wind Rises Alexandre le Grand Enter Arsène Lupin The Monkey King Arsène Lupin OSS 117 takes a vacation Digimon Adventure: Bokura no War Game! Fear and Loathing in Las Vegas The Bacchae Berenice Taras Bulba Garfield: A Tail of Two Kitties The Merry Wives of Windsor The Big Lebowski Les Plaideurs Mithridate Full House
115
action count
action less
action union
action find_tuple_counts
relation characters
type work of art
type mythological Greek character
action find_tuple_counts
relation characters
type work of art
type fictional humanoid
action count
action filter_multi_types
action find
entity Oedipus at Colonus
relation characters
type mythological Greek character
type fictional humanoid
[{'concept': 'work of art'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?w WHERE { { ?w property:characters ?x . ?x rdf:type ontology:mythological_Greek_character . ?w rdf:type ontology:work_of_art } UNION { ?w property:characters ?x . ?w rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_humanoid } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:fictional_humanoid ) ( ontology:mythological_Greek_character ) } } . resource:Oedipus_at_Colonus property:characters ?z } } . FILTER ( ?y < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1246408
P674
Q22988604 Q6619679 Q838948
USER
And what about Alcestis?
(c(Q838948),P674,c(Q22988604)|c(Q6619679))
action count
action less
action union
action find_tuple_counts
relation P674
type Q838948
type Q22988604
action find_tuple_counts
relation P674
type Q838948
type Q6619679
action count
action filter_multi_types
action find
entity Q1246408
relation P674
type Q22988604
type Q6619679
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?r WHERE { VALUES ( ?u ) { ( ontology:Q22988604 ) ( ontology:Q6619679 ) } . ?i rdf:type ?u } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { { ?c rdf:type ontology:Q6619679 } UNION { ?c rdf:type ontology:Q22988604 } } . resource:Q1246408 property:P674 ?c } } . FILTER ( ?z < ?f ) }
Alcestis
action count
action less
action union
action find_tuple_counts
relation characters
type work of art
type mythological Greek character
action find_tuple_counts
relation characters
type work of art
type fictional humanoid
action count
action filter_multi_types
action find
entity Alcestis
relation characters
type mythological Greek character
type fictional humanoid
[{'concept': 'work of art'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?r WHERE { VALUES ( ?u ) { ( ontology:mythological_Greek_character ) ( ontology:fictional_humanoid ) } . ?i rdf:type ?u } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { { ?c rdf:type ontology:fictional_humanoid } UNION { ?c rdf:type ontology:mythological_Greek_character } } . resource:Alcestis property:characters ?c } } . FILTER ( ?z < ?f ) }
[]
mythological Greek character fictional humanoid work of art
SYSTEM
108
Q309048 Q3091040 Q86440 Q20736738 Q2893677 Q7230176 Q1216139 Q3226385 Q3230758 Q23701769 Q2312519 Q20711488 Q969098 Q1764277 Q206400 Q868483 Q286381 Q846870 Q945342 Q320594 Q26768828 Q903424 Q18170404 Q3481943 Q3231331 Q568928 Q241077 Q471066 Q512807 Q2911576 Q1196012 Q29478 Q11053391 Q788676 Q754687 Q614607 Q542055 Q632743 Q5437016 Q5071342 Q961492 Q2864475 Q3820032 Q375786 Q3221287 Q14772351 Q3278137 Q15005 Q3247743 Q3332723 Q16933688 Q559310 Q3213141 Q788458 Q148643 Q3278101 Q332387 Q130283 Q4205446 Q705232 Q3483718 Q1189436 Q7283713 Q4409901 Q758588 Q672319 Q3221640 Q1368693 Q3246902 Q4146306 Q341482 Q3211245 Q498150 Q16201590 Q2022683 Q24060599 Q4261490 Q506546 Q41567 Q2869617 Q3457623 Q1183443 Q2972876 Q746818 Q1476152 Q1415903 Q2882090 Q102754 Q83186 Q4851394 Q1233203 Q888131 Q2834224 Q5380161 Q7752052 Q4796620 Q3246423 Q1224659 Q23395 Q934597 Q793366 Q3515611 Q587921 Q844836 Q337078 Q583392 Q740134 Q2924384
(c(Q838948),P674,c(Q22988604)|c(Q6619679))
action count
action less
action union
action find_tuple_counts
relation P674
type Q838948
type Q22988604
action find_tuple_counts
relation P674
type Q838948
type Q6619679
action count
action filter_multi_types
action find
entity Q1246408
relation P674
type Q22988604
type Q6619679
[ANSWER]
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?r WHERE { VALUES ( ?u ) { ( ontology:Q22988604 ) ( ontology:Q6619679 ) } . ?i rdf:type ?u } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { { ?c rdf:type ontology:Q6619679 } UNION { ?c rdf:type ontology:Q22988604 } } . resource:Q1246408 property:P674 ?c } } . FILTER ( ?z < ?f ) }
King Kong Furia à Bahia pour OSS 117 The Tempest Kullervo Beep, Beep Porky and Gabby The Suppliants Arsène Lupin Returns The Adventures of Arsène Lupin Periandros van Korinthe Home Harry Potter and the Cursed Child Phèdre Taras Bulba The Merchant of Venice A Chinese Odyssey Medea Prometheus Bound Trachiniae Abhijñānaśākuntalam Teit meistä kauniin Iphigénie Seer 4 Sherlock Holmes Majestic Hotel Cellars Garfield: The Movie Antigone The Government Inspector Andromaque Bossemans et Coppenolle Britannicus Faust La Torna Bajazet Athalie Ion Sir Thomas More The Barber of Seville Fast and Furry-ous Chandragupta OSS 117: Lost in Rio Arsene Lupin, Detective The Man on the Eiffel Tower Hippolytus The Yellow Dog Batman v Superman: Dawn of Justice Maigret Sees Red Woe from Wit OSS 117 n'est pas mort Médée The Fencer Maigret Sets a Trap La Thébaïde The Persians Oedipus Rex Maigret et l'Affaire Saint-Fiacre The Taming of the Shrew Macbeth La Tête d'un homme Arsène Lupin Signé Arsène Lupin OSS 117: Cairo, Nest of Spies Raid The Wedding Arsene Lupin vs. Arsene Lupin The Suppliants Maigret a Pigalle GeGeGe no Kitarō OSS 117 - Double Agent An Ardent Heart Acis and Galatea Night at the Crossroads Taras Bulba Going! Going! Gosh! On the Harmful Effects of Tobacco Die Pluimsaad Waai Ver Liquidation Seven against Thebes Hamlet Atout coeur à Tokyo pour OSS 117 Mudrarakshasa The Crucible Five Ashore in Singapore Esther Waxwork II: Lost in Time Philoctetes Banco à Bangkok pour OSS 117 Dr. No Romeo and Juliet Balladyna Herakles' Children The Wind Rises Alexandre le Grand Enter Arsène Lupin The Monkey King Arsène Lupin OSS 117 takes a vacation Digimon Adventure: Bokura no War Game! Fear and Loathing in Las Vegas The Bacchae Berenice Taras Bulba Garfield: A Tail of Two Kitties The Merry Wives of Windsor The Big Lebowski Les Plaideurs Mithridate Full House
108
action count
action less
action union
action find_tuple_counts
relation characters
type work of art
type mythological Greek character
action find_tuple_counts
relation characters
type work of art
type fictional humanoid
action count
action filter_multi_types
action find
entity Alcestis
relation characters
type mythological Greek character
type fictional humanoid
[{'concept': 'work of art'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?r WHERE { VALUES ( ?u ) { ( ontology:mythological_Greek_character ) ( ontology:fictional_humanoid ) } . ?i rdf:type ?u } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { { ?c rdf:type ontology:fictional_humanoid } UNION { ?c rdf:type ontology:mythological_Greek_character } } . resource:Alcestis property:characters ?c } } . FILTER ( ?z < ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q838948 Q95074 Q7725634
USER
Which works of art were max number of fictional characters and literary works inspired by ?
(c(Q95074)|c(Q7725634),P941,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
[[{'concept': 'Q95074'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?q ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ?n . VALUES ( ?n ) { ( ontology:Q7725634 ) ( ontology:Q95074 ) } } GROUP BY ?f } } . FILTER ( ?m = ?q ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?m ) WHERE { VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q95074 ) } . ?g rdf:type ?d } GROUP BY ?t } }
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type fictional character
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
[[{'concept': 'fictional character'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?q ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ?n . VALUES ( ?n ) { ( ontology:literary_work ) ( ontology:fictional_character ) } } GROUP BY ?f } } . FILTER ( ?m = ?q ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?m ) WHERE { VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:fictional_character ) } . ?g rdf:type ?d } GROUP BY ?t } }
[]
work of art fictional character literary work
Q493755
SYSTEM
Coming to America
Q493755
(c(Q95074)|c(Q7725634),P941,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
Inspired by The [ANSWER] of art
[[{'concept': 'Q95074'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?q ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ?n . VALUES ( ?n ) { ( ontology:Q7725634 ) ( ontology:Q95074 ) } } GROUP BY ?f } } . FILTER ( ?m = ?q ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?m ) WHERE { VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q95074 ) } . ?g rdf:type ?d } GROUP BY ?t } }
Coming to America
Inspired by The Coming to America of art
Coming to America
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type fictional character
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
[[{'concept': 'fictional character'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?q ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ?n . VALUES ( ?n ) { ( ontology:literary_work ) ( ontology:fictional_character ) } } GROUP BY ?f } } . FILTER ( ?m = ?q ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?m ) WHERE { VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:fictional_character ) } . ?g rdf:type ?d } GROUP BY ?t } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P941
Q838948 Q201658 Q838948
USER
How many works of art inspired approximately the same number of film genres or works of art as that work of art ?
(c(Q201658)|c(Q838948),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q493755
relation P941
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?h WHERE { { ?l property:P941 ?h . ?h rdf:type ontology:Q838948 . ?l rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q838948 . ?l rdf:type ontology:Q201658 . ?l property:P941 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P941 resource:Q493755 . { { ?s rdf:type ontology:Q201658 } UNION { ?s rdf:type ontology:Q838948 } } } } . FILTER ( ?b = ?u ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action count
action filter_multi_types
action find_reverse
entity Coming to America
relation inspired by
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?h WHERE { { ?l property:inspired_by ?h . ?h rdf:type ontology:work_of_art . ?l rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:work_of_art . ?l rdf:type ontology:film_genre . ?l property:inspired_by ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:inspired_by resource:Coming_to_America . { { ?s rdf:type ontology:film_genre } UNION { ?s rdf:type ontology:work_of_art } } } } . FILTER ( ?b = ?u ) }
[]
work of art film genre work of art
SYSTEM
22
Q125191 Q1198611 Q1217787 Q1856846 Q46239 Q19560629 Q1345920 Q2568137 Q201293 Q1432001 Q41567 Q1144983 Q18668045 Q7445655 Q4936847 Q3223805 Q5968141 Q379873 Q1170100 Q493755 Q214619 Q169082
(c(Q201658)|c(Q838948),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q493755
relation P941
type Q201658
type Q838948
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?h WHERE { { ?l property:P941 ?h . ?h rdf:type ontology:Q838948 . ?l rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q838948 . ?l rdf:type ontology:Q201658 . ?l property:P941 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P941 resource:Q493755 . { { ?s rdf:type ontology:Q201658 } UNION { ?s rdf:type ontology:Q838948 } } } } . FILTER ( ?b = ?u ) }
photograph The Absent-Minded Professor The Time Machine The Ballad of Cable Hogue Statue of Zeus at Olympia 9/11 entschlüsselt Song of the South How to Explain Pictures to a Dead Hare Roman Holiday Torquato Tasso Hamlet Animal Kingdom The Old Fisherman Seedbed Body Pressure The Judgement of Paris La sirena varada Who Framed Roger Rabbit The Philadelphia Experiment Coming to America The Little Mermaid 10 Things I Hate About You
22
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action count
action filter_multi_types
action find_reverse
entity Coming to America
relation inspired by
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?h WHERE { { ?l property:inspired_by ?h . ?h rdf:type ontology:work_of_art . ?l rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:work_of_art . ?l rdf:type ontology:film_genre . ?l property:inspired_by ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:inspired_by resource:Coming_to_America . { { ?s rdf:type ontology:film_genre } UNION { ?s rdf:type ontology:work_of_art } } } } . FILTER ( ?b = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q493755
P1411
Q4220917
USER
Which film awards did Coming to America receive ?
(Q493755,P1411,c(Q4220917))
action filter_type
action find
entity Q493755
relation P1411
type Q4220917
['Q493755', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?g WHERE { resource:Q493755 property:P1411 ?g . ?g rdf:type ontology:Q4220917 }
Coming to America
action filter_type
action find
entity Coming to America
relation nominated for
type film award
['Coming to America', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?g WHERE { resource:Coming_to_America property:nominated_for ?g . ?g rdf:type ontology:film_award }
[]
film award
Q487136 Q277536
SYSTEM
Academy Award for Best Makeup and Hairstyling, Academy Award for Best Costume Design
Q487136 Q277536
(Q493755,P1411,c(Q4220917))
action filter_type
action find
entity Q493755
relation P1411
type Q4220917
Coming to America received the [ANSWERS]
['Q493755', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?g WHERE { resource:Q493755 property:P1411 ?g . ?g rdf:type ontology:Q4220917 }
Academy Award for Best Makeup and Hairstyling Academy Award for Best Costume Design
Coming to America received the Academy Award for Best Makeup and Hairstyling and Academy Award for Best Costume Design
Academy Award for Best Makeup and Hairstyling Academy Award for Best Costume Design
action filter_type
action find
entity Coming to America
relation nominated for
type film award
['Coming to America', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?g WHERE { resource:Coming_to_America property:nominated_for ?g . ?g rdf:type ontology:film_award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q277536
P1346
Q502895
USER
Which people emerged victorious in that film award ?
(Q277536,P1346,c(Q502895))
action filter_type
action find
entity Q277536
relation P1346
type Q502895
['Q277536', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q277536 property:P1346 ?u }
Academy Award for Best Costume Design
action filter_type
action find
entity Academy Award for Best Costume Design
relation winner
type common name
['Academy Award for Best Costume Design', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Academy_Award_for_Best_Costume_Design property:winner ?u }
[]
common name
Clarification for simple ques.
Q487136
SYSTEM
Did you mean Academy Award for Best Makeup and Hairstyling ?
Q487136 Q277536
(Q487136,P1346,c(Q502895)) (Q277536,P1346,c(Q502895))
[ANSWER]
['Q487136', 'P1346', {'concept': 'Q502895'}] ['Q277536', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q277536 property:P1346 ?u }
Academy Award for Best Makeup and Hairstyling Academy Award for Best Costume Design
Did you mean Academy Award for Best Makeup and Hairstyling ?
Academy Award for Best Makeup and Hairstyling
['Academy Award for Best Makeup and Hairstyling', 'winner', {'concept': 'common name'}] ['Academy Award for Best Costume Design', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Academy_Award_for_Best_Costume_Design property:winner ?u }
[]
Simple Question (Coreferenced)
USER
No, I meant Academy Award for Best Costume Design. Could you tell me the answer for that?
(Q277536,P1346,c(Q502895))
Q277536
['Q277536', 'P1346', {'concept': 'Q502895'}]
['Academy Award for Best Costume Design', 'winner', {'concept': 'common name'}]
[]
Q258156 Q436031 Q289952
SYSTEM
Colleen Atwood, Catherine Martin, Sandy Powell
Q176324 Q436031 Q630767 Q258156 Q506287 Q458815 Q289952 Q440313 Q455749 Q291686 Q1621425 Q1683011
(Q277536,P1346,c(Q502895))
action filter_type
action find
entity Q277536
relation P1346
type Q502895
[ANSWERS] emerged victorious in that film award
['Q277536', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q277536 property:P1346 ?u }
Deborah Lynn Scott Catherine Martin Richard Taylor Colleen Atwood Michael O'Connor Alexandra Byrne Sandy Powell Milena Canonero Jacqueline Durran Lindy Hemming Mark Bridges Janty Yates
Colleen Atwood, Catherine Martin and Sandy Powell emerged victorious in that film award
Colleen Atwood Catherine Martin Sandy Powell
action filter_type
action find
entity Academy Award for Best Costume Design
relation winner
type common name
['Academy Award for Best Costume Design', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Academy_Award_for_Best_Costume_Design property:winner ?u }
[]