Simple Question (Direct)
Simple Question
Q437739
P1344
Q16510064
USER
Which sporting events did Ossi Reichert take part in ?
(Q437739,P1344,c(Q16510064))
action filter_type
action find
entity Q437739
relation P1344
type Q16510064
['Q437739', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q16510064 . resource:Q437739 property:P1344 ?g }
Ossi Reichert
action filter_type
action find
entity Ossi Reichert
relation participant of
type sporting event
['Ossi Reichert', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sporting_event . resource:Ossi_Reichert property:participant_of ?g }
[]
sporting event
Q1222506 Q269552
SYSTEM
Alpine skiing at the 1956 Winter Olympics – Ladies' slalom, Alpine skiing at the 1952 Winter Olympics – Women's slalom
Q1222506 Q269552
(Q437739,P1344,c(Q16510064))
action filter_type
action find
entity Q437739
relation P1344
type Q16510064
Ossi Reichert took part in [ANSWERS]
['Q437739', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q16510064 . resource:Q437739 property:P1344 ?g }
Alpine skiing at the 1956 Winter Olympics – Ladies' slalom Alpine skiing at the 1952 Winter Olympics – Women's slalom
Ossi Reichert took part in Alpine skiing at the 1956 Winter Olympics – Ladies' slalom and Alpine skiing at the 1952 Winter Olympics – Women's slalom
Alpine skiing at the 1956 Winter Olympics – Ladies' slalom Alpine skiing at the 1952 Winter Olympics – Women's slalom
action filter_type
action find
entity Ossi Reichert
relation participant of
type sporting event
['Ossi Reichert', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sporting_event . resource:Ossi_Reichert property:participant_of ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437739
P20
Q15617994
USER
Where did the demise of Ossi Reichert occur ?
(Q437739,P20,c(Q15617994))
action filter_type
action find
entity Q437739
relation P20
type Q15617994
['Q437739', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q437739 property:P20 ?s . ?s rdf:type ontology:Q15617994 }
Ossi Reichert
action filter_type
action find
entity Ossi Reichert
relation place of death
type designation for an administrative territorial entity
['Ossi Reichert', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ossi_Reichert property:place_of_death ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q834920
SYSTEM
Ofterschwang
Q834920
(Q437739,P20,c(Q15617994))
action filter_type
action find
entity Q437739
relation P20
type Q15617994
The demise of Ossi Reichert occurred in [ANSWER]
['Q437739', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q437739 property:P20 ?s . ?s rdf:type ontology:Q15617994 }
Ofterschwang
The demise of Ossi Reichert occurred in Ofterschwang
Ofterschwang
action filter_type
action find
entity Ossi Reichert
relation place of death
type designation for an administrative territorial entity
['Ossi Reichert', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ossi_Reichert property:place_of_death ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q834920 Q1603105
P19
Q502895
USER
Was Joseph Schelbert born at that administrative territory ?
(Q1603105,P19,Q834920)
action is_in
entity Q834920
action find
entity Q1603105
relation P19
['Q1603105', 'P19', 'Q834920']
ASK WHERE { resource:Q1603105 property:P19 resource:Q834920 }
Ofterschwang Joseph Schelbert
action is_in
entity Ofterschwang
action find
entity Joseph Schelbert
relation place of birth
['Joseph Schelbert', 'place of birth', 'Ofterschwang']
ASK WHERE { resource:Joseph_Schelbert property:place_of_birth resource:Ofterschwang }
[]
common name
SYSTEM
YES
(Q1603105,P19,Q834920)
action is_in
entity Q834920
action find
entity Q1603105
relation P19
[ANSWER]
['Q1603105', 'P19', 'Q834920']
ASK WHERE { resource:Q1603105 property:P19 resource:Q834920 }
Yes
action is_in
entity Ofterschwang
action find
entity Joseph Schelbert
relation place of birth
['Joseph Schelbert', 'place of birth', 'Ofterschwang']
ASK WHERE { resource:Joseph_Schelbert property:place_of_birth resource:Ofterschwang }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q269552 Q9623
P361
Q15900616
USER
Is Alpine skiing at the 1952 Winter Olympics – Women's slalom a part of 1952 Winter Olympics ?
(Q269552,P361,Q9623)
action is_in
entity Q9623
action find
entity Q269552
relation P361
['Q269552', 'P361', 'Q9623']
ASK WHERE { resource:Q269552 property:P361 resource:Q9623 }
Alpine skiing at the 1952 Winter Olympics – Women's slalom 1952 Winter Olympics
action is_in
entity 1952 Winter Olympics
action find
entity Alpine skiing at the 1952 Winter Olympics – Women's slalom
relation part of
["Alpine skiing at the 1952 Winter Olympics – Women's slalom", 'part of', '1952 Winter Olympics']
ASK WHERE { resource:Alpine_skiing_at_the_1952_Winter_Olympics_–_Women's_slalom property:part_of resource:1952_Winter_Olympics }
[]
event sequence
SYSTEM
YES
(Q269552,P361,Q9623)
action is_in
entity Q9623
action find
entity Q269552
relation P361
[ANSWER]
['Q269552', 'P361', 'Q9623']
ASK WHERE { resource:Q269552 property:P361 resource:Q9623 }
Yes
action is_in
entity 1952 Winter Olympics
action find
entity Alpine skiing at the 1952 Winter Olympics – Women's slalom
relation part of
["Alpine skiing at the 1952 Winter Olympics – Women's slalom", 'part of', '1952 Winter Olympics']
ASK WHERE { resource:Alpine_skiing_at_the_1952_Winter_Olympics_–_Women's_slalom property:part_of resource:1952_Winter_Olympics }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23688963
P88
Q502895 Q3305213 Q18142
USER
Which people were the persons who commissioned less number of paintings and tower blocks than Joseph Thomas ?
(c(Q3305213)|c(Q18142),P88,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P88
type Q502895
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q23688963
relation P88
type Q3305213
type Q18142
[[{'concept': 'Q3305213'}, {'concept': 'Q18142'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { { ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q3305213 . ?n property:P88 ?j } UNION { ?n property:P88 ?j . ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q18142 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P88 resource:Q23688963 . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q3305213 ) ( ontology:Q18142 ) } } } } . FILTER ( ?d < ?x ) }
Joseph Thomas
action less
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type painting
action find_reverse_tuple_counts
relation commissioned by
type common name
type tower block
action count
action filter_multi_types
action find_reverse
entity Joseph Thomas
relation commissioned by
type painting
type tower block
[[{'concept': 'painting'}, {'concept': 'tower block'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { { ?j rdf:type ontology:common_name . ?n rdf:type ontology:painting . ?n property:commissioned_by ?j } UNION { ?n property:commissioned_by ?j . ?j rdf:type ontology:common_name . ?n rdf:type ontology:tower_block } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:commissioned_by resource:Joseph_Thomas . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:painting ) ( ontology:tower_block ) } } } } . FILTER ( ?d < ?x ) }
[]
common name painting tower block
Q937 Q517 Q316654
SYSTEM
Albert Einstein, Napoleon, Emperor Saga
Q314384 Q21583236 Q128019 Q1679943 Q312637 Q67281 Q16029902 Q18546605 Q3388274 Q2597227 Q34417 Q5007 Q15118669 Q316736 Q646191 Q8423 Q48544 Q48547 Q1434742 Q1869372 Q7758 Q1790464 Q7750 Q36234 Q5482808 Q105013 Q1391982 Q1699250 Q66112 Q658756 Q83672 Q214207 Q1261435 Q2960520 Q459684 Q337630 Q7811659 Q4444804 Q12591 Q2663888 Q923438 Q1397788 Q2854144 Q8019380 Q6260307 Q5602471 Q170398 Q163514 Q41834 Q2161266 Q143319 Q63502 Q16328562 Q937 Q3180455 Q979358 Q506415 Q1360930 Q2138565 Q7790099 Q2002136 Q130221 Q44139 Q3158324 Q95946 Q348183 Q13422636 Q5344847 Q978999 Q114424 Q169305 Q19635621 Q18526360 Q5052103 Q935329 Q2976800 Q448169 Q5973918 Q2573414 Q335489 Q99915 Q938624 Q3291384 Q560746 Q230677 Q130822 Q60568 Q152245 Q535618 Q1408805 Q318089 Q157812 Q18175809 Q702308 Q127318 Q452570 Q3553429 Q57628 Q76555 Q96499 Q205779 Q299663 Q1419 Q358348 Q20875 Q289527 Q349243 Q44961 Q5542604 Q33550 Q37594 Q150726 Q1523 Q650906 Q32500 Q273849 Q545140 Q19660038 Q2714587 Q38200 Q21583204 Q788163 Q691894 Q164823 Q5481257 Q182021 Q2113530 Q2033868 Q1871840 Q2094034 Q170863 Q344454 Q60438 Q3768246 Q168261 Q443559 Q336990 Q9439 Q37134 Q3678126 Q209579 Q211513 Q71578 Q7742 Q437543 Q15839391 Q7296915 Q487488 Q38370 Q2976709 Q3765384 Q4725780 Q115738 Q15454222 Q3022849 Q140106 Q83680 Q192958 Q1395822 Q16004457 Q6228322 Q236853 Q152782 Q2615527 Q5498834 Q2082616 Q7788054 Q244852 Q434252 Q49237 Q153815 Q8032483 Q3340360 Q183226 Q36788 Q298877 Q446077 Q2129556 Q3428813 Q506933 Q170467 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 Q83159 Q1088180 Q19403561 Q177854 Q74936 Q7732 Q760909 Q5379610 Q201143 Q7738 Q152727 Q29179 Q57206 Q435501 Q593626 Q1399 Q102140 Q36620 Q16846394 Q1396340 Q378483 Q188346 Q101266 Q2542756 Q65933 Q167782 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 Q349267 Q43107 Q128664 Q520493 Q10382335 Q171185 Q316654 Q1066012 Q1379797 Q157781 Q930796 Q1002546 Q3159990 Q222390 Q587283 Q450160 Q717289 Q149062 Q2149954 Q458688 Q6224954 Q1233361 Q783595 Q2483541 Q336580 Q3261400 Q168691 Q160353 Q2607550 Q969797 Q2714575 Q8008060 Q82823 Q8012806 Q5703335 Q24278767 Q3635399 Q105378 Q3048511 Q1377579 Q591851 Q3340239 Q102605 Q2644136 Q6138693 Q7526169 Q335667 Q1557363 Q540802 Q231764 Q5928444 Q346761 Q153586 Q2768005 Q338480 Q19837 Q590218 Q2935138 Q586063 Q267483 Q2898749 Q2298732 Q298892 Q7324802 Q23691658 Q19853482 Q354309 Q16745596 Q1897093 Q62594 Q289104 Q104190 Q2551650 Q538960 Q740642 Q196055 Q111354 Q54022 Q1213943 Q26702 Q465269 Q366066 Q132692 Q19973598 Q36450 Q1048333 Q517 Q921075 Q53457 Q1527009 Q130734 Q711845 Q922667 Q1354579 Q395635 Q233224 Q321492 Q18572555 Q365823 Q37085 Q62673 Q971215 Q7343203 Q130834 Q1289992 Q336657 Q1385734 Q12971 Q3351435 Q6861922 Q692291 Q57180 Q170348 Q932200 Q20741624 Q80516 Q2389145 Q968484 Q215086 Q4889906 Q299675 Q704506 Q8597 Q731799 Q1405 Q969770 Q7259727 Q3742116 Q10975505 Q692189 Q127010 Q289149 Q187447 Q25690 Q729743 Q137934 Q329753 Q255809 Q47595
(c(Q3305213)|c(Q18142),P88,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P88
type Q502895
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q23688963
relation P88
type Q3305213
type Q18142
[ANSWERS] were the persons who commissioned less number of paintings and tower blocks than Joseph Thomas
[[{'concept': 'Q3305213'}, {'concept': 'Q18142'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { { ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q3305213 . ?n property:P88 ?j } UNION { ?n property:P88 ?j . ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q18142 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P88 resource:Q23688963 . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q3305213 ) ( ontology:Q18142 ) } } } } . FILTER ( ?d < ?x ) }
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 Emperor Daozong of Liao 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 Charles III of Spain 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 Gustaf Carlberg 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 Johan Sederholm 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 Jacques Bordier 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 Claude-Marius Vaïsse Alva Belmont Ture Malmgren Wilhelm Jacob Wimpf Abu Yaqub Yusuf 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 Sophie de Marbois-Lebrun, Duchess of Plaisance John II of Glymes Anselm Franz, 2nd Prince of Thurn and Taxis 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 Bartolommeo Bandinelli Edward VII Étienne Chevalier Seiwa Charles Theodore, Elector of Bavaria George Moore Frederick II of Prussia 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 Sir Richard Wallace, 1st Baronet Louis Mantin Edward Woyniłłowicz Clement VI Charles de Rémusat Ferdinand Maria, Elector of Bavaria Giovanni Tornabuoni Ptolemy I Soter Elizabeth Sprague Coolidge Abu Inan Faris 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 Denis O'Brien 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 Abd al-Malik ibn Marwan Giuliano de' Medici Léon Carvalho Ralph de Cromwell, 3rd Baron Cromwell Larz Anderson Halil Şerif Paşa Philip V of Spain 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 Clement VII 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 Frederick William, Elector of Brandenburg 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 Charles V of France 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 Uda Diocletian Wilfrid Laurier Michael Tilson Thomas Tiago Gregório Homem da Costa Noronha Ivan III of Russia Emperor Saga 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 Diego Gelmírez Giovanni Michiel Gerald Grosvenor, 6th Duke of Westminster Louis Raphaël Cahen d'Anvers Victor Emmanuel II of Savoy Theodosius II Aleksander Michał Sapieha Guidobaldo da Montefeltro Rana Bahadur Shah William Duff, 1st Earl Fife Johan Frederik Classen 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 Herbert W. Liaunig Frederick III, Prince of Salm-Kyrburg Sophie Amalie of Brunswick-Lüneburg Robert John Thornton John, Duke of Berry Christian IV of Denmark Mahmud Begada Nicolas Rolin Steve Jobs Ferenc Esterházy Camillo Francesco Maria Pamphili Antoine-Adolphe Dupuch Catherine of Brandenburg-Küstrin Su Shunqin 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 Stanisław Leszczyński Karl Heinrich von Hornstein Cardinal Richelieu Uluç Ali Reis John Flaxman Gregory XV Gubert Abraham von Salis Catherine II of Russia Cassiano dal Pozzo Napoleon René de Birague Casimir III the Great Albert von Bardewik Nicholas I of Russia Marcantonio Barbaro James Mayer de Rothschild Kazimierz Leon Sapieha Agostino Chigi Gemmei John Maurice, Prince of Nassau-Siegen Charles Ireland Adolphe Stoclet Solomon 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 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 Augustus Ludovico III Gonzaga, Marquis of Mantua Pulteney Malcolm Felice Brancacci Li Yuanying 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 Daigo Roxelana Alfonso X of Castile
Albert Einstein, Napoleon and Emperor Saga were the persons who commissioned less number of paintings and tower blocks than Joseph Thomas
Albert Einstein Napoleon Emperor Saga
action less
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type painting
action find_reverse_tuple_counts
relation commissioned by
type common name
type tower block
action count
action filter_multi_types
action find_reverse
entity Joseph Thomas
relation commissioned by
type painting
type tower block
[[{'concept': 'painting'}, {'concept': 'tower block'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { { ?j rdf:type ontology:common_name . ?n rdf:type ontology:painting . ?n property:commissioned_by ?j } UNION { ?n property:commissioned_by ?j . ?j rdf:type ontology:common_name . ?n rdf:type ontology:tower_block } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:commissioned_by resource:Joseph_Thomas . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:painting ) ( ontology:tower_block ) } } } } . FILTER ( ?d < ?x ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q517
P451
Q502895
USER
Which people are the partners of that one ?
(Q517,P451,c(Q502895))
action filter_type
action find
entity Q517
relation P451
type Q502895
['Q517', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q517 property:P451 ?s . ?s rdf:type ontology:Q502895 }
Napoleon
action filter_type
action find
entity Napoleon
relation partner
type common name
['Napoleon', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Napoleon property:partner ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q517
SYSTEM
Did you mean Napoleon ?
Q937 Q517 Q316654
(Q937,P451,c(Q502895)) (Q517,P451,c(Q502895)) (Q316654,P451,c(Q502895))
[ANSWER]
['Q937', 'P451', {'concept': 'Q502895'}] ['Q517', 'P451', {'concept': 'Q502895'}] ['Q316654', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q517 property:P451 ?s . ?s rdf:type ontology:Q502895 }
Albert Einstein Napoleon Emperor Saga
Did you mean Napoleon ?
Napoleon
['Albert Einstein', 'partner', {'concept': 'common name'}] ['Napoleon', 'partner', {'concept': 'common name'}] ['Emperor Saga', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Napoleon property:partner ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q517,P451,c(Q502895))
['Q517', 'P451', {'concept': 'Q502895'}]
['Napoleon', 'partner', {'concept': 'common name'}]
[]
Q237931 Q3372720
SYSTEM
Marie Walewska, Pauline Fourès
Q237931 Q3372720
(Q517,P451,c(Q502895))
action filter_type
action find
entity Q517
relation P451
type Q502895
[ANSWERS] are the partners of that one
['Q517', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q517 property:P451 ?s . ?s rdf:type ontology:Q502895 }
Marie Walewska Pauline Fourès
Marie Walewska and Pauline Fourès are the partners of that one
Marie Walewska Pauline Fourès
action filter_type
action find
entity Napoleon
relation partner
type common name
['Napoleon', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Napoleon property:partner ?s . ?s rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8338
P1303
Q34379 Q502895
USER
Which musical instruments do less number of people know to play than trumpet ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8338
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1303 resource:Q8338 . ?w rdf:type ontology:Q502895 } } . FILTER ( ?f < ?r ) }
trumpet
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity trumpet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:instrument resource:trumpet . ?w rdf:type ontology:common_name } } . FILTER ( ?f < ?r ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8338
relation P1303
type Q502895
[ANSWERS] less number of people know to play than trumpet
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1303 resource:Q8338 . ?w rdf:type ontology:Q502895 } } . FILTER ( ?f < ?r ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano less number of people know to play than trumpet
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity trumpet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:instrument resource:trumpet . ?w rdf:type ontology:common_name } } . FILTER ( ?f < ?r ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?q ) WHERE { ?y property:P1303 ?e . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P1303 ?b . ?w rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?n = ?h ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?q ) WHERE { ?y property:instrument ?e . ?y rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:instrument ?b . ?w rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?n = ?h ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?q ) WHERE { ?y property:P1303 ?e . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P1303 ?b . ?w rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?n = ?h ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?q ) WHERE { ?y property:instrument ?e . ?y rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:instrument ?b . ?w rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?n = ?h ) }
[]