Simple Question (Direct)
Simple Question
Q14493146
P451
Q502895
USER
Who is the domestic partner of Paulina Lavista ?
(Q14493146,P451,c(Q502895))
action filter_type
action find
entity Q14493146
relation P451
type Q502895
['Q14493146', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q14493146 property:P451 ?s . ?s rdf:type ontology:Q502895 }
Paulina Lavista
action filter_type
action find
entity Paulina Lavista
relation partner
type common name
['Paulina Lavista', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Paulina_Lavista property:partner ?s . ?s rdf:type ontology:common_name }
[]
common name
Q1060957
SYSTEM
Salvador Elizondo
Q1060957
(Q14493146,P451,c(Q502895))
action filter_type
action find
entity Q14493146
relation P451
type Q502895
The domestic partner of Paulina Lavista is El [ANSWER]
['Q14493146', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q14493146 property:P451 ?s . ?s rdf:type ontology:Q502895 }
Salvador Elizondo
The domestic partner of Paulina Lavista is El Salvador Elizondo
Salvador Elizondo
action filter_type
action find
entity Paulina Lavista
relation partner
type common name
['Paulina Lavista', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Paulina_Lavista property:partner ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1060957
P1196
Q1931388
USER
What situation did that person die in ?
(Q1060957,P1196,c(Q1931388))
action filter_type
action find
entity Q1060957
relation P1196
type Q1931388
['Q1060957', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?k WHERE { resource:Q1060957 property:P1196 ?k . ?k rdf:type ontology:Q1931388 }
Salvador Elizondo
action filter_type
action find
entity Salvador Elizondo
relation manner of death
type cause of death
['Salvador Elizondo', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?k WHERE { resource:Salvador_Elizondo property:manner_of_death ?k . ?k rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1060957,P1196,c(Q1931388))
action filter_type
action find
entity Q1060957
relation P1196
type Q1931388
That person died in [ANSWER]
['Q1060957', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?k WHERE { resource:Q1060957 property:P1196 ?k . ?k rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Salvador Elizondo
relation manner of death
type cause of death
['Salvador Elizondo', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?k WHERE { resource:Salvador_Elizondo property:manner_of_death ?k . ?k rdf:type ontology:cause_of_death }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3739104 Q113082
P1196
Q502895
USER
Did Reiner Merkel die with that cause of death as its reason ?
(Q113082,P1196,Q3739104)
action is_in
entity Q3739104
action find
entity Q113082
relation P1196
['Q113082', 'P1196', 'Q3739104']
ASK WHERE { resource:Q113082 property:P1196 resource:Q3739104 }
natural causes Reiner Merkel
action is_in
entity natural causes
action find
entity Reiner Merkel
relation manner of death
['Reiner Merkel', 'manner of death', 'natural causes']
ASK WHERE { resource:Reiner_Merkel property:manner_of_death resource:natural_causes }
[]
common name
SYSTEM
YES
(Q113082,P1196,Q3739104)
action is_in
entity Q3739104
action find
entity Q113082
relation P1196
[ANSWER]
['Q113082', 'P1196', 'Q3739104']
ASK WHERE { resource:Q113082 property:P1196 resource:Q3739104 }
Yes
action is_in
entity natural causes
action find
entity Reiner Merkel
relation manner of death
['Reiner Merkel', 'manner of death', 'natural causes']
ASK WHERE { resource:Reiner_Merkel property:manner_of_death resource:natural_causes }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques did approximately 26 people dub for ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 26
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?y ) WHERE { ?h rdf:type ontology:Q1001378 . ?g rdf:type ontology:Q502895 . ?h property:P725 ?g } GROUP BY ?h } . FILTER ( ?y = 26 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 26
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?y ) WHERE { ?h rdf:type ontology:cinematic_technique . ?g rdf:type ontology:common_name . ?h property:voice_actor ?g } GROUP BY ?h } . FILTER ( ?y = 26 ) }
[]
common name cinematic technique
SYSTEM
1
Q2329413
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 26
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?y ) WHERE { ?h rdf:type ontology:Q1001378 . ?g rdf:type ontology:Q502895 . ?h property:P725 ?g } GROUP BY ?h } . FILTER ( ?y = 26 ) }
Barbie as the Princess and the Pauper
1
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 26
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?y ) WHERE { ?h rdf:type ontology:cinematic_technique . ?g rdf:type ontology:common_name . ?h property:voice_actor ?g } GROUP BY ?h } . FILTER ( ?y = 26 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q272246
P674
Q502895 Q223393 Q277759
USER
Which people plays a role in around the same number of literary genres or book series as Johanne Luise Heiberg ?
(c(Q223393)|c(Q277759),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action count
action filter_multi_types
action find_reverse
entity Q272246
relation P674
type Q223393
type Q277759
[[{'concept': 'Q223393'}, {'concept': 'Q277759'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?w = ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P674 resource:Q272246 . { { ?b rdf:type ontology:Q277759 } UNION { ?b rdf:type ontology:Q223393 } } } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { VALUES ( ?s ) { ( ontology:Q223393 ) ( ontology:Q277759 ) } . ?o rdf:type ?s } GROUP BY ?n } }
Johanne Luise Heiberg
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
action find_reverse_tuple_counts
relation characters
type common name
type book series
action count
action filter_multi_types
action find_reverse
entity Johanne Luise Heiberg
relation characters
type literary genre
type book series
[[{'concept': 'literary genre'}, {'concept': 'book series'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?w = ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:characters resource:Johanne_Luise_Heiberg . { { ?b rdf:type ontology:book_series } UNION { ?b rdf:type ontology:literary_genre } } } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { VALUES ( ?s ) { ( ontology:literary_genre ) ( ontology:book_series ) } . ?o rdf:type ?s } GROUP BY ?n } }
[]
common name literary genre book series
Q7243 Q5879 Q692
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, William Shakespeare
Q13562217 Q7793319 Q315726 Q6741571 Q216362 Q457881 Q1986812 Q272246 Q315795 Q3051256 Q2635523 Q744125 Q157 Q7788839 Q152513 Q1353836 Q1851366 Q3680198 Q6173387 Q17141 Q551481 Q725118 Q200902 Q12316446 Q7322 Q18733964 Q10261 Q5879 Q2458567 Q12591 Q118653 Q353879 Q955856 Q262513 Q6779230 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q48438 Q849 Q36591 Q319713 Q1354988 Q981915 Q1291267 Q229807 Q21916822 Q6113413 Q6323112 Q456931 Q3181675 Q4212237 Q10265876 Q2085338 Q43353 Q206459 Q220344 Q765624 Q44387 Q312660 Q6139425 Q547828 Q172480 Q1234647 Q830183 Q1937560 Q257442 Q256663 Q62788 Q4679883 Q313421 Q47365 Q104804 Q294147 Q460763 Q230677 Q6562057 Q1347324 Q2915318 Q13560546 Q1338025 Q6777920 Q234811 Q185101 Q24061503 Q286238 Q2355196 Q229702 Q129165 Q282220 Q55398 Q1411 Q1413 Q363636 Q1416 Q1419 Q42305 Q1140161 Q937415 Q7200 Q7207 Q5343069 Q20749193 Q312332 Q5363384 Q84192 Q6780580 Q187982 Q43393 Q328793 Q34428 Q42544 Q5015 Q7523 Q169329 Q271278 Q353188 Q1979876 Q1227273 Q603096 Q83235 Q543853 Q2412941 Q1348718 Q12927 Q2361344 Q6780925 Q7742 Q281146 Q181875 Q15718786 Q81422 Q3187975 Q634239 Q591879 Q38370 Q1209603 Q1059572 Q6818772 Q662533 Q317188 Q378053 Q469118 Q17410 Q594805 Q719418 Q991 Q43600 Q128358 Q3090807 Q5598 Q531748 Q7243 Q76918 Q19844997 Q188541 Q737786 Q256439 Q184176 Q193232 Q297285 Q335173 Q8462 Q692 Q2750254 Q1427 Q9353 Q9215 Q43989 Q4791018 Q137680 Q315628 Q86745 Q209535 Q7422342 Q1981295 Q321166 Q40787 Q737533 Q236243 Q1281235 Q532354 Q185476 Q953718 Q81506 Q3860377 Q154971 Q8442 Q200817 Q352489 Q76723 Q83159 Q1030008 Q951503 Q289694 Q7732 Q153670 Q1394 Q3080825 Q310303 Q638973 Q215512 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q24062019 Q20750935 Q134309 Q273942 Q332020 Q1938388 Q2633351 Q68366 Q6184 Q145746 Q282280 Q3064195 Q1177456 Q674683 Q15897 Q165479 Q109860 Q154723 Q2438324 Q519984 Q312682 Q20749268 Q691873 Q694093 Q228896 Q9045 Q19348839 Q80823 Q57652 Q7071043 Q131412 Q743858 Q1773005 Q237201 Q353081 Q166056 Q131002 Q229432 Q47180 Q122290 Q170172 Q452048 Q5582 Q1377025 Q612501 Q231997 Q170373 Q16912694 Q144622 Q950850 Q7617726 Q3261049 Q335165 Q544680 Q717441 Q9588 Q2872353 Q559541 Q8058 Q83808 Q1824066 Q66107 Q106077 Q141791 Q200637 Q16404704 Q193660 Q6780526 Q182637 Q3421721 Q4230107 Q15463333 Q6264078 Q670332 Q5944261 Q19118331 Q5544435 Q318726 Q80048 Q5816 Q778520 Q230716 Q7367631 Q1370965 Q43718 Q555304 Q3275910 Q5202472 Q1394174 Q4712236 Q1281177 Q208359 Q186652 Q15711674 Q75090 Q1771963 Q365695 Q313817 Q7647581 Q4403346 Q443256 Q2596433 Q5689201 Q879350 Q82006 Q151209 Q828583 Q310267 Q1747004 Q233359 Q2116944 Q360798 Q981902 Q205523 Q347133 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q983502 Q453382 Q85393 Q36456 Q517 Q154732 Q6779045 Q568082 Q3687804 Q469050 Q438615 Q36517 Q44279 Q745286 Q204236 Q889694 Q297050 Q17131 Q1960623 Q3182316 Q158707 Q6762867 Q37085 Q313555 Q920912 Q2361032 Q1774982 Q3471206 Q107626 Q5553293 Q12324262 Q8820 Q190116 Q9181 Q860084 Q772930 Q434579 Q671872 Q83321 Q39259 Q1401 Q15427574 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q463440 Q218747
(c(Q223393)|c(Q277759),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action count
action filter_multi_types
action find_reverse
entity Q272246
relation P674
type Q223393
type Q277759
[ANSWERS] play a role in around the same number of literary genres or book series as Johanne Luise Heiberg
[[{'concept': 'Q223393'}, {'concept': 'Q277759'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?w = ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P674 resource:Q272246 . { { ?b rdf:type ontology:Q277759 } UNION { ?b rdf:type ontology:Q223393 } } } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { VALUES ( ?s ) { ( ontology:Q223393 ) ( ontology:Q277759 ) } . ?o rdf:type ?s } GROUP BY ?n } }
Mary Cecilia Bailly Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Malayaketu August von Goethe John Tenniel Tituba Johanne Luise Heiberg Bernal Díaz del Castillo Elizabeth Parris Henry Percy, 6th Earl of Northumberland Chaerephon François Hollande Thomas Danforth Henry Wadsworth Longfellow Hrothgar Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Antoine Barnave Carl Christian Hall Shem Henrik Sass Larsen Christopher Columbus Peter Stahl Pythagoras Johann Wolfgang von Goethe François Bonivard Nebuchadnezzar II August Engelhardt Jean François Paul de Gondi Pallas John Felton Mary Cleophas Foley 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 Saint George François Villon Vladimir Nabokov Leopold V, Duke of Austria Giles Corey Joseph Bazalgette Gundomar I Berengaria of Navarre Giovanni Corrado Orsini Rucio Nahor Sextus Tarquinius John Hale Kanva Dhana Nanda Vahan I Mamikonian Aristophanes Feodor II of Russia Pythia Willem Adriaan van der Stel Darius I of Persia Gaius Mucius Scaevola Thomas Hayward Christiaan de Wet Isaac of Armenia Mark Smeaton Eve Mogens Lykketoft Sarah Paulson Anne Geneviève de Bourbon Jethro Adam Tas Abel Marie Antoinette Saint Mesrob William Bligh Benjamin Madame du Barry Mushegh IV Mamikonian François de Vendôme, Duc de Beaufort Soupy Sales Heidi Blickenstaff Emma Forsayth Maruja Pachón Emma, Lady Hamilton Hamilcar Barca Petrus Kalden Thaïs Martinus Theunis Steyn Ham Xerxes Judah Bernadette Soubirous Claudius Nero Cardinal de Rohan Otho Vespasian Richard I of England Marina Mniszech James Stewart, 1st Earl of Moray Alexander Pushkin Elizabeth I of England Edward Garrard Marsh Irma Le Fer de la Motte Alessandro Cagliostro Elizabeth Proctor Maximilian I of Mexico Mary Raphael Slattery Alcibiades Robert Boyle Periander Philip Thomas More Mette Frederiksen Kublai Khan Conrad of Montferrat Jeanne of Valois-Saint-Rémy Lucius Tarquinius Collatinus Israel Hands Henry Mayhew Leon Klinghoffer Horatio Nelson Herod II The Fox and the Cat Jean-Claude Romand Marine Le Pen Durvasa Mary Warren Louis XIV of France Yeznik of Kolb Robert Peel Winona Noah Judith Atto Melani Piet Cronjé Henry VIII Dick Beardsley Khaled Al Khamissi Mercy Lewis Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Zhou Enlai Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Bayezid I Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Johann Georg Faust Sahakanuysh Chandragupta Maurya Giuseppe Moscati Claudia Acte Seleucus I Nicator Vasili IV of Russia Ali Pasha Edward Hyde, 1st Earl of Clarendon Timur William Shakespeare Pharantzem Hadrian John Locke Sigmund Freud Grigori Rasputin Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac Georg Michael Welzel False Dmitriy I Sarah Good Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Giulia Farnese Abas I of Armenia Margaret Erskine Flavius Aetius Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Otto von Bismarck Titus van Rijn Aulus Plautius Maurice de Saxe Clement VII Tamar Ashot II of Armenia Abigail Williams Louis XVI of France Primo Levi Vladimir Lenin Frances Nelson Yazdegerd II Leofric, Earl of Mercia Levi Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Henning Huising Athanasius Fogarty Charles IX of France Pia Gjellerup César Gaviria Miriam Vasak of Syunik Siward, Earl of Northumbria Plotius Tucca Joseph Vladimir Solovyov Hovsep Ier de Holotsim David of Scotland, Earl of Huntingdon Terpsion Amy Winehouse Saint Patrick Dagobert I Viktor Frankl Julie d'Aubigny Neil Strauss Euclid of Megara John Corbe Anthony Wood Ditlev Gothard Monrad Salome Chanakya Salammbô Anne Boleyn Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Simeon Adrienne Lecouvreur Robert de Sablé Cardinal Mazarin Harun al-Rashid Lucretia Petronius Jean-Paul Marat Boris Godunov Hasdrubal Gisco Vincent van Gogh Bharata Yeghishe Sadako Sasaki Christopher Wren Cornelia van Rijn Phil Collins Samuel Morland William Douglas, 6th Earl of Morton Louis Ange Pitou Osceola John Thurloe Alberto Salazar Richard Nixon Autaritus Salvatore Giuliano Louis XI of France François Joseph Lefebvre Arturo Bandini Henry Kissinger Lady Godiva Moctezuma IIl Japheth Endel Nelis Ramon Llull Mary Pius Regnier Jane Seymour Rebecca Nurse William Compton John Mordaunt, 1st Viscount Mordaunt John Willard Comte de Troisville Hunter Bell Andrey Shchelkalov George Seton, 7th Lord Seton Publius Valerius Publicola Al Capone Mao Zedong Diana Turbay Poppaea Sabina Rose Angela Horan Peter Heywood Nikolai Gogol Georges Cadoudal Anne Françoise Elisabeth Lange Célestine Guynemer de la Hailandière Paphnutius of Thebes Alberto Villamizar Beowulf John Wallis Gilbert du Motier Zecora Adele Schopenhauer Naphtali Moses of Chorene George Villiers, 1st Duke of Buckingham Susan Blackwell Sahak Sevada Marie Favart Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Anne of Austria Bertrand-François Mahé de La Bourdonnais Shapur III Timon of Athens Atossa Wealhþeow Saint Eligius Charles Simon Favart Zipporah George Boleyn, Viscount Rochford Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus St. Nerses I John Adams Friedrich Wilhelm Riemer Hannibal Napoleon Agrippina the Younger Mary Bernard Laughlin Arshak II Conte Attilio Pomponia Graecina Marie de Rohan Francis Drake Oliver Cromwell Sir Thomas Hardy, 1st Baronet John Fryer Hygelac Cuauhtémoc Pontius Pilatus Tsarevna Xenia Borisovna of Russia John Proctor Pat Nixon Marie Helene Franey Solomon Hanno the Great Theaetetus Thomas Ken Ruth Samuel Parris Seth Gertrude Clare Owens Lene Jensen Lucius Varius Rufus Benvenuto Cellini Abraham Pausanias of Athens Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Recep Tayyip Erdoğan Petrarch John Hathorne Leo I Étienne François, duc de Choiseul Jiang Qing Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau
Leo Tolstoy, Johann Wolfgang von Goethe and William Shakespeare play a role in around the same number of literary genres or book series as Johanne Luise Heiberg
Leo Tolstoy Johann Wolfgang von Goethe William Shakespeare
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
action find_reverse_tuple_counts
relation characters
type common name
type book series
action count
action filter_multi_types
action find_reverse
entity Johanne Luise Heiberg
relation characters
type literary genre
type book series
[[{'concept': 'literary genre'}, {'concept': 'book series'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?w = ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:characters resource:Johanne_Luise_Heiberg . { { ?b rdf:type ontology:book_series } UNION { ?b rdf:type ontology:literary_genre } } } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { VALUES ( ?s ) { ( ontology:literary_genre ) ( ontology:book_series ) } . ?o rdf:type ?s } GROUP BY ?n } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q170859
P674
Q502895 Q223393 Q277759
USER
And how about Nicholas III?
(c(Q223393)|c(Q277759),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action count
action filter_multi_types
action find_reverse
entity Q170859
relation P674
type Q223393
type Q277759
[[{'concept': 'Q223393'}, {'concept': 'Q277759'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P674 resource:Q170859 . { { ?e rdf:type ontology:Q223393 } UNION { ?e rdf:type ontology:Q277759 } } } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?h ) WHERE { { ?t property:P674 ?o . ?o rdf:type ontology:Q502895 . ?t rdf:type ontology:Q277759 } UNION { ?t property:P674 ?o . ?o rdf:type ontology:Q502895 . ?t rdf:type ontology:Q223393 } } GROUP BY ?o } }
Nicholas III
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
action find_reverse_tuple_counts
relation characters
type common name
type book series
action count
action filter_multi_types
action find_reverse
entity Nicholas III
relation characters
type literary genre
type book series
[[{'concept': 'literary genre'}, {'concept': 'book series'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:characters resource:Nicholas_III . { { ?e rdf:type ontology:literary_genre } UNION { ?e rdf:type ontology:book_series } } } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?h ) WHERE { { ?t property:characters ?o . ?o rdf:type ontology:common_name . ?t rdf:type ontology:book_series } UNION { ?t property:characters ?o . ?o rdf:type ontology:common_name . ?t rdf:type ontology:literary_genre } } GROUP BY ?o } }
[]
common name literary genre book series
Q41370 Q9960 Q33760
SYSTEM
David, Ronald Reagan, Bertrand Russell
Q5254 Q18720650 Q33923 Q2054 Q33760 Q676555 Q43706 Q36724 Q1093574 Q295824 Q635 Q41370 Q3867479 Q234022 Q92639 Q243203 Q130221 Q41155 Q270438 Q2254800 Q44265 Q317554 Q244912 Q41980 Q2721219 Q2521377 Q1067 Q367387 Q172916 Q59180 Q188646 Q8778 Q223440 Q83041 Q9438 Q81018 Q232913 Q5264 Q1133523 Q9077 Q152717 Q207535 Q426862 Q154938 Q359237 Q4344 Q172353 Q43939 Q355903 Q1425 Q312537 Q111559 Q297776 Q83400 Q76721 Q160441 Q7734 Q311456 Q3236830 Q1398 Q7328 Q434217 Q166876 Q7198 Q8747 Q118081 Q83375 Q549041 Q34943 Q170859 Q8011 Q48305 Q8018 Q8409 Q451516 Q102851 Q706003 Q310686 Q316876 Q8581 Q913 Q785250 Q211246 Q234533 Q366270 Q41866 Q199991 Q2755054 Q466048 Q868 Q247137 Q9458 Q170335 Q1402591 Q172248 Q188411 Q2497107 Q1541 Q132786 Q6197 Q859 Q203792 Q325026 Q1048 Q665165 Q6691 Q39837 Q36303 Q258369 Q131463 Q267733 Q43746 Q40662 Q205365 Q448586 Q315347 Q332750 Q1405 Q207370 Q60059 Q9960
(c(Q223393)|c(Q277759),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action count
action filter_multi_types
action find_reverse
entity Q170859
relation P674
type Q223393
type Q277759
[ANSWERS]
[[{'concept': 'Q223393'}, {'concept': 'Q277759'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P674 resource:Q170859 . { { ?e rdf:type ontology:Q223393 } UNION { ?e rdf:type ontology:Q277759 } } } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?h ) WHERE { { ?t property:P674 ?o . ?o rdf:type ontology:Q502895 . ?t rdf:type ontology:Q277759 } UNION { ?t property:P674 ?o . ?o rdf:type ontology:Q502895 . ?t rdf:type ontology:Q223393 } } GROUP BY ?o } }
Folquet de Marselha Nyssia Peter Seneca Bertrand Russell Francis of Assisi John Chrysostom Attila the Hun Ruggieri degli Ubaldini Peter I of Portugal Cleopatra David Musciatto Franzesi Inês de Castro Christos Papadimitriou Publius Papinius Statius Frederick II, Holy Roman Emperor Heraclitus Charles of Valois Cunizza da Romano Benedict of Nursia Hugh of Saint Victor Hezekiah Democritus Farinata degli Uberti Ottaviano degli Ubaldini Dante Alighieri William II of Sicily John XXI Diogenes of Sinope Lucan Galen Lucius Junius Brutus Anaxagoras Thomas Aquinas Judas Iscariot Beatrice Portinari Hippocrates Jephthah Moses Henry VII, Holy Roman Emperor Roland Guido Bonatti Bede Charles Martel of Anjou Arnaut Daniel Pyrrhus Anselm of Canterbury Siger of Brabant Trajan Gyges of Lydia Judah Maccabee Pedanius Dioscorides Paulo da Gama Godfrey of Bouillon Rabanus Maurus Joshua Orosius Princess Changping Virgil Vasco da Gama Candaules Isidore of Seville Ovid Euclid Pope Celestine V Empedocles Graciano Ptolemy Nicholas III Avicenna Euripides Augustine of Hippo Alexander the Great Gaius Scribonius Curio Boethius Ugolino della Gherardesca Dionysius the Areopagite Guido Cavalcanti Saladin Socrates Petrus Comestor Caiaphas Cornelia Africana Guido Guinizelli Justinian I Joachim of Fiore Guido I da Montefeltro Francesca da Rimini Aristotle Aelius Donatus Muhammad Constance, Queen of Sicily Ohthere Marcus Junius Brutus Bernard of Clairvaux Igor Svyatoslavich Cicero Anastasius II Horace Plato Robert Guiscard Anacharsis Julius Caesar Sordello Homer Averroes Thales Peter Damian Clement V Thaïs Bonaventure John the Baptist Cain Fra Dolcino Peter Lombard Dionysius I of Syracuse Augustus Gaius Cassius Longinus Albertus Magnus Ronald Reagan
David Ronald Reagan Bertrand Russell
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
action find_reverse_tuple_counts
relation characters
type common name
type book series
action count
action filter_multi_types
action find_reverse
entity Nicholas III
relation characters
type literary genre
type book series
[[{'concept': 'literary genre'}, {'concept': 'book series'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:characters resource:Nicholas_III . { { ?e rdf:type ontology:literary_genre } UNION { ?e rdf:type ontology:book_series } } } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?h ) WHERE { { ?t property:characters ?o . ?o rdf:type ontology:common_name . ?t rdf:type ontology:book_series } UNION { ?t property:characters ?o . ?o rdf:type ontology:common_name . ?t rdf:type ontology:literary_genre } } GROUP BY ?o } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P509
Q2057971
USER
How many health problems were the cause of death of that person ?
(Q9960,P509,c(Q2057971))
['Q9960', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1171173 property:Q1931388 ?z . ?z rdf:type ontology:Q2057971 }
['Ronald Reagan', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ronald_Reagan property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
health problem
Quantitative|Count|Single entity type|Clarification
Q33760
SYSTEM
Did you mean Bertrand Russell ?
(Q41370,P509,c(Q2057971)) (Q9960,P509,c(Q2057971)) (Q33760,P509,c(Q2057971))
[ANSWER]
['Q41370', 'P509', {'concept': 'Q2057971'}] ['Q9960', 'P509', {'concept': 'Q2057971'}] ['Q33760', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1171173 property:Q1931388 ?z . ?z rdf:type ontology:Q2057971 }
Did you mean Bertrand Russell ?
Bertrand Russell
['David', 'cause of death', {'concept': 'health problem'}] ['Ronald Reagan', 'cause of death', {'concept': 'health problem'}] ['Bertrand Russell', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ronald_Reagan property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ronald Reagan. Could you tell me the answer for that?
(Q9960,P509,c(Q2057971))
Q9960
['Q9960', 'P509', {'concept': 'Q2057971'}]
['Ronald Reagan', 'cause of death', {'concept': 'health problem'}]
[]
SYSTEM
2
Q11081 Q12192
(Q9960,P509,c(Q2057971))
[ANSWER]
['Q9960', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1171173 property:Q1931388 ?z . ?z rdf:type ontology:Q2057971 }
Alzheimer's disease pneumonia
2
['Ronald Reagan', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ronald_Reagan property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9960 Q1677587
P1412
Q34770
USER
How many languages do Ronald Reagan or Jakob Montanus speak in ?
(Q9960,P1412,c(Q34770)) (Q1677587,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q9960
relation P1412
type Q34770
action filter_type
action find
entity Q1677587
relation P1412
type Q34770
['Q9960', 'P1412', {'concept': 'Q34770'}] ['Q1677587', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?h property:P1412 ?f . VALUES ( ?h ) { ( resource:Q9960 ) ( resource:Q1677587 ) } }
Ronald Reagan Jakob Montanus
action count
action union
action filter_type
action find
entity Ronald Reagan
relation languages spoken, written or signed
type language
action filter_type
action find
entity Jakob Montanus
relation languages spoken, written or signed
type language
['Ronald Reagan', 'languages spoken, written or signed', {'concept': 'language'}] ['Jakob Montanus', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?h property:languages_spoken,_written_or_signed ?f . VALUES ( ?h ) { ( resource:Ronald_Reagan ) ( resource:Jakob_Montanus ) } }
[]
language
SYSTEM
2
Q397 Q1860
(Q9960,P1412,c(Q34770)) (Q1677587,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q9960
relation P1412
type Q34770
action filter_type
action find
entity Q1677587
relation P1412
type Q34770
[ANSWER]
['Q9960', 'P1412', {'concept': 'Q34770'}] ['Q1677587', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?h property:P1412 ?f . VALUES ( ?h ) { ( resource:Q9960 ) ( resource:Q1677587 ) } }
Latin English
2
action count
action union
action filter_type
action find
entity Ronald Reagan
relation languages spoken, written or signed
type language
action filter_type
action find
entity Jakob Montanus
relation languages spoken, written or signed
type language
['Ronald Reagan', 'languages spoken, written or signed', {'concept': 'language'}] ['Jakob Montanus', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?h property:languages_spoken,_written_or_signed ?f . VALUES ( ?h ) { ( resource:Ronald_Reagan ) ( resource:Jakob_Montanus ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques have been dubbed by atleast 40 people ?
(c(Q1001378),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 40
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?f ) WHERE { ?q property:P725 ?c . ?q rdf:type ontology:Q1001378 . ?c rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?f >= 40 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 40
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?f ) WHERE { ?q property:voice_actor ?c . ?q rdf:type ontology:cinematic_technique . ?c rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?f >= 40 ) }
[]
common name cinematic technique
SYSTEM
2
Q15270647 Q9321426
(c(Q1001378),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 40
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?f ) WHERE { ?q property:P725 ?c . ?q rdf:type ontology:Q1001378 . ?c rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?f >= 40 ) }
Zootopia Finding Dory
2
action count
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 40
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?f ) WHERE { ?q property:voice_actor ?c . ?q rdf:type ontology:cinematic_technique . ?c rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?f >= 40 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9960
P138
Q62447 Q3947
USER
How many aerodromes or houses have Ronald Reagan as their toponym ?
(c(Q62447),P138,Q9960) (c(Q3947),P138,Q9960)
action count
action union
action filter_type
action find_reverse
entity Q9960
relation P138
type Q62447
action filter_type
action find_reverse
entity Q9960
relation P138
type Q3947
[{'concept': 'Q62447'}, 'P138', 'Q9960'] [{'concept': 'Q3947'}, 'P138', 'Q9960']
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:Q3947 ) ( ontology:Q62447 ) } . ?t rdf:type ?x }
Ronald Reagan
action count
action union
action filter_type
action find_reverse
entity Ronald Reagan
relation named after
type aerodrome
action filter_type
action find_reverse
entity Ronald Reagan
relation named after
type house
[{'concept': 'aerodrome'}, 'named after', 'Ronald Reagan'] [{'concept': 'house'}, 'named after', 'Ronald Reagan']
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:house ) ( ontology:aerodrome ) } . ?t rdf:type ?x }
[]
aerodrome house
SYSTEM
2
Q4917087 Q676576
(c(Q62447),P138,Q9960) (c(Q3947),P138,Q9960)
action count
action union
action filter_type
action find_reverse
entity Q9960
relation P138
type Q62447
action filter_type
action find_reverse
entity Q9960
relation P138
type Q3947
[ANSWER]
[{'concept': 'Q62447'}, 'P138', 'Q9960'] [{'concept': 'Q3947'}, 'P138', 'Q9960']
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:Q3947 ) ( ontology:Q62447 ) } . ?t rdf:type ?x }
birthplace of Ronald Reagan Ronald Reagan Washington National Airport
2
action count
action union
action filter_type
action find_reverse
entity Ronald Reagan
relation named after
type aerodrome
action filter_type
action find_reverse
entity Ronald Reagan
relation named after
type house
[{'concept': 'aerodrome'}, 'named after', 'Ronald Reagan'] [{'concept': 'house'}, 'named after', 'Ronald Reagan']
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:house ) ( ontology:aerodrome ) } . ?t rdf:type ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9960
P40
Q502895
USER
Which people have Ronald Reagan as an offspring ?
(c(Q502895),P40,Q9960)
action filter_type
action find_reverse
entity Q9960
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q9960']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P40 resource:Q9960 }
Ronald Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ronald Reagan']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:child resource:Ronald_Reagan }
[]
common name
Q6990072 Q6114763
SYSTEM
Nelle Wilson Reagan, Jack Reagan
Q6990072 Q6114763
(c(Q502895),P40,Q9960)
action filter_type
action find_reverse
entity Q9960
relation P40
type Q502895
[ANSWERS] have Ronald Reagan as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q9960']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P40 resource:Q9960 }
Nelle Wilson Reagan Jack Reagan
Nelle Wilson Reagan and Jack Reagan have Ronald Reagan as an offspring
Nelle Wilson Reagan Jack Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ronald Reagan']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:child resource:Ronald_Reagan }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6990072 Q6114763
P26
Q502895
USER
Who are married to Nelle Wilson Reagan and Jack Reagan ?
(c(Q502895),P26,Q6990072) (c(Q502895),P26,Q6114763)
action union
action filter_type
action find
entity Q6990072
relation P26
type Q502895
action filter_type
action find
entity Q6114763
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q6990072'] [{'concept': 'Q502895'}, 'P26', 'Q6114763']
SELECT DISTINCT ?p WHERE { { resource:Q6114763 property:P26 ?p . ?p rdf:type ontology:Q502895 } UNION { resource:Q6990072 property:P26 ?p . ?p rdf:type ontology:Q502895 } }
Nelle Wilson Reagan Jack Reagan
action union
action filter_type
action find
entity Nelle Wilson Reagan
relation spouse
type common name
action filter_type
action find
entity Jack Reagan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nelle Wilson Reagan'] [{'concept': 'common name'}, 'spouse', 'Jack Reagan']
SELECT DISTINCT ?p WHERE { { resource:Jack_Reagan property:spouse ?p . ?p rdf:type ontology:common_name } UNION { resource:Nelle_Wilson_Reagan property:spouse ?p . ?p rdf:type ontology:common_name } }
[]
common name
Q6114763 Q6990072
SYSTEM
Jack Reagan, Nelle Wilson Reagan
Q6114763 Q6990072
(c(Q502895),P26,Q6990072) (c(Q502895),P26,Q6114763)
action union
action filter_type
action find
entity Q6990072
relation P26
type Q502895
action filter_type
action find
entity Q6114763
relation P26
type Q502895
Reagan [ANSWERS] are married to Nelle Wilson Reagan and Jack Reagan
[{'concept': 'Q502895'}, 'P26', 'Q6990072'] [{'concept': 'Q502895'}, 'P26', 'Q6114763']
SELECT DISTINCT ?p WHERE { { resource:Q6114763 property:P26 ?p . ?p rdf:type ontology:Q502895 } UNION { resource:Q6990072 property:P26 ?p . ?p rdf:type ontology:Q502895 } }
Jack Reagan Nelle Wilson Reagan
Reagan Jack Reagan and Nelle Wilson Reagan are married to Nelle Wilson Reagan and Jack Reagan
Jack Reagan Nelle Wilson Reagan
action union
action filter_type
action find
entity Nelle Wilson Reagan
relation spouse
type common name
action filter_type
action find
entity Jack Reagan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nelle Wilson Reagan'] [{'concept': 'common name'}, 'spouse', 'Jack Reagan']
SELECT DISTINCT ?p WHERE { { resource:Jack_Reagan property:spouse ?p . ?p rdf:type ontology:common_name } UNION { resource:Nelle_Wilson_Reagan property:spouse ?p . ?p rdf:type ontology:common_name } }
[]