Simple Question (Direct)
Simple Question
Q3180703
P735
Q82799
USER
What the name that Johanne Morasse is known by ?
(Q3180703,P735,c(Q82799))
action filter_type
action find
entity Q3180703
relation P735
type Q82799
['Q3180703', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q3180703 property:P735 ?x . ?x rdf:type ontology:Q82799 }
Johanne Morasse
action filter_type
action find
entity Johanne Morasse
relation given name
type name
['Johanne Morasse', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Johanne_Morasse property:given_name ?x . ?x rdf:type ontology:name }
[]
name
Q1477757
SYSTEM
Johanne
Q1477757
(Q3180703,P735,c(Q82799))
action filter_type
action find
entity Q3180703
relation P735
type Q82799
Known John [ANSWER]
['Q3180703', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q3180703 property:P735 ?x . ?x rdf:type ontology:Q82799 }
Johanne
Known John Johanne
Johanne
action filter_type
action find
entity Johanne Morasse
relation given name
type name
['Johanne Morasse', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Johanne_Morasse property:given_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3180703
P21
Q290
USER
What is the sex of Johanne Morasse ?
(Q3180703,P21,c(Q290))
action filter_type
action find
entity Q3180703
relation P21
type Q290
['Q3180703', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3180703 property:P21 ?i . ?i rdf:type ontology:Q290 }
Johanne Morasse
action filter_type
action find
entity Johanne Morasse
relation gender
type sex
['Johanne Morasse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Johanne_Morasse property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3180703,P21,c(Q290))
action filter_type
action find
entity Q3180703
relation P21
type Q290
The sex of Johanne Morasse is the [ANSWER]
['Q3180703', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3180703 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
The sex of Johanne Morasse is the female
female
action filter_type
action find
entity Johanne Morasse
relation gender
type sex
['Johanne Morasse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Johanne_Morasse property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24008179
Q290
USER
And also tell me about Vasile Motfolea?
(Q24008179,P21,c(Q290))
action filter_type
action find
entity Q24008179
relation P21
type Q290
['Q24008179', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q24008179 property:P21 ?q . ?q rdf:type ontology:Q290 }
Vasile Motfolea
action filter_type
action find
entity Vasile Motfolea
relation gender
type sex
['Vasile Motfolea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Vasile_Motfolea property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q24008179,P21,c(Q290))
action filter_type
action find
entity Q24008179
relation P21
type Q290
[ANSWER]
['Q24008179', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q24008179 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Vasile Motfolea
relation gender
type sex
['Vasile Motfolea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Vasile_Motfolea property:gender ?q . ?q rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q168261
P88
Q502895 Q811979 Q2342494
USER
How many people commissioned lesser number of architectural structures and collectables than Ptolemy I Soter ?
(c(Q811979)|c(Q2342494),P88,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q168261
relation P88
type Q811979
type Q2342494
[[{'concept': 'Q811979'}, {'concept': 'Q2342494'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P88 resource:Q168261 . { VALUES ( ?k ) { ( ontology:Q811979 ) ( ontology:Q2342494 ) } . ?n rdf:type ?k } } } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:Q811979 ) ( ontology:Q2342494 ) } } GROUP BY ?r } }
Ptolemy I Soter
action count
action less
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type architectural structure
action find_reverse_tuple_counts
relation commissioned by
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Ptolemy I Soter
relation commissioned by
type architectural structure
type collectable
[[{'concept': 'architectural structure'}, {'concept': 'collectable'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:commissioned_by resource:Ptolemy_I_Soter . { VALUES ( ?k ) { ( ontology:architectural_structure ) ( ontology:collectable ) } . ?n rdf:type ?k } } } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:architectural_structure ) ( ontology:collectable ) } } GROUP BY ?r } }
[]
common name architectural structure collectable
SYSTEM
389
Q314384 Q21583236 Q128019 Q1679943 Q312637 Q67281 Q16029902 Q18546605 Q3388274 Q2597227 Q34417 Q15118669 Q316736 Q646191 Q8423 Q48544 Q48547 Q1434742 Q1869372 Q7758 Q1790464 Q7750 Q5482808 Q105013 Q1391982 Q1699250 Q66112 Q658756 Q83672 Q214207 Q1261435 Q2960520 Q459684 Q337630 Q7811659 Q4444804 Q12591 Q2663888 Q923438 Q1397788 Q2854144 Q8019380 Q6260307 Q170398 Q163514 Q41834 Q2161266 Q143319 Q63502 Q16328562 Q937 Q979358 Q506415 Q1360930 Q2138565 Q7790099 Q2002136 Q130221 Q44139 Q95946 Q348183 Q13422636 Q5344847 Q978999 Q114424 Q169305 Q19635621 Q18526360 Q5052103 Q935329 Q448169 Q5973918 Q2573414 Q99915 Q938624 Q3291384 Q560746 Q230677 Q130822 Q60568 Q152245 Q1408805 Q157812 Q18175809 Q702308 Q127318 Q452570 Q3553429 Q57628 Q76555 Q96499 Q205779 Q299663 Q1419 Q20875 Q289527 Q44961 Q5542604 Q37594 Q150726 Q1523 Q650906 Q32500 Q273849 Q545140 Q19660038 Q2714587 Q38200 Q21583204 Q788163 Q691894 Q164823 Q5481257 Q182021 Q2113530 Q1871840 Q2094034 Q170863 Q344454 Q60438 Q3768246 Q443559 Q9439 Q37134 Q3678126 Q209579 Q211513 Q71578 Q7742 Q437543 Q15839391 Q7296915 Q487488 Q38370 Q2976709 Q3765384 Q4725780 Q115738 Q15454222 Q140106 Q83680 Q192958 Q1395822 Q16004457 Q6228322 Q236853 Q152782 Q2615527 Q5498834 Q2082616 Q7788054 Q244852 Q434252 Q49237 Q153815 Q8032483 Q3340360 Q183226 Q298877 Q446077 Q2129556 Q506933 Q3381859 Q151173 Q5576725 Q436126 Q297194 Q6853636 Q8343904 Q3784903 Q2507378 Q257286 Q114749 Q6292807 Q129857 Q737533 Q2381189 Q158504 Q470978 Q6897746 Q8005725 Q2871482 Q81506 Q237149 Q534683 Q178004 Q6376590 Q1088180 Q19403561 Q177854 Q74936 Q7732 Q760909 Q5379610 Q201143 Q7738 Q29179 Q57206 Q435501 Q593626 Q1399 Q102140 Q36620 Q16846394 Q1396340 Q378483 Q188346 Q101266 Q2542756 Q65933 Q3524371 Q3132908 Q21529483 Q974863 Q351339 Q334108 Q51056 Q53437 Q8743 Q378870 Q52927 Q8019995 Q452580 Q869981 Q19930898 Q86957 Q311879 Q15927253 Q2400568 Q60936 Q1542046 Q795117 Q434730 Q44361 Q7771 Q188971 Q343576 Q541300 Q316110 Q460215 Q3262230 Q3802446 Q18507655 Q77233 Q3817341 Q3766950 Q8474 Q131552 Q16011488 Q152229 Q213533 Q708011 Q134588 Q41919 Q436117 Q131706 Q65351 Q2565824 Q3048093 Q2271150 Q61307 Q715054 Q1414020 Q95563 Q43107 Q128664 Q520493 Q10382335 Q171185 Q1066012 Q1379797 Q157781 Q930796 Q1002546 Q3159990 Q222390 Q587283 Q450160 Q717289 Q149062 Q2149954 Q458688 Q6224954 Q1233361 Q2483541 Q336580 Q3261400 Q160353 Q2607550 Q969797 Q2714575 Q8008060 Q8012806 Q5703335 Q24278767 Q3635399 Q105378 Q3048511 Q1377579 Q591851 Q3340239 Q102605 Q2644136 Q6138693 Q7526169 Q335667 Q540802 Q231764 Q5928444 Q346761 Q2768005 Q338480 Q19837 Q590218 Q2935138 Q586063 Q2898749 Q250732 Q2298732 Q298892 Q7324802 Q23691658 Q19853482 Q354309 Q16745596 Q1897093 Q62594 Q289104 Q104190 Q2551650 Q538960 Q740642 Q196055 Q111354 Q1213943 Q26702 Q465269 Q132692 Q19973598 Q36450 Q1048333 Q517 Q53457 Q1527009 Q130734 Q711845 Q922667 Q395635 Q321492 Q18572555 Q365823 Q62673 Q971215 Q7343203 Q130834 Q1289992 Q336657 Q1385734 Q12971 Q3351435 Q6861922 Q692291 Q23647555 Q57180 Q170348 Q932200 Q20741624 Q80516 Q2389145 Q968484 Q215086 Q4889906 Q299675 Q704506 Q8597 Q731799 Q23688963 Q1405 Q969770 Q7259727 Q3742116 Q692189 Q127010 Q289149 Q187447 Q25690 Q729743 Q137934 Q255809
(c(Q811979)|c(Q2342494),P88,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q168261
relation P88
type Q811979
type Q2342494
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q2342494'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P88 resource:Q168261 . { VALUES ( ?k ) { ( ontology:Q811979 ) ( ontology:Q2342494 ) } . ?n rdf:type ?k } } } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:Q811979 ) ( ontology:Q2342494 ) } } GROUP BY ?r } }
Huey Long Metello Vari Pius VI James Pourtales-Gorgier Curzio Malaparte Friedrich Karl von Schönborn Julius Drewe John Johnson Pigello Portinari Sikandar Lodi Philip II of Spain Jean de Sedano Pierre Louis Jean Casimir de Blacas Junius Annius Bassus Cyrus the Great Cosimo de' Medici Cosimo I de' Medici, Grand Duke of Tuscany Ludwig Schneller Alfred Mosselman Charles X of France Krzysztof Wojciechowski Louis XVIII of France Francis Willoughby Frederick William I of Prussia Robbie Ross John Banister Siegfried Bing Alof de Wignacourt Shah Jahan William Steinway Sunenphaa Charles de Beauvau, Prince of Beauvau Kunigunde of Bohemia George Howard, 9th Earl of Carlisle Tobias Rustat Leicester Stanhope, 5th Earl of Harrington Nebuchadnezzar II Jan Gildemeester John Petty, 2nd Marquess of Lansdowne Guidobaldo II della Rovere, Duke of Urbino Antoine Le Viste William Thompson Walters John Tayloe III William I of Württemberg Sixtus IV Romanos IV Diogenes Rodolphe d'Erlanger Bhupinder Singh of Patiala Charles II, Duke of Brunswick Leonidas Deligiorgis Albert Einstein Roger de Montgomerie, 1st Earl of Shrewsbury Francesco I d'Este, Duke of Modena Ernst von Stubenrauch Nicolae Crețulescu Thomas Gold Appleton Gheorghe Grigore Cantacuzino Frederick II, Holy Roman Emperor Georges Petit Ferdinand Mülhens Louis Philippe I, Duke of Orléans Willy Bleissem Edward Phelips Pierre-Hector Coullié Franz Joseph von Dietrichstein Urban IV Gábor Patachich Alessandro Scaglia Catharine Lorillard Wolfe Francesco I Gonzaga Alva Belmont Ture Malmgren Wilhelm Jacob Wimpf Jakob Heller Margaret of Burgundy, Dauphine of France Mariano Guadalupe Vallejo Constantijn Huygens Madame du Barry William IV of the United Kingdom William V, Duke of Bavaria Albert, Prince Consort John II of Glymes Frederick III of Denmark Giorgio Contarini Bernward of Hildesheim George III of Great Britain Scipione Borghese Asdrubale Mattei Maximilian II Emanuel, Elector of Bavaria Joseph II Christoph Franz von Hutten Camillo Borghese, 6th Prince of Sulmona Piero di Cosimo de' Medici Vespasian Edward VII Étienne Chevalier Charles Theodore, Elector of Bavaria George Moore William I of England Maximilian I, Holy Roman Emperor Ramesses II Giovanni della Casa Charles V André Le Nôtre Peter II, Duke of Brittany Benedek Himfy Girvan Yuddha Bikram Shah Deva John Thynne Pietro Paolo Castellani Mary Curzon, Baroness Curzon of Kedleston Pietro Aldobrandini Girolamo Savonarola Francis Hay, 9th Earl of Erroll Marie de' Medici William Bingham Louis Mantin Edward Woyniłłowicz Clement VI Charles de Rémusat Ferdinand Maria, Elector of Bavaria Giovanni Tornabuoni Elizabeth Sprague Coolidge Queen Victoria Frederick William III of Prussia Ciriaco Mattei Victor Amadeus II of Sardinia Sergei Diaghilev Johannes Noviforensis Louis XIV of France Paolo Giovio Dittmar Finkler Rawal Jaisal Anatoly Nikolaievich Demidov, 1st Prince of San Donato Henry VIII Claude-François de Montboissier de Canillac de Beaufort Gregorio Correr Alice Claypoole Gwynne Suzanne Curchod Josef Neven DuMont Francesco Maria del Monte Sher Shah Suri Carlo Gesualdo Francesco del Giocondo Jonathan Tyers John D. Spreckels Ludovico Sforza Caroline Bonaparte Pieter van Ruijven Frederick Tatham Thomas Percy, 1st Earl of Worcester Thomas Burgh of Gainsborough Gediminas Mihailo Obrenović III Leo X Princess Margaret, Countess of Snowdon Woodbury Langdon Nicholas Girod Charles IV of Spain Giuliano de' Medici Léon Carvalho Ralph de Cromwell, 3rd Baron Cromwell Halil Şerif Paşa Phyllis Lambert Joachim Murat Wandalin Puslovsky Reinhard Keiser Valdemar I of Denmark Nicholas III of Saint Omer Anatole Bartholoni Henry Percy, 5th Earl of Northumberland Walter Buller Meagan Good Ahmed I José Luis Munárriz Francis I of France Louis XIII of France James Beaton Clement of Ohrid Alaungpaya Mona von Bismarck William Borthwick, 1st Lord Borthwick Auguste de Morlhon Charles I of England Ida Rubinstein Francesco Barberini Marcian Katheryn of Berain Niccolò Ridolfi Alfons Mauser Lorenzo de' Medici William Hayley Louis XVI of France August Belmont, Jr. Enrico degli Scrovegni Anne of Brittany Louis XV of France Francisco Franco Maximilian I, Elector of Bavaria Federico da Montefeltro Isabella d'Este Niccolò Machiavelli Henry II of England Tycho Brahe Idia William Hastings, 1st Baron Hastings Taejo of Joseon Alfonso I d'Este, Duke of Ferrara Innocent X Odoardo Farnese Sophia Dorothea of Schleswig-Holstein-Sonderburg-Glücksburg Thierry Le Jeune Henry Le Tonnelier de Breteuil Atalanta Baglioni George Burt Lincoln Kirstein John Ward, 1st Earl of Dudley Franz Joseph I of Austria Augustus II the Strong Thomas Edison Daniele Barbaro Charles XIV John of Sweden William Ward, 1st Earl of Dudley Vincenzo Gonzaga, Duke of Mantua Jakob Meyer zum Hasen Peter de Salis Johann Philipp Franz von Schönborn Herodes Atticus Maurice Aubry Nikolaas Rockox William IV, Duke of Bavaria Wilhelm Girardet Christian Louis de Montmorency-Luxembourg Gabriel García Moreno Ludwig I of Bavaria Louis Philippe I Jean-Baptiste Colbert Eugene Allen Gilmore Quintino Sella Manuel de Godoy, Prince of the Peace Charles I, Duke of Savoy Louis Phélypeaux, marquis de La Vrillière Iseppo da Porto John Pratt Frederick III, Elector of Saxony Taddeo Barberini Giovanni Carandente Suleiman the Magnificent Catherine of Medici Charles Marcotte d'Argenteuil Frederick William II of Prussia Karl August, Grand Duke of Saxe-Weimar-Eisenach Jean-Antoine Chaptal Nicholas V George Frederick, Margrave of Brandenburg-Ansbach Redfield Proctor, Jr. Maria Theresa of Austria Paul Cassirer Cees van der Leeuw Edmund Dummer Louis-Joseph Papineau Ulla Schmidt Borso d'Este, Duke of Ferrara Filippo di Piero Strozzi Johann Schweikhard von Kronberg Diocletian Wilfrid Laurier Michael Tilson Thomas Tiago Gregório Homem da Costa Noronha Ivan III of Russia Charles Saatchi Leonello d'Este, Marquis of Ferrara Christian VIII of Denmark Jean Le Maingre Margaret of Foix Jacques Seligmann David Garrick Antoine de Paule Marjorie Merriweather Post Claude-Philibert Barthelot, comte de Rambuteau Samuel Morton Peto Antonius Triest Prince Ferdinand Philippe, Duke of Orléans John Campbell, 1st Baron Cawdor Jean-François Cail Giovanni Michiel Gerald Grosvenor, 6th Duke of Westminster Louis Raphaël Cahen d'Anvers Theodosius II Aleksander Michał Sapieha Guidobaldo da Montefeltro Rana Bahadur Shah William Duff, 1st Earl Fife William Imrie Helen Vincent, Viscountess D'Abernon Jacob Trip Bartolomeo Panciatichi Henry the Lion Edward Francis Hutton Konstantin von Kaufman Ralph von Merle Nicolas de Launay Paul II Pieter van Os James Mackay, 1st Earl of Inchcape Sir Charles Asgill, 1st Baronet Henry Bathurst, 2nd Earl Bathurst Frederick III, Prince of Salm-Kyrburg Sophie Amalie of Brunswick-Lüneburg Robert John Thornton John, Duke of Berry Mahmud Begada Nicolas Rolin Steve Jobs Ferenc Esterházy Camillo Francesco Maria Pamphili Antoine-Adolphe Dupuch Su Shunqin John Linnell Sante Bentivoglio Philip the Bold Richard Clough Elizabeth Ilive Anna van Ewsum William Cecil, 1st Baron Burghley Jacopo Pesaro Marie-Alain Couturier Charles III Philip, Elector Palatine Piero Soderini Robert Walpole Alberto d'Este, Marquis of Ferrara Tommaso dei Cavalieri Nicolas de Neufville de Villeroy Edward James August Julius Albert Borsig Karl Heinrich von Hornstein Cardinal Richelieu Uluç Ali Reis Gregory XV Gubert Abraham von Salis Catherine II of Russia Cassiano dal Pozzo Napoleon Casimir III the Great Albert von Bardewik Nicholas I of Russia Marcantonio Barbaro James Mayer de Rothschild Agostino Chigi John Maurice, Prince of Nassau-Siegen Charles Ireland Adolphe Stoclet Klaus von Dohnanyi Catulle Mendès Robert Cromek Francis I of Austria Chavundaraya Alexander Hamilton, 10th Duke of Hamilton Francesco Pisani Leopold I Olivier Voutier Nicholas II of Saint Omer Charles I, Duke of Bourbon Thomas Butts Frederick William IV of Prussia Paul Wittgenstein Federico II Gonzaga, Duke of Mantua Vincenzo Natoli Julius II Bogdan Petriceicu Hasdeu Mikołaj Krzysztof "the Orphan" Radziwiłł Clemens August of Bavaria Benno C. Schmidt, Jr. Francesco I de' Medici, Grand Duke of Tuscany Michał Kazimierz Ogiński Akbar Giovanni Ricci Joseph Thomas Augustus Ludovico III Gonzaga, Marquis of Mantua Pulteney Malcolm Felice Brancacci Guillaume de Menthonay Sir Thomas Metcalfe, 4th Baronet Étienne François, duc de Choiseul Pablo Escobar John Russell, 6th Duke of Bedford Georges d'Amboise Abbot Suger Roxelana
389
action count
action less
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type architectural structure
action find_reverse_tuple_counts
relation commissioned by
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Ptolemy I Soter
relation commissioned by
type architectural structure
type collectable
[[{'concept': 'architectural structure'}, {'concept': 'collectable'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:commissioned_by resource:Ptolemy_I_Soter . { VALUES ( ?k ) { ( ontology:architectural_structure ) ( ontology:collectable ) } . ?n rdf:type ?k } } } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:architectural_structure ) ( ontology:collectable ) } } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2033868
P88
Q502895 Q811979 Q2342494
USER
And how about Sir Richard Wallace, 1st Baronet?
(c(Q811979)|c(Q2342494),P88,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2033868
relation P88
type Q811979
type Q2342494
[[{'concept': 'Q811979'}, {'concept': 'Q2342494'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P88 ?y . ?y rdf:type ontology:Q502895 . ?d rdf:type ontology:Q811979 } UNION { ?y rdf:type ontology:Q502895 . ?d rdf:type ontology:Q2342494 . ?d property:P88 ?y } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { { ?j rdf:type ontology:Q811979 } UNION { ?j rdf:type ontology:Q2342494 } } . ?j property:P88 resource:Q2033868 } } . FILTER ( ?t < ?l ) }
Sir Richard Wallace, 1st Baronet
action count
action less
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type architectural structure
action find_reverse_tuple_counts
relation commissioned by
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Sir Richard Wallace, 1st Baronet
relation commissioned by
type architectural structure
type collectable
[[{'concept': 'architectural structure'}, {'concept': 'collectable'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?d rdf:type ontology:architectural_structure } UNION { ?y rdf:type ontology:common_name . ?d rdf:type ontology:collectable . ?d property:commissioned_by ?y } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { { ?j rdf:type ontology:architectural_structure } UNION { ?j rdf:type ontology:collectable } } . ?j property:commissioned_by resource:Sir_Richard_Wallace,_1st_Baronet } } . FILTER ( ?t < ?l ) }
[]
common name architectural structure collectable
SYSTEM
389
Q314384 Q21583236 Q128019 Q1679943 Q312637 Q67281 Q16029902 Q18546605 Q3388274 Q2597227 Q34417 Q15118669 Q316736 Q646191 Q8423 Q48544 Q48547 Q1434742 Q1869372 Q7758 Q1790464 Q7750 Q5482808 Q105013 Q1391982 Q1699250 Q66112 Q658756 Q83672 Q214207 Q1261435 Q2960520 Q459684 Q337630 Q7811659 Q4444804 Q12591 Q2663888 Q923438 Q1397788 Q2854144 Q8019380 Q6260307 Q170398 Q163514 Q41834 Q2161266 Q143319 Q63502 Q16328562 Q937 Q979358 Q506415 Q1360930 Q2138565 Q7790099 Q2002136 Q130221 Q44139 Q95946 Q348183 Q13422636 Q5344847 Q978999 Q114424 Q169305 Q19635621 Q18526360 Q5052103 Q935329 Q448169 Q5973918 Q2573414 Q99915 Q938624 Q3291384 Q560746 Q230677 Q130822 Q60568 Q152245 Q1408805 Q157812 Q18175809 Q702308 Q127318 Q452570 Q3553429 Q57628 Q76555 Q96499 Q205779 Q299663 Q1419 Q20875 Q289527 Q44961 Q5542604 Q37594 Q150726 Q1523 Q650906 Q32500 Q273849 Q545140 Q19660038 Q2714587 Q38200 Q21583204 Q788163 Q691894 Q164823 Q5481257 Q182021 Q2113530 Q1871840 Q2094034 Q170863 Q344454 Q60438 Q3768246 Q443559 Q9439 Q37134 Q3678126 Q209579 Q211513 Q71578 Q7742 Q437543 Q15839391 Q7296915 Q487488 Q38370 Q2976709 Q3765384 Q4725780 Q115738 Q15454222 Q140106 Q83680 Q192958 Q1395822 Q16004457 Q6228322 Q236853 Q152782 Q2615527 Q5498834 Q2082616 Q7788054 Q244852 Q434252 Q49237 Q153815 Q8032483 Q3340360 Q183226 Q298877 Q446077 Q2129556 Q506933 Q3381859 Q151173 Q5576725 Q436126 Q297194 Q6853636 Q8343904 Q3784903 Q2507378 Q257286 Q114749 Q6292807 Q129857 Q737533 Q2381189 Q158504 Q470978 Q6897746 Q8005725 Q2871482 Q81506 Q237149 Q534683 Q178004 Q6376590 Q1088180 Q19403561 Q177854 Q74936 Q7732 Q760909 Q5379610 Q201143 Q7738 Q29179 Q57206 Q435501 Q593626 Q1399 Q102140 Q36620 Q16846394 Q1396340 Q378483 Q188346 Q101266 Q2542756 Q65933 Q3524371 Q3132908 Q21529483 Q974863 Q351339 Q334108 Q51056 Q53437 Q8743 Q378870 Q52927 Q8019995 Q452580 Q869981 Q19930898 Q86957 Q311879 Q15927253 Q2400568 Q60936 Q1542046 Q795117 Q434730 Q44361 Q7771 Q188971 Q343576 Q541300 Q316110 Q460215 Q3262230 Q3802446 Q18507655 Q77233 Q3817341 Q3766950 Q8474 Q131552 Q16011488 Q152229 Q213533 Q708011 Q134588 Q41919 Q436117 Q131706 Q65351 Q2565824 Q3048093 Q2271150 Q61307 Q715054 Q1414020 Q95563 Q43107 Q128664 Q520493 Q10382335 Q171185 Q1066012 Q1379797 Q157781 Q930796 Q1002546 Q3159990 Q222390 Q587283 Q450160 Q717289 Q149062 Q2149954 Q458688 Q6224954 Q1233361 Q2483541 Q336580 Q3261400 Q160353 Q2607550 Q969797 Q2714575 Q8008060 Q8012806 Q5703335 Q24278767 Q3635399 Q105378 Q3048511 Q1377579 Q591851 Q3340239 Q102605 Q2644136 Q6138693 Q7526169 Q335667 Q540802 Q231764 Q5928444 Q346761 Q2768005 Q338480 Q19837 Q590218 Q2935138 Q586063 Q2898749 Q250732 Q2298732 Q298892 Q7324802 Q23691658 Q19853482 Q354309 Q16745596 Q1897093 Q62594 Q289104 Q104190 Q2551650 Q538960 Q740642 Q196055 Q111354 Q1213943 Q26702 Q465269 Q132692 Q19973598 Q36450 Q1048333 Q517 Q53457 Q1527009 Q130734 Q711845 Q922667 Q395635 Q321492 Q18572555 Q365823 Q62673 Q971215 Q7343203 Q130834 Q1289992 Q336657 Q1385734 Q12971 Q3351435 Q6861922 Q692291 Q23647555 Q57180 Q170348 Q932200 Q20741624 Q80516 Q2389145 Q968484 Q215086 Q4889906 Q299675 Q704506 Q8597 Q731799 Q23688963 Q1405 Q969770 Q7259727 Q3742116 Q692189 Q127010 Q289149 Q187447 Q25690 Q729743 Q137934 Q255809
(c(Q811979)|c(Q2342494),P88,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2033868
relation P88
type Q811979
type Q2342494
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q2342494'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P88 ?y . ?y rdf:type ontology:Q502895 . ?d rdf:type ontology:Q811979 } UNION { ?y rdf:type ontology:Q502895 . ?d rdf:type ontology:Q2342494 . ?d property:P88 ?y } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { { ?j rdf:type ontology:Q811979 } UNION { ?j rdf:type ontology:Q2342494 } } . ?j property:P88 resource:Q2033868 } } . FILTER ( ?t < ?l ) }
Huey Long Metello Vari Pius VI James Pourtales-Gorgier Curzio Malaparte Friedrich Karl von Schönborn Julius Drewe John Johnson Pigello Portinari Sikandar Lodi Philip II of Spain Jean de Sedano Pierre Louis Jean Casimir de Blacas Junius Annius Bassus Cyrus the Great Cosimo de' Medici Cosimo I de' Medici, Grand Duke of Tuscany Ludwig Schneller Alfred Mosselman Charles X of France Krzysztof Wojciechowski Louis XVIII of France Francis Willoughby Frederick William I of Prussia Robbie Ross John Banister Siegfried Bing Alof de Wignacourt Shah Jahan William Steinway Sunenphaa Charles de Beauvau, Prince of Beauvau Kunigunde of Bohemia George Howard, 9th Earl of Carlisle Tobias Rustat Leicester Stanhope, 5th Earl of Harrington Nebuchadnezzar II Jan Gildemeester John Petty, 2nd Marquess of Lansdowne Guidobaldo II della Rovere, Duke of Urbino Antoine Le Viste William Thompson Walters John Tayloe III William I of Württemberg Sixtus IV Romanos IV Diogenes Rodolphe d'Erlanger Bhupinder Singh of Patiala Charles II, Duke of Brunswick Leonidas Deligiorgis Albert Einstein Roger de Montgomerie, 1st Earl of Shrewsbury Francesco I d'Este, Duke of Modena Ernst von Stubenrauch Nicolae Crețulescu Thomas Gold Appleton Gheorghe Grigore Cantacuzino Frederick II, Holy Roman Emperor Georges Petit Ferdinand Mülhens Louis Philippe I, Duke of Orléans Willy Bleissem Edward Phelips Pierre-Hector Coullié Franz Joseph von Dietrichstein Urban IV Gábor Patachich Alessandro Scaglia Catharine Lorillard Wolfe Francesco I Gonzaga Alva Belmont Ture Malmgren Wilhelm Jacob Wimpf Jakob Heller Margaret of Burgundy, Dauphine of France Mariano Guadalupe Vallejo Constantijn Huygens Madame du Barry William IV of the United Kingdom William V, Duke of Bavaria Albert, Prince Consort John II of Glymes Frederick III of Denmark Giorgio Contarini Bernward of Hildesheim George III of Great Britain Scipione Borghese Asdrubale Mattei Maximilian II Emanuel, Elector of Bavaria Joseph II Christoph Franz von Hutten Camillo Borghese, 6th Prince of Sulmona Piero di Cosimo de' Medici Vespasian Edward VII Étienne Chevalier Charles Theodore, Elector of Bavaria George Moore William I of England Maximilian I, Holy Roman Emperor Ramesses II Giovanni della Casa Charles V André Le Nôtre Peter II, Duke of Brittany Benedek Himfy Girvan Yuddha Bikram Shah Deva John Thynne Pietro Paolo Castellani Mary Curzon, Baroness Curzon of Kedleston Pietro Aldobrandini Girolamo Savonarola Francis Hay, 9th Earl of Erroll Marie de' Medici William Bingham Louis Mantin Edward Woyniłłowicz Clement VI Charles de Rémusat Ferdinand Maria, Elector of Bavaria Giovanni Tornabuoni Elizabeth Sprague Coolidge Queen Victoria Frederick William III of Prussia Ciriaco Mattei Victor Amadeus II of Sardinia Sergei Diaghilev Johannes Noviforensis Louis XIV of France Paolo Giovio Dittmar Finkler Rawal Jaisal Anatoly Nikolaievich Demidov, 1st Prince of San Donato Henry VIII Claude-François de Montboissier de Canillac de Beaufort Gregorio Correr Alice Claypoole Gwynne Suzanne Curchod Josef Neven DuMont Francesco Maria del Monte Sher Shah Suri Carlo Gesualdo Francesco del Giocondo Jonathan Tyers John D. Spreckels Ludovico Sforza Caroline Bonaparte Pieter van Ruijven Frederick Tatham Thomas Percy, 1st Earl of Worcester Thomas Burgh of Gainsborough Gediminas Mihailo Obrenović III Leo X Princess Margaret, Countess of Snowdon Woodbury Langdon Nicholas Girod Charles IV of Spain Giuliano de' Medici Léon Carvalho Ralph de Cromwell, 3rd Baron Cromwell Halil Şerif Paşa Phyllis Lambert Joachim Murat Wandalin Puslovsky Reinhard Keiser Valdemar I of Denmark Nicholas III of Saint Omer Anatole Bartholoni Henry Percy, 5th Earl of Northumberland Walter Buller Meagan Good Ahmed I José Luis Munárriz Francis I of France Louis XIII of France James Beaton Clement of Ohrid Alaungpaya Mona von Bismarck William Borthwick, 1st Lord Borthwick Auguste de Morlhon Charles I of England Ida Rubinstein Francesco Barberini Marcian Katheryn of Berain Niccolò Ridolfi Alfons Mauser Lorenzo de' Medici William Hayley Louis XVI of France August Belmont, Jr. Enrico degli Scrovegni Anne of Brittany Louis XV of France Francisco Franco Maximilian I, Elector of Bavaria Federico da Montefeltro Isabella d'Este Niccolò Machiavelli Henry II of England Tycho Brahe Idia William Hastings, 1st Baron Hastings Taejo of Joseon Alfonso I d'Este, Duke of Ferrara Innocent X Odoardo Farnese Sophia Dorothea of Schleswig-Holstein-Sonderburg-Glücksburg Thierry Le Jeune Henry Le Tonnelier de Breteuil Atalanta Baglioni George Burt Lincoln Kirstein John Ward, 1st Earl of Dudley Franz Joseph I of Austria Augustus II the Strong Thomas Edison Daniele Barbaro Charles XIV John of Sweden William Ward, 1st Earl of Dudley Vincenzo Gonzaga, Duke of Mantua Jakob Meyer zum Hasen Peter de Salis Johann Philipp Franz von Schönborn Herodes Atticus Maurice Aubry Nikolaas Rockox William IV, Duke of Bavaria Wilhelm Girardet Christian Louis de Montmorency-Luxembourg Gabriel García Moreno Ludwig I of Bavaria Louis Philippe I Jean-Baptiste Colbert Eugene Allen Gilmore Quintino Sella Manuel de Godoy, Prince of the Peace Charles I, Duke of Savoy Louis Phélypeaux, marquis de La Vrillière Iseppo da Porto John Pratt Frederick III, Elector of Saxony Taddeo Barberini Giovanni Carandente Suleiman the Magnificent Catherine of Medici Charles Marcotte d'Argenteuil Frederick William II of Prussia Karl August, Grand Duke of Saxe-Weimar-Eisenach Jean-Antoine Chaptal Nicholas V George Frederick, Margrave of Brandenburg-Ansbach Redfield Proctor, Jr. Maria Theresa of Austria Paul Cassirer Cees van der Leeuw Edmund Dummer Louis-Joseph Papineau Ulla Schmidt Borso d'Este, Duke of Ferrara Filippo di Piero Strozzi Johann Schweikhard von Kronberg Diocletian Wilfrid Laurier Michael Tilson Thomas Tiago Gregório Homem da Costa Noronha Ivan III of Russia Charles Saatchi Leonello d'Este, Marquis of Ferrara Christian VIII of Denmark Jean Le Maingre Margaret of Foix Jacques Seligmann David Garrick Antoine de Paule Marjorie Merriweather Post Claude-Philibert Barthelot, comte de Rambuteau Samuel Morton Peto Antonius Triest Prince Ferdinand Philippe, Duke of Orléans John Campbell, 1st Baron Cawdor Jean-François Cail Giovanni Michiel Gerald Grosvenor, 6th Duke of Westminster Louis Raphaël Cahen d'Anvers Theodosius II Aleksander Michał Sapieha Guidobaldo da Montefeltro Rana Bahadur Shah William Duff, 1st Earl Fife William Imrie Helen Vincent, Viscountess D'Abernon Jacob Trip Bartolomeo Panciatichi Henry the Lion Edward Francis Hutton Konstantin von Kaufman Ralph von Merle Nicolas de Launay Paul II Pieter van Os James Mackay, 1st Earl of Inchcape Sir Charles Asgill, 1st Baronet Henry Bathurst, 2nd Earl Bathurst Frederick III, Prince of Salm-Kyrburg Sophie Amalie of Brunswick-Lüneburg Robert John Thornton John, Duke of Berry Mahmud Begada Nicolas Rolin Steve Jobs Ferenc Esterházy Camillo Francesco Maria Pamphili Antoine-Adolphe Dupuch Su Shunqin John Linnell Sante Bentivoglio Philip the Bold Richard Clough Elizabeth Ilive Anna van Ewsum William Cecil, 1st Baron Burghley Jacopo Pesaro Marie-Alain Couturier Charles III Philip, Elector Palatine Piero Soderini Robert Walpole Alberto d'Este, Marquis of Ferrara Tommaso dei Cavalieri Nicolas de Neufville de Villeroy Edward James August Julius Albert Borsig Karl Heinrich von Hornstein Cardinal Richelieu Uluç Ali Reis Gregory XV Gubert Abraham von Salis Catherine II of Russia Cassiano dal Pozzo Napoleon Casimir III the Great Albert von Bardewik Nicholas I of Russia Marcantonio Barbaro James Mayer de Rothschild Agostino Chigi John Maurice, Prince of Nassau-Siegen Charles Ireland Adolphe Stoclet Klaus von Dohnanyi Catulle Mendès Robert Cromek Francis I of Austria Chavundaraya Alexander Hamilton, 10th Duke of Hamilton Francesco Pisani Leopold I Olivier Voutier Nicholas II of Saint Omer Charles I, Duke of Bourbon Thomas Butts Frederick William IV of Prussia Paul Wittgenstein Federico II Gonzaga, Duke of Mantua Vincenzo Natoli Julius II Bogdan Petriceicu Hasdeu Mikołaj Krzysztof "the Orphan" Radziwiłł Clemens August of Bavaria Benno C. Schmidt, Jr. Francesco I de' Medici, Grand Duke of Tuscany Michał Kazimierz Ogiński Akbar Giovanni Ricci Joseph Thomas Augustus Ludovico III Gonzaga, Marquis of Mantua Pulteney Malcolm Felice Brancacci Guillaume de Menthonay Sir Thomas Metcalfe, 4th Baronet Étienne François, duc de Choiseul Pablo Escobar John Russell, 6th Duke of Bedford Georges d'Amboise Abbot Suger Roxelana
389
action count
action less
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type architectural structure
action find_reverse_tuple_counts
relation commissioned by
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Sir Richard Wallace, 1st Baronet
relation commissioned by
type architectural structure
type collectable
[[{'concept': 'architectural structure'}, {'concept': 'collectable'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?d rdf:type ontology:architectural_structure } UNION { ?y rdf:type ontology:common_name . ?d rdf:type ontology:collectable . ?d property:commissioned_by ?y } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { { ?j rdf:type ontology:architectural_structure } UNION { ?j rdf:type ontology:collectable } } . ?j property:commissioned_by resource:Sir_Richard_Wallace,_1st_Baronet } } . FILTER ( ?t < ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q340169 Q17335294
USER
Which names are depicted in min number of medias or coats of arms ?
(c(Q340169)|c(Q17335294),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[[{'concept': 'Q340169'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?t WHERE { { ?m property:P180 ?t . ?t rdf:type ontology:Q82799 . ?m rdf:type ontology:Q340169 } UNION { ?m property:P180 ?t . ?m rdf:type ontology:Q17335294 . ?t rdf:type ontology:Q82799 } } GROUP BY ?t } . FILTER ( ?a = ?x ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:P180 ?k . ?k rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 } UNION { ?e property:P180 ?k . ?e rdf:type ontology:Q340169 . ?k rdf:type ontology:Q82799 } } GROUP BY ?k } } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'media'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?t WHERE { { ?m property:depicts ?t . ?t rdf:type ontology:name . ?m rdf:type ontology:media } UNION { ?m property:depicts ?t . ?m rdf:type ontology:flag_or_coat_of_arms . ?t rdf:type ontology:name } } GROUP BY ?t } . FILTER ( ?a = ?x ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:depicts ?k . ?k rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms } UNION { ?e property:depicts ?k . ?e rdf:type ontology:media . ?k rdf:type ontology:name } } GROUP BY ?k } } }
[]
name media flag or coat of arms
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q6453151 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q1865281 Q1192868 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q340169)|c(Q17335294),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[ANSWERS] are depicted in min number of medias or coats of arms
[[{'concept': 'Q340169'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?t WHERE { { ?m property:P180 ?t . ?t rdf:type ontology:Q82799 . ?m rdf:type ontology:Q340169 } UNION { ?m property:P180 ?t . ?m rdf:type ontology:Q17335294 . ?t rdf:type ontology:Q82799 } } GROUP BY ?t } . FILTER ( ?a = ?x ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:P180 ?k . ?k rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 } UNION { ?e property:P180 ?k . ?e rdf:type ontology:Q340169 . ?k rdf:type ontology:Q82799 } } GROUP BY ?k } } }
octopus Cynara scolymus toad mule wolf Partridge sugarcane shrimp eagle butterfly trout cattle goose cannoneer leek peacock fox raven hawk frog whale clam reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are depicted in min number of medias or coats of arms
leek magi fish
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'media'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?t WHERE { { ?m property:depicts ?t . ?t rdf:type ontology:name . ?m rdf:type ontology:media } UNION { ?m property:depicts ?t . ?m rdf:type ontology:flag_or_coat_of_arms . ?t rdf:type ontology:name } } GROUP BY ?t } . FILTER ( ?a = ?x ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:depicts ?k . ?k rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms } UNION { ?e property:depicts ?k . ?e rdf:type ontology:media . ?k rdf:type ontology:name } } GROUP BY ?k } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q152
P138
Q82799
USER
Which name has that one as its namesake ?
(c(Q82799),P138,Q152)
action filter_type
action find_reverse
entity Q152
relation P138
type Q82799
[{'concept': 'Q82799'}, 'P138', 'Q152']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q152 . ?c rdf:type ontology:Q82799 }
fish
action filter_type
action find_reverse
entity fish
relation named after
type name
[{'concept': 'name'}, 'named after', 'fish']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:fish . ?c rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q1807269
SYSTEM
Did you mean leek ?
Q1807269 Q876933 Q152
(c(Q82799),P138,Q1807269) (c(Q82799),P138,Q876933) (c(Q82799),P138,Q152)
[ANSWER]
[{'concept': 'Q82799'}, 'P138', 'Q1807269'] [{'concept': 'Q82799'}, 'P138', 'Q876933'] [{'concept': 'Q82799'}, 'P138', 'Q152']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q152 . ?c rdf:type ontology:Q82799 }
leek magi fish
Did you mean leek ?
leek
[{'concept': 'name'}, 'named after', 'leek'] [{'concept': 'name'}, 'named after', 'magi'] [{'concept': 'name'}, 'named after', 'fish']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:fish . ?c rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant fish. Could you tell me the answer for that?
(c(Q82799),P138,Q152)
Q152
[{'concept': 'Q82799'}, 'P138', 'Q152']
[{'concept': 'name'}, 'named after', 'fish']
[]
Q23727105
SYSTEM
Poisson
Q23727105
(c(Q82799),P138,Q152)
action filter_type
action find_reverse
entity Q152
relation P138
type Q82799
[ANSWER] has that one as its namesake
[{'concept': 'Q82799'}, 'P138', 'Q152']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q152 . ?c rdf:type ontology:Q82799 }
Poisson
Poisson has that one as its namesake
Poisson
action filter_type
action find_reverse
entity fish
relation named after
type name
[{'concept': 'name'}, 'named after', 'fish']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:fish . ?c rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q1792379 Q18783400
USER
How many names are expressed in atmost 2 art genres and genres of sculpture ?
(c(Q1792379)|c(Q18783400),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
value 2
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:Q18783400 ) ( ontology:Q1792379 ) } } GROUP BY ?g } . FILTER ( ?u <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
value 2
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:genre_of_sculpture ) ( ontology:art_genre ) } } GROUP BY ?g } . FILTER ( ?u <= 2 ) }
[]
name art genre genre of sculpture
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q18783400),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
value 2
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:Q18783400 ) ( ontology:Q1792379 ) } } GROUP BY ?g } . FILTER ( ?u <= 2 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
value 2
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:genre_of_sculpture ) ( ontology:art_genre ) } } GROUP BY ?g } . FILTER ( ?u <= 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23727105
P138
Q82799
USER
What is that one named after ?
action filter_type
action find
entity Q23727105
relation P138
type Q82799
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q23727105 property:P138 ?j }
Poisson
action filter_type
action find
entity Poisson
relation named after
type name
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Poisson property:named_after ?j }
[]
name
Q152
SYSTEM
fish
Q152
action filter_type
action find
entity Q23727105
relation P138
type Q82799
That one named after is a [ANSWER]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q23727105 property:P138 ?j }
fish
That one named after is a fish
fish
action filter_type
action find
entity Poisson
relation named after
type name
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Poisson property:named_after ?j }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q134609
P180
Q82799 Q15709879 Q17335294
USER
Which names are depicted in more number of artwork series and coats of arms than Cynara scolymus ?
(c(Q15709879)|c(Q17335294),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q134609
relation P180
type Q15709879
type Q17335294
[[{'concept': 'Q15709879'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?w ) { ( ontology:Q17335294 ) ( ontology:Q15709879 ) } . ?k rdf:type ?w } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P180 resource:Q134609 . { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15709879 ) ( ontology:Q17335294 ) } } } } . FILTER ( ?a > ?t ) }
Cynara scolymus
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity Cynara scolymus
relation depicts
type artwork series
type flag or coat of arms
[[{'concept': 'artwork series'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?w ) { ( ontology:flag_or_coat_of_arms ) ( ontology:artwork_series ) } . ?k rdf:type ?w } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:depicts resource:Cynara_scolymus . { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:artwork_series ) ( ontology:flag_or_coat_of_arms ) } } } } . FILTER ( ?a > ?t ) }
[]
name artwork series flag or coat of arms
Q144 Q152 Q726
SYSTEM
dog, fish, horse
Q5 Q726 Q144 Q201251 Q43115 Q152
(c(Q15709879)|c(Q17335294),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q134609
relation P180
type Q15709879
type Q17335294
[ANSWERS] are depicted in more number of artwork series and coats of arms than Cynara scolymus
[[{'concept': 'Q15709879'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?w ) { ( ontology:Q17335294 ) ( ontology:Q15709879 ) } . ?k rdf:type ?w } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P180 resource:Q134609 . { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15709879 ) ( ontology:Q17335294 ) } } } } . FILTER ( ?a > ?t ) }
human horse dog peacock saint fish
Dog, fish and horse are depicted in more number of artwork series and coats of arms than Cynara scolymus
dog fish horse
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity Cynara scolymus
relation depicts
type artwork series
type flag or coat of arms
[[{'concept': 'artwork series'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?w ) { ( ontology:flag_or_coat_of_arms ) ( ontology:artwork_series ) } . ?k rdf:type ?w } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:depicts resource:Cynara_scolymus . { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:artwork_series ) ( ontology:flag_or_coat_of_arms ) } } } } . FILTER ( ?a > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16529344
P180
Q82799 Q15709879 Q17335294
USER
And what about goose?
(c(Q15709879)|c(Q17335294),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q16529344
relation P180
type Q15709879
type Q17335294
[[{'concept': 'Q15709879'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?p WHERE { { ?m property:P180 ?p . ?m rdf:type ontology:Q15709879 . ?p rdf:type ontology:Q82799 } UNION { ?m property:P180 ?p . ?p rdf:type ontology:Q82799 . ?m rdf:type ontology:Q17335294 } } GROUP BY ?p } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P180 resource:Q16529344 . { { ?n rdf:type ontology:Q15709879 } UNION { ?n rdf:type ontology:Q17335294 } } } } }
goose
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity goose
relation depicts
type artwork series
type flag or coat of arms
[[{'concept': 'artwork series'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?p WHERE { { ?m property:depicts ?p . ?m rdf:type ontology:artwork_series . ?p rdf:type ontology:name } UNION { ?m property:depicts ?p . ?p rdf:type ontology:name . ?m rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?p } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:depicts resource:goose . { { ?n rdf:type ontology:artwork_series } UNION { ?n rdf:type ontology:flag_or_coat_of_arms } } } } }
[]
name artwork series flag or coat of arms
Q144 Q152 Q726
SYSTEM
dog, fish, horse
Q5 Q726 Q144 Q201251 Q43115 Q152
(c(Q15709879)|c(Q17335294),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q16529344
relation P180
type Q15709879
type Q17335294
[ANSWERS]
[[{'concept': 'Q15709879'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?p WHERE { { ?m property:P180 ?p . ?m rdf:type ontology:Q15709879 . ?p rdf:type ontology:Q82799 } UNION { ?m property:P180 ?p . ?p rdf:type ontology:Q82799 . ?m rdf:type ontology:Q17335294 } } GROUP BY ?p } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P180 resource:Q16529344 . { { ?n rdf:type ontology:Q15709879 } UNION { ?n rdf:type ontology:Q17335294 } } } } }
human horse dog peacock saint fish
dog fish horse
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity goose
relation depicts
type artwork series
type flag or coat of arms
[[{'concept': 'artwork series'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?p WHERE { { ?m property:depicts ?p . ?m rdf:type ontology:artwork_series . ?p rdf:type ontology:name } UNION { ?m property:depicts ?p . ?p rdf:type ontology:name . ?m rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?p } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:depicts resource:goose . { { ?n rdf:type ontology:artwork_series } UNION { ?n rdf:type ontology:flag_or_coat_of_arms } } } } }
[]