Simple Question (Direct)
Simple Question
Q16195095
P102
Q7210356
USER
Which political organization is Philip Gunn a member of ?
(Q16195095,P102,c(Q7210356))
action filter_type
action find
entity Q16195095
relation P102
type Q7210356
['Q16195095', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q16195095 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Philip Gunn
action filter_type
action find
entity Philip Gunn
relation member of political party
type political organization
['Philip Gunn', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Philip_Gunn property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q16195095,P102,c(Q7210356))
action filter_type
action find
entity Q16195095
relation P102
type Q7210356
The [ANSWER] is Philip Gunn a member of
['Q16195095', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q16195095 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Republican Party
The Republican Party is Philip Gunn a member of
Republican Party
action filter_type
action find
entity Philip Gunn
relation member of political party
type political organization
['Philip Gunn', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Philip_Gunn property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16195095
P21
Q290
USER
What is the sex of that person ?
(Q29468,P21,c(Q290))
action filter_type
action find
entity Q16195095
relation P21
type Q290
['Q29468', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q16195095 property:P21 ?e . ?e rdf:type ontology:Q290 }
Philip Gunn
action filter_type
action find
entity Philip Gunn
relation gender
type sex
['Republican Party', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Philip_Gunn property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q29468,P21,c(Q290))
action filter_type
action find
entity Q16195095
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q29468', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q16195095 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Philip Gunn
relation gender
type sex
['Republican Party', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Philip_Gunn property:gender ?e . ?e rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3288485
P21
Q502895
USER
Does Marc Welti have that sex as the sex ?
(Q3288485,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3288485
relation P21
['Q3288485', 'P21', 'Q6581097']
ASK WHERE { resource:Q3288485 property:P21 resource:Q6581097 }
male Marc Welti
action is_in
entity male
action find
entity Marc Welti
relation gender
['Marc Welti', 'gender', 'male']
ASK WHERE { resource:Marc_Welti property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3288485,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3288485
relation P21
[ANSWER]
['Q3288485', 'P21', 'Q6581097']
ASK WHERE { resource:Q3288485 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Marc Welti
relation gender
['Marc Welti', 'gender', 'male']
ASK WHERE { resource:Marc_Welti property:gender resource:male }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4679883
P674
Q502895 Q838948 Q15850590
USER
How many people plays a role in less number of works of art and theatrical genres than Adam Tas ?
(c(Q838948)|c(Q15850590),P674,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q4679883
relation P674
type Q838948
type Q15850590
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?t WHERE { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } . ?n rdf:type ?x } GROUP BY ?t } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P674 resource:Q4679883 . { { ?v rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q15850590 } } } } }
Adam Tas
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Adam Tas
relation characters
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?t WHERE { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } . ?n rdf:type ?x } GROUP BY ?t } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:characters resource:Adam_Tas . { { ?v rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:theatrical_genre } } } } }
[]
common name work of art theatrical genre
SYSTEM
394
Q13562217 Q315726 Q5254 Q18720650 Q216362 Q457881 Q272246 Q33923 Q2054 Q33760 Q315795 Q676555 Q744125 Q157 Q152513 Q1353836 Q551481 Q43706 Q725118 Q1093574 Q200902 Q12316446 Q18733964 Q10261 Q5879 Q295824 Q2458567 Q118653 Q353879 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q6113413 Q6323112 Q2085338 Q41155 Q270438 Q43353 Q2254800 Q6139425 Q44265 Q172480 Q830183 Q1937560 Q317554 Q257442 Q256663 Q62788 Q313421 Q47365 Q104804 Q294147 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q1338025 Q6777920 Q41980 Q2721219 Q185101 Q286238 Q229702 Q55398 Q363636 Q1419 Q2521377 Q1067 Q42305 Q367387 Q937415 Q7200 Q5343069 Q20749193 Q312332 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q34428 Q8778 Q5015 Q7523 Q169329 Q83041 Q271278 Q1227273 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q5264 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q207535 Q426862 Q1209603 Q154938 Q1059572 Q359237 Q662533 Q317188 Q378053 Q469118 Q594805 Q719418 Q991 Q43600 Q3090807 Q5598 Q531748 Q7243 Q4344 Q19844997 Q737786 Q172353 Q256439 Q43939 Q297285 Q335173 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q43989 Q4791018 Q137680 Q315628 Q1981295 Q321166 Q40787 Q737533 Q1281235 Q532354 Q111559 Q297776 Q953718 Q81506 Q3860377 Q154971 Q83400 Q8442 Q200817 Q76721 Q352489 Q1030008 Q951503 Q160441 Q7732 Q7734 Q311456 Q153670 Q1394 Q3236830 Q310303 Q1398 Q7328 Q434217 Q638973 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q6184 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q109860 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q694093 Q706003 Q228896 Q19348839 Q57652 Q7071043 Q131412 Q743858 Q353081 Q166056 Q131002 Q47180 Q122290 Q452048 Q5582 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q913 Q785250 Q950850 Q7617726 Q335165 Q544680 Q717441 Q211246 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q1824066 Q199991 Q106077 Q141791 Q200637 Q2755054 Q193660 Q6780526 Q4230107 Q15463333 Q466048 Q670332 Q868 Q5544435 Q80048 Q247137 Q9458 Q778520 Q7367631 Q1370965 Q43718 Q170335 Q555304 Q1402591 Q5202472 Q1394174 Q172248 Q4712236 Q1281177 Q208359 Q186652 Q134646 Q188411 Q15711674 Q75090 Q365695 Q2497107 Q313817 Q4403346 Q2596433 Q5689201 Q879350 Q82006 Q1541 Q151209 Q132786 Q828583 Q6197 Q859 Q310267 Q1747004 Q2116944 Q360798 Q203792 Q205523 Q325026 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q1048 Q453382 Q85393 Q665165 Q6691 Q36456 Q39837 Q6779045 Q3687804 Q469050 Q438615 Q44279 Q204236 Q889694 Q297050 Q36303 Q258369 Q17131 Q131463 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q39259 Q1401 Q289149 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q838948)|c(Q15850590),P674,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q4679883
relation P674
type Q838948
type Q15850590
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?t WHERE { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } . ?n rdf:type ?x } GROUP BY ?t } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P674 resource:Q4679883 . { { ?v rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q15850590 } } } } }
Mary Cecilia Bailly Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Nyssia August von Goethe John Tenniel Johanne Luise Heiberg Peter Seneca Bertrand Russell Bernal Díaz del Castillo Francis of Assisi Chaerephon François Hollande Henry Wadsworth Longfellow Hrothgar Antoine Barnave John Chrysostom Carl Christian Hall Ruggieri degli Ubaldini Shem Henrik Sass Larsen Peter Stahl Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard August Engelhardt Jean François Paul de Gondi John Felton Mary Cleophas Foley Cleopatra David Mathos Anton Chekhov Charles Dickens Kay Scarpetta Jonah Hathi Billy Milligan Lyndon B. Johnson Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Rucio Nahor Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Cunizza da Romano Thomas Hayward Benedict of Nursia Isaac of Armenia Eve Mogens Lykketoft Hugh of Saint Victor Sarah Paulson Anne Geneviève de Bourbon Jethro Abel Marie Antoinette Saint Mesrob William Bligh Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Soupy Sales Emma Forsayth Maruja Pachón Democritus Farinata degli Uberti Hamilcar Barca Thaïs Ham Bernadette Soubirous Cardinal de Rohan Vespasian Ottaviano degli Ubaldini Dante Alighieri Richard I of England William II of Sicily James Stewart, 1st Earl of Moray Alexander Pushkin Edward Garrard Marsh Irma Le Fer de la Motte Alessandro Cagliostro John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Philip Galen Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Henry Mayhew Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Hippocrates Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Roland Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Charles Martel of Anjou Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Arnaut Daniel Sahakanuysh Giuseppe Moscati Pyrrhus Claudia Acte Anselm of Canterbury Ali Pasha Edward Hyde, 1st Earl of Clarendon Pharantzem Siger of Brabant Trajan Hadrian John Locke Gyges of Lydia Sigmund Freud Grigori Rasputin Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Abas I of Armenia Margaret Erskine Judah Maccabee Pedanius Dioscorides Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Paulo da Gama Otto von Bismarck Titus van Rijn Godfrey of Bouillon Aulus Plautius Tamar Ashot II of Armenia Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Yazdegerd II Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Miriam Ovid Vasak of Syunik Plotius Tucca Vladimir Solovyov Euclid Pope Celestine V Hovsep Ier de Holotsim Empedocles Graciano Ptolemy David of Scotland, Earl of Huntingdon Nicholas III Terpsion Avicenna Euripides Augustine of Hippo Amy Winehouse Saint Patrick Dagobert I Viktor Frankl Julie d'Aubigny Gaius Scribonius Curio Neil Strauss Euclid of Megara John Corbe Anthony Wood Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Salammbô Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Robert de Sablé Cardinal Mazarin Harun al-Rashid Petronius Jean-Paul Marat Hasdrubal Gisco Vincent van Gogh Yeghishe Sadako Sasaki Dionysius the Areopagite Christopher Wren Guido Cavalcanti Cornelia van Rijn Phil Collins Saladin Socrates Petrus Comestor Samuel Morland William Douglas, 6th Earl of Morton Osceola John Thurloe Alberto Salazar Caiaphas Cornelia Africana Autaritus Guido Guinizelli Salvatore Giuliano Justinian I Louis XI of France Arturo Bandini Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Guido I da Montefeltro Ramon Llull Mary Pius Regnier William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini Comte de Troisville Aristotle George Seton, 7th Lord Seton Al Capone Aelius Donatus Muhammad Diana Turbay Rose Angela Horan Peter Heywood Nikolai Gogol Constance, Queen of Sicily Georges Cadoudal Ohthere Célestine Guynemer de la Hailandière Paphnutius of Thebes Marcus Junius Brutus Alberto Villamizar Beowulf John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Sahak Sevada Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anne of Austria Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Timon of Athens Wealhþeow Saint Eligius Robert Guiscard Zipporah Anacharsis Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar John Adams Friedrich Wilhelm Riemer Sordello Homer Hannibal Averroes Mary Bernard Laughlin Conte Attilio Pomponia Graecina Marie de Rohan Oliver Cromwell John Fryer Hygelac Cuauhtémoc Thales Peter Damian Pontius Pilatus Clement V Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Bonaventure John the Baptist Seth Cain Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Lucius Varius Rufus Abraham Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Augustus Recep Tayyip Erdoğan Petrarch Étienne François, duc de Choiseul Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Gaius Cassius Longinus Albertus Magnus Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
394
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Adam Tas
relation characters
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?t WHERE { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } . ?n rdf:type ?x } GROUP BY ?t } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:characters resource:Adam_Tas . { { ?v rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:theatrical_genre } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q289694
P674
Q502895 Q838948 Q15850590
USER
And also tell me about Abigail Williams?
(c(Q838948)|c(Q15850590),P674,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q289694
relation P674
type Q838948
type Q15850590
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?f WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } . ?l rdf:type ?h } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P674 resource:Q289694 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q15850590 } } } } . FILTER ( ?a < ?x ) }
Abigail Williams
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Abigail Williams
relation characters
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?f WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } . ?l rdf:type ?h } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:characters resource:Abigail_Williams . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:theatrical_genre } } } } . FILTER ( ?a < ?x ) }
[]
common name work of art theatrical genre
SYSTEM
394
Q13562217 Q315726 Q5254 Q18720650 Q216362 Q457881 Q272246 Q33923 Q2054 Q33760 Q315795 Q676555 Q744125 Q157 Q152513 Q1353836 Q551481 Q43706 Q725118 Q1093574 Q200902 Q12316446 Q18733964 Q10261 Q5879 Q295824 Q2458567 Q118653 Q353879 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q6113413 Q6323112 Q2085338 Q41155 Q270438 Q43353 Q2254800 Q6139425 Q44265 Q172480 Q830183 Q1937560 Q317554 Q257442 Q256663 Q62788 Q313421 Q47365 Q104804 Q294147 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q1338025 Q6777920 Q41980 Q2721219 Q185101 Q286238 Q229702 Q55398 Q363636 Q1419 Q2521377 Q1067 Q42305 Q367387 Q937415 Q7200 Q5343069 Q20749193 Q312332 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q34428 Q8778 Q5015 Q7523 Q169329 Q83041 Q271278 Q1227273 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q5264 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q207535 Q426862 Q1209603 Q154938 Q1059572 Q359237 Q662533 Q317188 Q378053 Q469118 Q594805 Q719418 Q991 Q43600 Q3090807 Q5598 Q531748 Q7243 Q4344 Q19844997 Q737786 Q172353 Q256439 Q43939 Q297285 Q335173 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q43989 Q4791018 Q137680 Q315628 Q1981295 Q321166 Q40787 Q737533 Q1281235 Q532354 Q111559 Q297776 Q953718 Q81506 Q3860377 Q154971 Q83400 Q8442 Q200817 Q76721 Q352489 Q1030008 Q951503 Q160441 Q7732 Q7734 Q311456 Q153670 Q1394 Q3236830 Q310303 Q1398 Q7328 Q434217 Q638973 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q6184 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q109860 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q694093 Q706003 Q228896 Q19348839 Q57652 Q7071043 Q131412 Q743858 Q353081 Q166056 Q131002 Q47180 Q122290 Q452048 Q5582 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q913 Q785250 Q950850 Q7617726 Q335165 Q544680 Q717441 Q211246 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q1824066 Q199991 Q106077 Q141791 Q200637 Q2755054 Q193660 Q6780526 Q4230107 Q15463333 Q466048 Q670332 Q868 Q5544435 Q80048 Q247137 Q9458 Q778520 Q7367631 Q1370965 Q43718 Q170335 Q555304 Q1402591 Q5202472 Q1394174 Q172248 Q4712236 Q1281177 Q208359 Q186652 Q134646 Q188411 Q15711674 Q75090 Q365695 Q2497107 Q313817 Q4403346 Q2596433 Q5689201 Q879350 Q82006 Q1541 Q151209 Q132786 Q828583 Q6197 Q859 Q310267 Q1747004 Q2116944 Q360798 Q203792 Q205523 Q325026 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q1048 Q453382 Q85393 Q665165 Q6691 Q36456 Q39837 Q6779045 Q3687804 Q469050 Q438615 Q44279 Q204236 Q889694 Q297050 Q36303 Q258369 Q17131 Q131463 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q39259 Q1401 Q289149 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q838948)|c(Q15850590),P674,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q289694
relation P674
type Q838948
type Q15850590
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?f WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } . ?l rdf:type ?h } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P674 resource:Q289694 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q15850590 } } } } . FILTER ( ?a < ?x ) }
Mary Cecilia Bailly Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Nyssia August von Goethe John Tenniel Johanne Luise Heiberg Peter Seneca Bertrand Russell Bernal Díaz del Castillo Francis of Assisi Chaerephon François Hollande Henry Wadsworth Longfellow Hrothgar Antoine Barnave John Chrysostom Carl Christian Hall Ruggieri degli Ubaldini Shem Henrik Sass Larsen Peter Stahl Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard August Engelhardt Jean François Paul de Gondi John Felton Mary Cleophas Foley Cleopatra David Mathos Anton Chekhov Charles Dickens Kay Scarpetta Jonah Hathi Billy Milligan Lyndon B. Johnson Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Rucio Nahor Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Cunizza da Romano Thomas Hayward Benedict of Nursia Isaac of Armenia Eve Mogens Lykketoft Hugh of Saint Victor Sarah Paulson Anne Geneviève de Bourbon Jethro Abel Marie Antoinette Saint Mesrob William Bligh Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Soupy Sales Emma Forsayth Maruja Pachón Democritus Farinata degli Uberti Hamilcar Barca Thaïs Ham Bernadette Soubirous Cardinal de Rohan Vespasian Ottaviano degli Ubaldini Dante Alighieri Richard I of England William II of Sicily James Stewart, 1st Earl of Moray Alexander Pushkin Edward Garrard Marsh Irma Le Fer de la Motte Alessandro Cagliostro John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Philip Galen Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Henry Mayhew Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Hippocrates Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Roland Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Charles Martel of Anjou Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Arnaut Daniel Sahakanuysh Giuseppe Moscati Pyrrhus Claudia Acte Anselm of Canterbury Ali Pasha Edward Hyde, 1st Earl of Clarendon Pharantzem Siger of Brabant Trajan Hadrian John Locke Gyges of Lydia Sigmund Freud Grigori Rasputin Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Abas I of Armenia Margaret Erskine Judah Maccabee Pedanius Dioscorides Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Paulo da Gama Otto von Bismarck Titus van Rijn Godfrey of Bouillon Aulus Plautius Tamar Ashot II of Armenia Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Yazdegerd II Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Miriam Ovid Vasak of Syunik Plotius Tucca Vladimir Solovyov Euclid Pope Celestine V Hovsep Ier de Holotsim Empedocles Graciano Ptolemy David of Scotland, Earl of Huntingdon Nicholas III Terpsion Avicenna Euripides Augustine of Hippo Amy Winehouse Saint Patrick Dagobert I Viktor Frankl Julie d'Aubigny Gaius Scribonius Curio Neil Strauss Euclid of Megara John Corbe Anthony Wood Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Salammbô Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Robert de Sablé Cardinal Mazarin Harun al-Rashid Petronius Jean-Paul Marat Hasdrubal Gisco Vincent van Gogh Yeghishe Sadako Sasaki Dionysius the Areopagite Christopher Wren Guido Cavalcanti Cornelia van Rijn Phil Collins Saladin Socrates Petrus Comestor Samuel Morland William Douglas, 6th Earl of Morton Osceola John Thurloe Alberto Salazar Caiaphas Cornelia Africana Autaritus Guido Guinizelli Salvatore Giuliano Justinian I Louis XI of France Arturo Bandini Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Guido I da Montefeltro Ramon Llull Mary Pius Regnier William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini Comte de Troisville Aristotle George Seton, 7th Lord Seton Al Capone Aelius Donatus Muhammad Diana Turbay Rose Angela Horan Peter Heywood Nikolai Gogol Constance, Queen of Sicily Georges Cadoudal Ohthere Célestine Guynemer de la Hailandière Paphnutius of Thebes Marcus Junius Brutus Alberto Villamizar Beowulf John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Sahak Sevada Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anne of Austria Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Timon of Athens Wealhþeow Saint Eligius Robert Guiscard Zipporah Anacharsis Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar John Adams Friedrich Wilhelm Riemer Sordello Homer Hannibal Averroes Mary Bernard Laughlin Conte Attilio Pomponia Graecina Marie de Rohan Oliver Cromwell John Fryer Hygelac Cuauhtémoc Thales Peter Damian Pontius Pilatus Clement V Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Bonaventure John the Baptist Seth Cain Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Lucius Varius Rufus Abraham Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Augustus Recep Tayyip Erdoğan Petrarch Étienne François, duc de Choiseul Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Gaius Cassius Longinus Albertus Magnus Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
394
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Abigail Williams
relation characters
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?f WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } . ?l rdf:type ?h } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:characters resource:Abigail_Williams . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:theatrical_genre } } } } . FILTER ( ?a < ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P488
Q502895
USER
Who was the chair of Republican Party ?
(Q29468,P488,c(Q502895))
action filter_type
action find
entity Q29468
relation P488
type Q502895
['Q29468', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q29468 property:P488 ?h . ?h rdf:type ontology:Q502895 }
Republican Party
action filter_type
action find
entity Republican Party
relation chairperson
type common name
['Republican Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Republican_Party property:chairperson ?h . ?h rdf:type ontology:common_name }
[]
common name
Q1357640
SYSTEM
Reince Priebus
Q1357640
(Q29468,P488,c(Q502895))
action filter_type
action find
entity Q29468
relation P488
type Q502895
The chair of Republican Party was Otto [ANSWER]
['Q29468', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q29468 property:P488 ?h . ?h rdf:type ontology:Q502895 }
Reince Priebus
The chair of Republican Party was Otto Reince Priebus
Reince Priebus
action filter_type
action find
entity Republican Party
relation chairperson
type common name
['Republican Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Republican_Party property:chairperson ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24039754
Q502895
USER
And how about Unidos Podemos?
(Q24039754,P488,c(Q502895))
action filter_type
action find
entity Q24039754
relation P488
type Q502895
['Q24039754', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q24039754 property:P488 ?x . ?x rdf:type ontology:Q502895 }
Unidos Podemos
action filter_type
action find
entity Unidos Podemos
relation chairperson
type common name
['Unidos Podemos', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Unidos_Podemos property:chairperson ?x . ?x rdf:type ontology:common_name }
[]
common name
Q13989269
SYSTEM
Pablo Iglesias Turrión
Q13989269
(Q24039754,P488,c(Q502895))
action filter_type
action find
entity Q24039754
relation P488
type Q502895
[ANSWER]
['Q24039754', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q24039754 property:P488 ?x . ?x rdf:type ontology:Q502895 }
Pablo Iglesias Turrión
Pablo Iglesias Turrión
action filter_type
action find
entity Unidos Podemos
relation chairperson
type common name
['Unidos Podemos', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Unidos_Podemos property:chairperson ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 1625 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1625
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { ?n rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 . ?f property:P1303 ?n } GROUP BY ?n } . FILTER ( ?d >= 1625 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1625
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { ?n rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name . ?f property:instrument ?n } GROUP BY ?n } . FILTER ( ?d >= 1625 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1625
The [ANSWERS] are played by atleast 1625 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { ?n rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 . ?f property:P1303 ?n } GROUP BY ?n } . FILTER ( ?d >= 1625 ) }
piano violin organ drum kit
The piano, violin and organ are played by atleast 1625 people
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1625
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { ?n rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name . ?f property:instrument ?n } GROUP BY ?n } . FILTER ( ?d >= 1625 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5994 Q8355 Q1444
P870
Q188451
USER
Who employs piano, violin and organ as a musical instrument ?
(c(Q188451),P870,Q5994) (c(Q188451),P870,Q8355) (c(Q188451),P870,Q1444)
action union
action filter_type
action find_reverse
entity Q5994
relation P870
type Q188451
action filter_type
action find_reverse
entity Q8355
relation P870
type Q188451
action filter_type
action find_reverse
entity Q1444
relation P870
type Q188451
[{'concept': 'Q188451'}, 'P870', 'Q5994'] [{'concept': 'Q188451'}, 'P870', 'Q8355'] [{'concept': 'Q188451'}, 'P870', 'Q1444']
SELECT DISTINCT ?b WHERE { { ?b property:P870 resource:Q5994 . ?b rdf:type ontology:Q188451 } UNION { ?b property:P870 resource:Q8355 . ?b rdf:type ontology:Q188451 } }
piano violin organ
action union
action filter_type
action find_reverse
entity piano
relation instrumentation
type music genre
action filter_type
action find_reverse
entity violin
relation instrumentation
type music genre
action filter_type
action find_reverse
entity organ
relation instrumentation
type music genre
[{'concept': 'music genre'}, 'instrumentation', 'piano'] [{'concept': 'music genre'}, 'instrumentation', 'violin'] [{'concept': 'music genre'}, 'instrumentation', 'organ']
SELECT DISTINCT ?b WHERE { { ?b property:instrumentation resource:piano . ?b rdf:type ontology:music_genre } UNION { ?b property:instrumentation resource:violin . ?b rdf:type ontology:music_genre } }
[]
music genre
Q1154601 Q669358 Q1154601
SYSTEM
Violin Sonata No. 5 for 2nd, Violin Sonata No. 9 for 1st, 3rd
Q2457349 Q146423 Q5903984 Q550350 Q1999051 Q2375280 Q3490252 Q1635731 Q3540015 Q3066529 Q1300778 Q1271144 Q3490268 Q1635740 Q3490212 Q3490207 Q3490205 Q2270897 Q3490238 Q1635353 Q3490221 Q2252472 Q3069033 Q3393250 Q15975837 Q2719749 Q3069060 Q1489755 Q3069052 Q1395862 Q15632116 Q2269974 Q831870 Q54080 Q3490122 Q3490133 Q2212571 Q3073254 Q3490184 Q3490181 Q3490199 Q3490195 Q3133281 Q1546995 Q1067735 Q2352641 Q428956 Q2719264 Q15975838 Q1053078 Q15975840 Q5058312 Q3490084 Q3490081 Q2412736 Q1890794 Q4428775 Q2735761 Q1154601 Q669358 Q264268 Q1053089 Q146492 Q2181451 Q3490213 Q1892808 Q20646569 Q20646570 Q2457349 Q550350 Q2375280 Q1635731 Q20646571 Q1300778 Q1271144 Q3490268 Q1635740 Q3490212 Q3490207 Q3490205 Q2270897 Q1635353 Q3490221 Q2252472 Q3069033 Q2719749 Q3069060 Q3069052 Q15632116 Q2269974 Q3490122 Q3073254 Q3490184 Q3490181 Q3490199 Q3490195 Q3133281 Q7933385 Q1067735 Q2352641 Q428956 Q2412736 Q4428775 Q1154601 Q669358 Q264268 Q3490251 Q2181451 Q3490213 Q1892808 Q1889947 Q1924064 Q1811459 Q1472748 Q1510137 Q1369413 Q205756 Q16952732 Q866713 Q1128394 Q2897278 Q176418 Q2724829 Q1423582
(c(Q188451),P870,Q5994) (c(Q188451),P870,Q8355) (c(Q188451),P870,Q1444)
action union
action filter_type
action find_reverse
entity Q5994
relation P870
type Q188451
action filter_type
action find_reverse
entity Q8355
relation P870
type Q188451
action filter_type
action find_reverse
entity Q1444
relation P870
type Q188451
[ANSWERS]
[{'concept': 'Q188451'}, 'P870', 'Q5994'] [{'concept': 'Q188451'}, 'P870', 'Q8355'] [{'concept': 'Q188451'}, 'P870', 'Q1444']
SELECT DISTINCT ?b WHERE { { ?b property:P870 resource:Q5994 . ?b rdf:type ontology:Q188451 } UNION { ?b property:P870 resource:Q8355 . ?b rdf:type ontology:Q188451 } }
Violin Sonata No. 1 Piano Sonata No. 20 Horn Sonata Violin Sonata No. 28 clarinet sonata Violin Sonata in F major (Mendelssohn) Oboe Sonata Violin Sonata No. 1 Trois morceaux en forme de poire Fantaisie in F minor Violin Sonata No. 8 Violin Sonata No. 3 Violin Sonata in A Violin Sonata No. 4 Violin Sonata No. 3 Violin Sonata No. 2 Violin Sonata No. 1 F-A-E Sonata Cello Sonata No. 1 (Fauré) Violin Sonata No. 2 Violin Sonatas Violin Sonata No. 29 Violin Sonata No. 33 Pohádka Sonata in C minor, D. 958 Violin Sonata Violin Sonata No. 35 Oboe Sonata Violin Sonata No. 27 Fantasie in C Violin Sonata No. 25 Phantasy for Violin and Piano Sonata for Two Pianos and Percussion Viola Sonata Violin Sonata Piano Sonata No. 1 (Schumann) Sonate for piano (Dutilleux) Violin Sonata No. 1 Violin Sonata No. 24 Violin Sonata in F minor Violin Sonata Violin Sonata Violin Sonata No. 32 piano sonata Violin Sonata No. 10 Violin Sonata No. 2 Violin Sonata No. 6 Sonatas and Interludes Sonata in A major, D. 959 Cello Sonatas Nos. 1 and 2 Sonata in B-flat major, D. 960 Cello Sonata Sonata for Clarinet and Piano Viola Sonata (Shostakovich) Violin Sonata in F major (Mendelssohn) The Entertainer Violin Sonata Sonata for Two Pianos Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 2 Cello Sonatas Nos. 4 and 5 Piano Sonatas Nos. 19 and 20 Violin Sonata Violin Sonata No. 3 Violin Sonata No. 7 Sonata No. 1 in G minor, BWV 1001 Sonata No. 2 in A minor, BWV 1003 Violin Sonata No. 1 Violin Sonata No. 28 Violin Sonata in F major (Mendelssohn) Violin Sonata No. 1 Sonata No. 3 in C major, BWV 1005 Violin Sonata No. 8 Violin Sonata No. 3 Violin Sonata in A Violin Sonata No. 4 Violin Sonata No. 3 Violin Sonata No. 2 Violin Sonata No. 1 F-A-E Sonata Violin Sonata No. 2 Violin Sonatas Violin Sonata No. 29 Violin Sonata No. 33 Violin Sonata Violin Sonata No. 35 Violin Sonata No. 27 Violin Sonata No. 25 Phantasy for Violin and Piano Violin Sonata Violin Sonata No. 1 Violin Sonata No. 24 Violin Sonata in F minor Violin Sonata Violin Sonata Violin Sonata No. 32 Violin sonata Violin Sonata No. 10 Violin Sonata No. 2 Violin Sonata No. 6 Violin Sonata in F major (Mendelssohn) Violin Sonata Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 2 Rosary Sonatas Violin Sonata Violin Sonata No. 3 Violin Sonata No. 7 War Requiem Mass No. 1 Requiem Mass No. 3 Requiem Requiem Requiem Missa solemnis Mass No. 2 Requiem Berliner Messe Missa brevis Sancti Joannis de Deo Glagolitic Mass Messa per Rossini
Violin Sonata No. 9, Violin Sonata No. 5 and Violin Sonata No. 9 employ piano, violin and organ as a musical instrument
Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 9
action union
action filter_type
action find_reverse
entity piano
relation instrumentation
type music genre
action filter_type
action find_reverse
entity violin
relation instrumentation
type music genre
action filter_type
action find_reverse
entity organ
relation instrumentation
type music genre
[{'concept': 'music genre'}, 'instrumentation', 'piano'] [{'concept': 'music genre'}, 'instrumentation', 'violin'] [{'concept': 'music genre'}, 'instrumentation', 'organ']
SELECT DISTINCT ?b WHERE { { ?b property:instrumentation resource:piano . ?b rdf:type ontology:music_genre } UNION { ?b property:instrumentation resource:violin . ?b rdf:type ontology:music_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P26
Q502895
USER
Who is the spouse of piano ?
(c(Q502895),P26,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q5994']
SELECT DISTINCT ?f WHERE { ?f property:P26 resource:Q5994 . ?f rdf:type ontology:Q502895 }
piano
action filter_type
action find_reverse
entity piano
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'piano']
SELECT DISTINCT ?f WHERE { ?f property:spouse resource:piano . ?f rdf:type ontology:common_name }
[]
common name
Q3161739
SYSTEM
Jan Páleníček
Q3161739
(c(Q502895),P26,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
The spouse of piano is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q5994']
SELECT DISTINCT ?f WHERE { ?f property:P26 resource:Q5994 . ?f rdf:type ontology:Q502895 }
Jan Páleníček
The spouse of piano is the Jan Páleníček
Jan Páleníček
action filter_type
action find_reverse
entity piano
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'piano']
SELECT DISTINCT ?f WHERE { ?f property:spouse resource:piano . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P61
Q502895
USER
Who was the inventor or discoverer of that musical instrument ?
(Q3161739,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q3161739', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q5994 property:P61 ?x . ?x rdf:type ontology:Q502895 }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['Jan Páleníček', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:piano property:discoverer_or_inventor ?x . ?x rdf:type ontology:common_name }
[]
common name
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
(Q3161739,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
The inventor or discoverer of that musical instrument was [ANSWER]
['Q3161739', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q5994 property:P61 ?x . ?x rdf:type ontology:Q502895 }
Bartolomeo Cristofori
The inventor or discoverer of that musical instrument was Bartolomeo Cristofori
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['Jan Páleníček', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:piano property:discoverer_or_inventor ?x . ?x rdf:type ontology:common_name }
[]