Simple Question (Direct)
Simple Question
Q26262811
P69
Q3914
USER
Where was Frank Georgi educated ?
(Q26262811,P69,c(Q3914))
action filter_type
action find
entity Q26262811
relation P69
type Q3914
['Q26262811', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { resource:Q26262811 property:P69 ?p . ?p rdf:type ontology:Q3914 }
Frank Georgi
action filter_type
action find
entity Frank Georgi
relation educated at
type school
['Frank Georgi', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { resource:Frank_Georgi property:educated_at ?p . ?p rdf:type ontology:school }
[]
school
Q273605
SYSTEM
École Normale Supérieure Lettres et Sciences Humaines
Q273605
(Q26262811,P69,c(Q3914))
action filter_type
action find
entity Q26262811
relation P69
type Q3914
Frank Georgi was educated at [ANSWER]
['Q26262811', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { resource:Q26262811 property:P69 ?p . ?p rdf:type ontology:Q3914 }
École Normale Supérieure Lettres et Sciences Humaines
Frank Georgi was educated at École Normale Supérieure Lettres et Sciences Humaines
École Normale Supérieure Lettres et Sciences Humaines
action filter_type
action find
entity Frank Georgi
relation educated at
type school
['Frank Georgi', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { resource:Frank_Georgi property:educated_at ?p . ?p rdf:type ontology:school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26262811
P512
Q3412758
USER
What degree does Frank Georgi hold ?
(Q26262811,P512,c(Q3412758))
action filter_type
action find
entity Q26262811
relation P512
type Q3412758
['Q26262811', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q26262811 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
Frank Georgi
action filter_type
action find
entity Frank Georgi
relation academic degree
type qualification
['Frank Georgi', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Frank_Georgi property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q26262811,P512,c(Q3412758))
action filter_type
action find
entity Q26262811
relation P512
type Q3412758
Frank Georgi holds a [ANSWER]
['Q26262811', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q26262811 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
doctoral degree
Frank Georgi holds a doctoral degree
doctoral degree
action filter_type
action find
entity Frank Georgi
relation academic degree
type qualification
['Frank Georgi', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Frank_Georgi property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6900190
Q3412758
USER
And how about Monika Hestad?
(Q6900190,P512,c(Q3412758))
action filter_type
action find
entity Q6900190
relation P512
type Q3412758
['Q6900190', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q6900190 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
Monika Hestad
action filter_type
action find
entity Monika Hestad
relation academic degree
type qualification
['Monika Hestad', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Monika_Hestad property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q6900190,P512,c(Q3412758))
action filter_type
action find
entity Q6900190
relation P512
type Q3412758
[ANSWER]
['Q6900190', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q6900190 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
doctoral degree
doctoral degree
action filter_type
action find
entity Monika Hestad
relation academic degree
type qualification
['Monika Hestad', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Monika_Hestad property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P512
Q3412758 Q502895
USER
How many qualifications do around the same number of people hold as that qualification ?
(c(Q502895),P512,c(Q3412758))
action count
action approx
action find_reverse_tuple_counts
relation P512
type Q3412758
type Q502895
action count
action filter_type
action find
entity Q849697
relation P512
type Q3412758
[{'concept': 'Q502895'}, 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P512 ?h . ?m rdf:type ontology:Q502895 . ?h rdf:type ontology:Q3412758 } GROUP BY ?h } . FILTER ( ?z = ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q849697 property:P512 ?g . ?g rdf:type ontology:Q3412758 } } }
action count
action approx
action find_reverse_tuple_counts
relation academic degree
type qualification
type common name
action count
action filter_type
action find
entity doctoral degree
relation academic degree
type qualification
[{'concept': 'common name'}, 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:academic_degree ?h . ?m rdf:type ontology:common_name . ?h rdf:type ontology:qualification } GROUP BY ?h } . FILTER ( ?z = ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:doctoral_degree property:academic_degree ?g . ?g rdf:type ontology:qualification } } }
[]
qualification common name
SYSTEM
1
Q849697
(c(Q502895),P512,c(Q3412758))
action count
action approx
action find_reverse_tuple_counts
relation P512
type Q3412758
type Q502895
action count
action filter_type
action find
entity Q849697
relation P512
type Q3412758
[ANSWER]
[{'concept': 'Q502895'}, 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P512 ?h . ?m rdf:type ontology:Q502895 . ?h rdf:type ontology:Q3412758 } GROUP BY ?h } . FILTER ( ?z = ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q849697 property:P512 ?g . ?g rdf:type ontology:Q3412758 } } }
doctoral degree
1
action count
action approx
action find_reverse_tuple_counts
relation academic degree
type qualification
type common name
action count
action filter_type
action find
entity doctoral degree
relation academic degree
type qualification
[{'concept': 'common name'}, 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:academic_degree ?h . ?m rdf:type ontology:common_name . ?h rdf:type ontology:qualification } GROUP BY ?h } . FILTER ( ?z = ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:doctoral_degree property:academic_degree ?g . ?g rdf:type ontology:qualification } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q102851
P674
Q502895 Q15850590 Q7725634
USER
How many people appear as a character in approximately the same number of theatrical genres and literary works as Boethius ?
(c(Q15850590)|c(Q7725634),P674,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q102851
relation P674
type Q15850590
type Q7725634
[[{'concept': 'Q15850590'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?w ) WHERE { VALUES ( ?j ) { ( ontology:Q15850590 ) ( ontology:Q7725634 ) } . ?a rdf:type ?j } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:P674 resource:Q102851 . { ?d rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15850590 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?w = ?n ) }
Boethius
action count
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Boethius
relation characters
type theatrical genre
type literary work
[[{'concept': 'theatrical genre'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?w ) WHERE { VALUES ( ?j ) { ( ontology:theatrical_genre ) ( ontology:literary_work ) } . ?a rdf:type ?j } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:characters resource:Boethius . { ?d rdf:type ?e . VALUES ( ?e ) { ( ontology:theatrical_genre ) ( ontology:literary_work ) } } } } . FILTER ( ?w = ?n ) }
[]
common name theatrical genre literary work
SYSTEM
427
Q13562217 Q7793319 Q315726 Q5254 Q6741571 Q18720650 Q216362 Q457881 Q1986812 Q272246 Q33923 Q2054 Q33760 Q315795 Q3051256 Q676555 Q744125 Q157 Q7788839 Q152513 Q1353836 Q551481 Q43706 Q725118 Q1093574 Q200902 Q12316446 Q18733964 Q10261 Q5879 Q295824 Q118653 Q353879 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q1354988 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q6113413 Q6323112 Q3181675 Q4212237 Q10265876 Q2085338 Q41155 Q270438 Q43353 Q220344 Q44387 Q2254800 Q6139425 Q547828 Q44265 Q172480 Q830183 Q1937560 Q317554 Q257442 Q256663 Q62788 Q313421 Q47365 Q104804 Q294147 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q1338025 Q6777920 Q41980 Q2721219 Q185101 Q286238 Q2355196 Q229702 Q129165 Q55398 Q363636 Q1419 Q2521377 Q1067 Q42305 Q367387 Q937415 Q7200 Q5343069 Q20749193 Q312332 Q5363384 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q328793 Q34428 Q8778 Q42544 Q5015 Q7523 Q169329 Q83041 Q271278 Q1979876 Q1227273 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q2361344 Q5264 Q6780925 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q591879 Q426862 Q1209603 Q154938 Q1059572 Q6818772 Q359237 Q662533 Q317188 Q378053 Q469118 Q594805 Q719418 Q991 Q43600 Q3090807 Q5598 Q531748 Q7243 Q76918 Q4344 Q19844997 Q188541 Q737786 Q172353 Q256439 Q184176 Q43939 Q297285 Q335173 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q43989 Q4791018 Q137680 Q315628 Q86745 Q7422342 Q1981295 Q321166 Q40787 Q737533 Q1281235 Q532354 Q111559 Q297776 Q953718 Q81506 Q3860377 Q154971 Q83400 Q8442 Q200817 Q76721 Q352489 Q1030008 Q951503 Q289694 Q160441 Q7732 Q7734 Q311456 Q153670 Q1394 Q3236830 Q310303 Q1398 Q7328 Q434217 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q68366 Q6184 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q8409 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q694093 Q706003 Q228896 Q9045 Q19348839 Q57652 Q7071043 Q131412 Q743858 Q353081 Q166056 Q131002 Q47180 Q122290 Q452048 Q5582 Q1377025 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q913 Q785250 Q950850 Q7617726 Q335165 Q544680 Q717441 Q211246 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q1824066 Q199991 Q141791 Q200637 Q16404704 Q2755054 Q6780526 Q3421721 Q4230107 Q15463333 Q466048 Q6264078 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 Q233359 Q2116944 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 Q3182316 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q1401 Q15427574 Q289149 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q15850590)|c(Q7725634),P674,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q102851
relation P674
type Q15850590
type Q7725634
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?w ) WHERE { VALUES ( ?j ) { ( ontology:Q15850590 ) ( ontology:Q7725634 ) } . ?a rdf:type ?j } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:P674 resource:Q102851 . { ?d rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15850590 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?w = ?n ) }
Mary Cecilia Bailly Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Malayaketu Nyssia August von Goethe John Tenniel Tituba Johanne Luise Heiberg Peter Seneca Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Francis of Assisi Chaerephon François Hollande Thomas Danforth 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 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 Jiro Horikoshi Ann Putnam, Jr. Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Giles Corey Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Rucio Nahor John Hale Kanva Dhana Nanda Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Pythia Darius I of Persia Cunizza da Romano Thomas Hayward Christiaan de Wet 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 Martinus Theunis Steyn Ham Xerxes 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 Elizabeth Proctor John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Periander Philip Galen Thomas More Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Israel Hands Henry Mayhew Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Durvasa Hippocrates Mary Warren Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Piet Cronjé Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Mercy Lewis 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 Johann Georg Faust Arnaut Daniel Sahakanuysh Chandragupta Maurya Giuseppe Moscati Pyrrhus Claudia Acte Seleucus I Nicator 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 Georg Michael Welzel Sarah Good 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 Abigail Williams Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Yazdegerd II Virgil Vasco da Gama Candaules 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 Siward, Earl of Northumbria 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 Alexander the Great 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 Chanakya 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 Bharata 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 Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Mary Pius Regnier Rebecca Nurse William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini John Willard 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 Atossa Wealhþeow 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 John Proctor Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Samuel Parris 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 Petrarch John Hathorne É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
427
action count
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Boethius
relation characters
type theatrical genre
type literary work
[[{'concept': 'theatrical genre'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?w ) WHERE { VALUES ( ?j ) { ( ontology:theatrical_genre ) ( ontology:literary_work ) } . ?a rdf:type ?j } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:characters resource:Boethius . { ?d rdf:type ?e . VALUES ( ?e ) { ( ontology:theatrical_genre ) ( ontology:literary_work ) } } } } . FILTER ( ?w = ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q849697
P106
Q502895
USER
Which person has doctoral degree as his/her means of employment ?
(c(Q502895),P106,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q849697']
SELECT DISTINCT ?c WHERE { ?c property:P106 resource:Q849697 . ?c rdf:type ontology:Q502895 }
doctoral degree
action filter_type
action find_reverse
entity doctoral degree
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'doctoral degree']
SELECT DISTINCT ?c WHERE { ?c property:occupation resource:doctoral_degree . ?c rdf:type ontology:common_name }
[]
common name
Q3292181
SYSTEM
Marie-Paul Ross
Q3292181
(c(Q502895),P106,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P106
type Q502895
[ANSWER] has doctoral degree as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q849697']
SELECT DISTINCT ?c WHERE { ?c property:P106 resource:Q849697 . ?c rdf:type ontology:Q502895 }
Marie-Paul Ross
Marie-Paul Ross has doctoral degree as his/her means of employment
Marie-Paul Ross
action filter_type
action find_reverse
entity doctoral degree
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'doctoral degree']
SELECT DISTINCT ?c WHERE { ?c property:occupation resource:doctoral_degree . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q849697
P1542
Q8434
USER
Which education has its outcome as doctoral degree ?
(c(Q8434),P1542,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P1542
type Q8434
[{'concept': 'Q8434'}, 'P1542', 'Q849697']
SELECT DISTINCT ?t WHERE { ?t property:P1542 resource:Q849697 . ?t rdf:type ontology:Q8434 }
doctoral degree
action filter_type
action find_reverse
entity doctoral degree
relation cause of
type education
[{'concept': 'education'}, 'cause of', 'doctoral degree']
SELECT DISTINCT ?t WHERE { ?t property:cause_of resource:doctoral_degree . ?t rdf:type ontology:education }
[]
education
Q2095243
SYSTEM
doctorate
Q2095243
(c(Q8434),P1542,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P1542
type Q8434
The [ANSWER] has its outcome as doctoral degree
[{'concept': 'Q8434'}, 'P1542', 'Q849697']
SELECT DISTINCT ?t WHERE { ?t property:P1542 resource:Q849697 . ?t rdf:type ontology:Q8434 }
doctorate
The doctorate has its outcome as doctoral degree
doctorate
action filter_type
action find_reverse
entity doctoral degree
relation cause of
type education
[{'concept': 'education'}, 'cause of', 'doctoral degree']
SELECT DISTINCT ?t WHERE { ?t property:cause_of resource:doctoral_degree . ?t rdf:type ontology:education }
[]