Simple Question (Direct)
Simple Question
Q1522269
P20
Q56061
USER
Where did Gian-Carlo Wick die ?
(Q1522269,P20,c(Q56061))
action filter_type
action find
entity Q1522269
relation P20
type Q56061
['Q1522269', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1522269 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Gian-Carlo Wick
action filter_type
action find
entity Gian-Carlo Wick
relation place of death
type administrative territorial entity
['Gian-Carlo Wick', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Gian-Carlo_Wick property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495
SYSTEM
Turin
Q495
(Q1522269,P20,c(Q56061))
action filter_type
action find
entity Q1522269
relation P20
type Q56061
Wicked on [ANSWER]
['Q1522269', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1522269 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Turin
Wicked on Turin
Turin
action filter_type
action find
entity Gian-Carlo Wick
relation place of death
type administrative territorial entity
['Gian-Carlo Wick', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Gian-Carlo_Wick property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q495
P6
Q502895
USER
Which people have that administrative territory as their heads of government ?
(Q495,P6,c(Q502895))
action filter_type
action find
entity Q495
relation P6
type Q502895
['Q495', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q495 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Turin
action filter_type
action find
entity Turin
relation head of government
type common name
['Turin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Turin property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1054714 Q24701812 Q542406
SYSTEM
Sergio Chiamparino, Chiara Appendino, Piero Fassino
Q4007740 Q1054714 Q24701812 Q3934507 Q542406
(Q495,P6,c(Q502895))
action filter_type
action find
entity Q495
relation P6
type Q502895
[ANSWERS] have that administrative territory as their heads of government
['Q495', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q495 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Valentino Castellani Sergio Chiamparino Chiara Appendino Riccardo Malpica Piero Fassino
Sergio Chiamparino, Chiara Appendino and Piero Fassino have that administrative territory as their heads of government
Sergio Chiamparino Chiara Appendino Piero Fassino
action filter_type
action find
entity Turin
relation head of government
type common name
['Turin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Turin property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q495
P6
Q56061
USER
Are those people the head of the goverment of Turin ?
(Q495,P6,Q1054714) (Q495,P6,Q24701812) (Q495,P6,Q542406)
action is_in
entity prev_answer
action find
entity Q495
relation P6
['Q495', 'P6', 'Q1054714'] ['Q495', 'P6', 'Q24701812'] ['Q495', 'P6', 'Q542406']
ASK WHERE { VALUES ( ?r ) { ( resource:Q4007740 ) ( resource:Q1054714 ) ( resource:Q24701812 ) } . resource:Q495 property:P6 ?r }
Turin
action is_in
entity prev_answer
action find
entity Turin
relation head of government
['Turin', 'head of government', 'Sergio Chiamparino'] ['Turin', 'head of government', 'Chiara Appendino'] ['Turin', 'head of government', 'Piero Fassino']
ASK WHERE { VALUES ( ?r ) { ( resource:Valentino_Castellani ) ( resource:Sergio_Chiamparino ) ( resource:Chiara_Appendino ) } . resource:Turin property:head_of_government ?r }
[]
administrative territorial entity
SYSTEM
YES
(Q495,P6,Q1054714) (Q495,P6,Q24701812) (Q495,P6,Q542406)
action is_in
entity prev_answer
action find
entity Q495
relation P6
[ANSWER]
['Q495', 'P6', 'Q1054714'] ['Q495', 'P6', 'Q24701812'] ['Q495', 'P6', 'Q542406']
ASK WHERE { VALUES ( ?r ) { ( resource:Q4007740 ) ( resource:Q1054714 ) ( resource:Q24701812 ) } . resource:Q495 property:P6 ?r }
Yes
action is_in
entity prev_answer
action find
entity Turin
relation head of government
['Turin', 'head of government', 'Sergio Chiamparino'] ['Turin', 'head of government', 'Chiara Appendino'] ['Turin', 'head of government', 'Piero Fassino']
ASK WHERE { VALUES ( ?r ) { ( resource:Valentino_Castellani ) ( resource:Sergio_Chiamparino ) ( resource:Chiara_Appendino ) } . resource:Turin property:head_of_government ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1054714
P937
Q56061
USER
Where did Sergio Chiamparino work ?
(Q1054714,P937,c(Q56061))
action filter_type
action find
entity Q1054714
relation P937
type Q56061
['Q1054714', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1054714 property:P937 ?s . ?s rdf:type ontology:Q56061 }
Sergio Chiamparino
action filter_type
action find
entity Sergio Chiamparino
relation work location
type administrative territorial entity
['Sergio Chiamparino', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Sergio_Chiamparino property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q1054714,P937,c(Q56061))
action filter_type
action find
entity Q1054714
relation P937
type Q56061
Sergio Chiamparino worked in [ANSWER]
['Q1054714', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1054714 property:P937 ?s . ?s rdf:type ontology:Q56061 }
Rome
Sergio Chiamparino worked in Rome
Rome
action filter_type
action find
entity Sergio Chiamparino
relation work location
type administrative territorial entity
['Sergio Chiamparino', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Sergio_Chiamparino property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4074398
Q56061
USER
And also tell me about Mikhail Babich?
(Q4074398,P937,c(Q56061))
action filter_type
action find
entity Q4074398
relation P937
type Q56061
['Q4074398', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q4074398 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Mikhail Babich
action filter_type
action find
entity Mikhail Babich
relation work location
type administrative territorial entity
['Mikhail Babich', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mikhail_Babich property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4074398,P937,c(Q56061))
action filter_type
action find
entity Q4074398
relation P937
type Q56061
[ANSWER]
['Q4074398', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q4074398 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Moscow
Moscow
action filter_type
action find
entity Mikhail Babich
relation work location
type administrative territorial entity
['Mikhail Babich', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mikhail_Babich property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q649 Q159
P17
Q15617994
USER
Is Moscow present in Russia ?
(Q649,P17,Q159)
action is_in
entity Q159
action find
entity Q649
relation P17
['Q649', 'P17', 'Q159']
ASK WHERE { resource:Q649 property:P17 resource:Q159 }
Moscow Russia
action is_in
entity Russia
action find
entity Moscow
relation country
['Moscow', 'country', 'Russia']
ASK WHERE { resource:Moscow property:country resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q649,P17,Q159)
action is_in
entity Q159
action find
entity Q649
relation P17
[ANSWER]
['Q649', 'P17', 'Q159']
ASK WHERE { resource:Q649 property:P17 resource:Q159 }
Yes
action is_in
entity Russia
action find
entity Moscow
relation country
['Moscow', 'country', 'Russia']
ASK WHERE { resource:Moscow property:country resource:Russia }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q9960
P674
Q502895 Q223393 Q571
USER
Which people plays a role in around the same number of literary genres or books as Ronald Reagan ?
(c(Q223393)|c(Q571),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 Q571
action count
action filter_multi_types
action find_reverse
entity Q9960
relation P674
type Q223393
type Q571
[[{'concept': 'Q223393'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?p WHERE { { ?q property:P674 ?p . ?p rdf:type ontology:Q502895 . ?q rdf:type ontology:Q223393 } UNION { ?q property:P674 ?p . ?p rdf:type ontology:Q502895 . ?q rdf:type ontology:Q571 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P674 resource:Q9960 . { { ?u rdf:type ontology:Q223393 } UNION { ?u rdf:type ontology:Q571 } } } } . FILTER ( ?g = ?y ) }
Ronald Reagan
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
action count
action filter_multi_types
action find_reverse
entity Ronald Reagan
relation characters
type literary genre
type book
[[{'concept': 'literary genre'}, {'concept': 'book'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?p WHERE { { ?q property:characters ?p . ?p rdf:type ontology:common_name . ?q rdf:type ontology:literary_genre } UNION { ?q property:characters ?p . ?p rdf:type ontology:common_name . ?q rdf:type ontology:book } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:characters resource:Ronald_Reagan . { { ?u rdf:type ontology:literary_genre } UNION { ?u rdf:type ontology:book } } } } . FILTER ( ?g = ?y ) }
[]
common name literary genre book
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 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 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 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 Q15427574 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q463440 Q218747 Q9960
(c(Q223393)|c(Q571),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 Q571
action count
action filter_multi_types
action find_reverse
entity Q9960
relation P674
type Q223393
type Q571
[ANSWERS] play a role in around the same number of literary genres or books as Ronald Reagan
[[{'concept': 'Q223393'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?p WHERE { { ?q property:P674 ?p . ?p rdf:type ontology:Q502895 . ?q rdf:type ontology:Q223393 } UNION { ?q property:P674 ?p . ?p rdf:type ontology:Q502895 . ?q rdf:type ontology:Q571 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P674 resource:Q9960 . { { ?u rdf:type ontology:Q223393 } UNION { ?u rdf:type ontology:Q571 } } } } . FILTER ( ?g = ?y ) }
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 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 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 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 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 Ronald Reagan
Leo Tolstoy, Johann Wolfgang von Goethe and William Shakespeare play a role in around the same number of literary genres or books as Ronald Reagan
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
action count
action filter_multi_types
action find_reverse
entity Ronald Reagan
relation characters
type literary genre
type book
[[{'concept': 'literary genre'}, {'concept': 'book'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?p WHERE { { ?q property:characters ?p . ?p rdf:type ontology:common_name . ?q rdf:type ontology:literary_genre } UNION { ?q property:characters ?p . ?p rdf:type ontology:common_name . ?q rdf:type ontology:book } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:characters resource:Ronald_Reagan . { { ?u rdf:type ontology:literary_genre } UNION { ?u rdf:type ontology:book } } } } . FILTER ( ?g = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q426862
P674
Q502895 Q223393 Q571
USER
And what about Guido Bonatti?
(c(Q223393)|c(Q571),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 Q571
action count
action filter_multi_types
action find_reverse
entity Q426862
relation P674
type Q223393
type Q571
[[{'concept': 'Q223393'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?k = ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { { ?j rdf:type ontology:Q223393 } UNION { ?j rdf:type ontology:Q571 } } . ?j property:P674 resource:Q426862 } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?d WHERE { { ?p property:P674 ?d . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q223393 } UNION { ?p property:P674 ?d . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q571 } } GROUP BY ?d } }
Guido Bonatti
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
action count
action filter_multi_types
action find_reverse
entity Guido Bonatti
relation characters
type literary genre
type book
[[{'concept': 'literary genre'}, {'concept': 'book'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?k = ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { { ?j rdf:type ontology:literary_genre } UNION { ?j rdf:type ontology:book } } . ?j property:characters resource:Guido_Bonatti } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?d WHERE { { ?p property:characters ?d . ?d rdf:type ontology:common_name . ?p rdf:type ontology:literary_genre } UNION { ?p property:characters ?d . ?d rdf:type ontology:common_name . ?p rdf:type ontology:book } } GROUP BY ?d } }
[]
common name literary genre book
Q41370 Q33760 Q130221
SYSTEM
David, Bertrand Russell, Frederick II, Holy Roman Emperor
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 Q5343069 Q172916 Q59180 Q188646 Q8778 Q223440 Q83041 Q9438 Q81018 Q232913 Q5264 Q1133523 Q9077 Q152717 Q207535 Q426862 Q154938 Q359237 Q4344 Q172353 Q43939 Q355903 Q1425 Q312537 Q43989 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 Q80048 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 Q1401 Q207370 Q60059
(c(Q223393)|c(Q571),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 Q571
action count
action filter_multi_types
action find_reverse
entity Q426862
relation P674
type Q223393
type Q571
[ANSWERS]
[[{'concept': 'Q223393'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?k = ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { { ?j rdf:type ontology:Q223393 } UNION { ?j rdf:type ontology:Q571 } } . ?j property:P674 resource:Q426862 } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?d WHERE { { ?p property:P674 ?d . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q223393 } UNION { ?p property:P674 ?d . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q571 } } GROUP BY ?d } }
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 Edward Garrard Marsh 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 Grigori Rasputin 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 Al Capone 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 Petrarch Gaius Cassius Longinus Albertus Magnus
David Bertrand Russell Frederick II, Holy Roman Emperor
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
action count
action filter_multi_types
action find_reverse
entity Guido Bonatti
relation characters
type literary genre
type book
[[{'concept': 'literary genre'}, {'concept': 'book'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?k = ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { { ?j rdf:type ontology:literary_genre } UNION { ?j rdf:type ontology:book } } . ?j property:characters resource:Guido_Bonatti } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?d WHERE { { ?p property:characters ?d . ?d rdf:type ontology:common_name . ?p rdf:type ontology:literary_genre } UNION { ?p property:characters ?d . ?d rdf:type ontology:common_name . ?p rdf:type ontology:book } } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11479883
P725
Q502895 Q6619679
USER
How many fictional humanoids had their voice dubbing done by lesser number of people than Mami Tomoe ?
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q11479883
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?k ) WHERE { ?t property:P725 ?x . ?t rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q11479883 property:P725 ?l } } . FILTER ( ?k < ?b ) }
Mami Tomoe
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Mami Tomoe
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?k ) WHERE { ?t property:voice_actor ?x . ?t rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:common_name . resource:Mami_Tomoe property:voice_actor ?l } } . FILTER ( ?k < ?b ) }
[]
common name fictional humanoid
SYSTEM
25
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q11479883
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?k ) WHERE { ?t property:P725 ?x . ?t rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q11479883 property:P725 ?l } } . FILTER ( ?k < ?b ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
25
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Mami Tomoe
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?k ) WHERE { ?t property:voice_actor ?x . ?t rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:common_name . resource:Mami_Tomoe property:voice_actor ?l } } . FILTER ( ?k < ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1148698
P725
Q502895 Q6619679
USER
And how about Ai Haibara?
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1148698
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { ?q property:P725 ?u . ?q rdf:type ontology:Q6619679 . ?u rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q1148698 property:P725 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?z < ?l ) }
Ai Haibara
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Ai Haibara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { ?q property:voice_actor ?u . ?q rdf:type ontology:fictional_humanoid . ?u rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Ai_Haibara property:voice_actor ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?z < ?l ) }
[]
common name fictional humanoid
SYSTEM
16
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1148698
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { ?q property:P725 ?u . ?q rdf:type ontology:Q6619679 . ?u rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q1148698 property:P725 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?z < ?l ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
16
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Ai Haibara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { ?q property:voice_actor ?u . ?q rdf:type ontology:fictional_humanoid . ?u rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Ai_Haibara property:voice_actor ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?z < ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works had max number of people as the dubbing artist ?
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?j ) WHERE { ?f property:P725 ?w . ?f rdf:type ontology:Q386724 . ?w rdf:type ontology:Q502895 } GROUP BY ?f } } . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?l ) WHERE { ?s property:P725 ?r . ?s rdf:type ontology:Q386724 . ?r rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?l = ?i ) }
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?j ) WHERE { ?f property:voice_actor ?w . ?f rdf:type ontology:work . ?w rdf:type ontology:common_name } GROUP BY ?f } } . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?l ) WHERE { ?s property:voice_actor ?r . ?s rdf:type ontology:work . ?r rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?l = ?i ) }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[ANSWER] had max number of people as the dubbing artist
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?j ) WHERE { ?f property:P725 ?w . ?f rdf:type ontology:Q386724 . ?w rdf:type ontology:Q502895 } GROUP BY ?f } } . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?l ) WHERE { ?s property:P725 ?r . ?s rdf:type ontology:Q386724 . ?r rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?l = ?i ) }
Hércules y el examen de conducir
Hércules y el examen de conducir had max number of people as the dubbing artist
Hércules y el examen de conducir
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?j ) WHERE { ?f property:voice_actor ?w . ?f rdf:type ontology:work . ?w rdf:type ontology:common_name } GROUP BY ?f } } . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?l ) WHERE { ?s property:voice_actor ?r . ?s rdf:type ontology:work . ?r rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?l = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q837622
P1445
Q15416 Q386724
USER
Which television programs illustrate lesser number of works fictional universe than Stargate Infinity ?
(c(Q386724),P1445,c(Q15416))
action less
action find_reverse_tuple_counts
relation P1445
type Q15416
type Q386724
action count
action filter_type
action find_reverse
entity Q837622
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?t ) WHERE { ?n rdf:type ontology:Q15416 . ?q rdf:type ontology:Q386724 . ?q property:P1445 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:P1445 resource:Q837622 . ?f rdf:type ontology:Q386724 } } . FILTER ( ?t < ?u ) }
Stargate Infinity
action less
action find_reverse_tuple_counts
relation fictional universe described in
type television program
type work
action count
action filter_type
action find_reverse
entity Stargate Infinity
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?t ) WHERE { ?n rdf:type ontology:television_program . ?q rdf:type ontology:work . ?q property:fictional_universe_described_in ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:fictional_universe_described_in resource:Stargate_Infinity . ?f rdf:type ontology:work } } . FILTER ( ?t < ?u ) }
[]
television program work
Q23572 Q108774 Q16290
SYSTEM
Game of Thrones, Star Trek: Deep Space Nine, Star Trek: The Next Generation
Q130585 Q210146 Q380519 Q15711398 Q3031713 Q3033709 Q156329 Q186219 Q194213 Q785430 Q239937 Q16862988 Q15924143 Q18844732 Q23572 Q437808 Q34316 Q18008936 Q3027966 Q215287 Q1077 Q11622 Q212156 Q187462 Q19863968 Q108774 Q2707472 Q16290 Q737343 Q1759586 Q552314
(c(Q386724),P1445,c(Q15416))
action less
action find_reverse_tuple_counts
relation P1445
type Q15416
type Q386724
action count
action filter_type
action find_reverse
entity Q837622
relation P1445
type Q386724
[ANSWERS] illustrate lesser number of works fictional universe than Stargate Infinity
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?t ) WHERE { ?n rdf:type ontology:Q15416 . ?q rdf:type ontology:Q386724 . ?q property:P1445 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:P1445 resource:Q837622 . ?f rdf:type ontology:Q386724 } } . FILTER ( ?t < ?u ) }
Supernatural Babylon 5 Star Trek: Enterprise The Flash The Maxx Dofus : Aux trésors de Kerubim Star Trek: Voyager True Blood Stargate Universe Young Justice Pokémon Constantine Supernatural: Bloodlines Supergirl Game of Thrones Fullmetal Alchemist: Brotherhood Doctor Who Dr. Slump Dilbert Stargate Atlantis Star Trek: The Original Series Firefly Angel Stargate SG-1 Legends of Tomorrow Star Trek: Deep Space Nine Super Friends Star Trek: The Next Generation Crusade Roughnecks: Starship Troopers Chronicles Arrow
Game of Thrones, Star Trek: Deep Space Nine and Star Trek: The Next Generation illustrate lesser number of works fictional universe than Stargate Infinity
Game of Thrones Star Trek: Deep Space Nine Star Trek: The Next Generation
action less
action find_reverse_tuple_counts
relation fictional universe described in
type television program
type work
action count
action filter_type
action find_reverse
entity Stargate Infinity
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?t ) WHERE { ?n rdf:type ontology:television_program . ?q rdf:type ontology:work . ?q property:fictional_universe_described_in ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:fictional_universe_described_in resource:Stargate_Infinity . ?f rdf:type ontology:work } } . FILTER ( ?t < ?u ) }
[]