Simple Question (Direct)
Simple Question
Q19354545
P25
Q502895
USER
Which person was the mother of Ángela Suárez de Argudín ?
(Q19354545,P25,c(Q502895))
action filter_type
action find
entity Q19354545
relation P25
type Q502895
['Q19354545', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q19354545 property:P25 ?i . ?i rdf:type ontology:Q502895 }
Ángela Suárez de Argudín
action filter_type
action find
entity Ángela Suárez de Argudín
relation mother
type common name
['Ángela Suárez de Argudín', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ángela_Suárez_de_Argudín property:mother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q19354662
SYSTEM
María Teresa Ramírez de Arellano y Fernández Saliellas
Q19354662
(Q19354545,P25,c(Q502895))
action filter_type
action find
entity Q19354545
relation P25
type Q502895
[ANSWER] was the mother of Ángela Suárez de Argudín
['Q19354545', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q19354545 property:P25 ?i . ?i rdf:type ontology:Q502895 }
María Teresa Ramírez de Arellano y Fernández Saliellas
María Teresa Ramírez de Arellano y Fernández Saliellas was the mother of Ángela Suárez de Argudín
María Teresa Ramírez de Arellano y Fernández Saliellas
action filter_type
action find
entity Ángela Suárez de Argudín
relation mother
type common name
['Ángela Suárez de Argudín', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ángela_Suárez_de_Argudín property:mother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19354662
P40
Q502895
USER
Which person is an offspring of that one ?
(Q19354662,P40,c(Q502895))
action filter_type
action find
entity Q19354662
relation P40
type Q502895
['Q19354662', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q19354662 property:P40 ?w . ?w rdf:type ontology:Q502895 }
María Teresa Ramírez de Arellano y Fernández Saliellas
action filter_type
action find
entity María Teresa Ramírez de Arellano y Fernández Saliellas
relation child
type common name
['María Teresa Ramírez de Arellano y Fernández Saliellas', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:María_Teresa_Ramírez_de_Arellano_y_Fernández_Saliellas property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q19354545
SYSTEM
Ángela Suárez de Argudín
Q19354545
(Q19354662,P40,c(Q502895))
action filter_type
action find
entity Q19354662
relation P40
type Q502895
[ANSWER] is an offspring of that one
['Q19354662', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q19354662 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Ángela Suárez de Argudín
Ángela Suárez de Argudín is an offspring of that one
Ángela Suárez de Argudín
action filter_type
action find
entity María Teresa Ramírez de Arellano y Fernández Saliellas
relation child
type common name
['María Teresa Ramírez de Arellano y Fernández Saliellas', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:María_Teresa_Ramírez_de_Arellano_y_Fernández_Saliellas property:child ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19354545
P22
Q502895
USER
Who was the father of that one ?
(Q19354545,P22,c(Q502895))
action filter_type
action find
entity Q19354545
relation P22
type Q502895
['Q19354545', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q19354545 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Ángela Suárez de Argudín
action filter_type
action find
entity Ángela Suárez de Argudín
relation father
type common name
['Ángela Suárez de Argudín', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ángela_Suárez_de_Argudín property:father ?o . ?o rdf:type ontology:common_name }
[]
common name
Q19354653
SYSTEM
José Antonio Suárez de Argudín y García Barrosa
Q19354653
(Q19354545,P22,c(Q502895))
action filter_type
action find
entity Q19354545
relation P22
type Q502895
The father of that one was [ANSWER]
['Q19354545', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q19354545 property:P22 ?o . ?o rdf:type ontology:Q502895 }
José Antonio Suárez de Argudín y García Barrosa
The father of that one was José Antonio Suárez de Argudín y García Barrosa
José Antonio Suárez de Argudín y García Barrosa
action filter_type
action find
entity Ángela Suárez de Argudín
relation father
type common name
['Ángela Suárez de Argudín', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ángela_Suárez_de_Argudín property:father ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P26
Q502895
USER
How many people are the spouses of that person ?
(Q19354653,P26,c(Q502895))
action count
action filter_type
action find
entity Q19354653
relation P26
type Q502895
['Q19354653', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q19354653 property:P26 ?b . ?b rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity José Antonio Suárez de Argudín y García Barrosa
relation spouse
type common name
['José Antonio Suárez de Argudín y García Barrosa', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:José_Antonio_Suárez_de_Argudín_y_García_Barrosa property:spouse ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q19354662
(Q19354653,P26,c(Q502895))
action count
action filter_type
action find
entity Q19354653
relation P26
type Q502895
[ANSWER]
['Q19354653', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q19354653 property:P26 ?b . ?b rdf:type ontology:Q502895 }
María Teresa Ramírez de Arellano y Fernández Saliellas
1
action count
action filter_type
action find
entity José Antonio Suárez de Argudín y García Barrosa
relation spouse
type common name
['José Antonio Suárez de Argudín y García Barrosa', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:José_Antonio_Suárez_de_Argudín_y_García_Barrosa property:spouse ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q19354653
P40
Q502895
USER
How many people are an offsprings of José Antonio Suárez de Argudín y García Barrosa ?
(Q19354653,P40,c(Q502895))
action count
action filter_type
action find
entity Q19354653
relation P40
type Q502895
['Q19354653', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q19354653 property:P40 ?z . ?z rdf:type ontology:Q502895 }
José Antonio Suárez de Argudín y García Barrosa
action count
action filter_type
action find
entity José Antonio Suárez de Argudín y García Barrosa
relation child
type common name
['José Antonio Suárez de Argudín y García Barrosa', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:José_Antonio_Suárez_de_Argudín_y_García_Barrosa property:child ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q19354545
(Q19354653,P40,c(Q502895))
action count
action filter_type
action find
entity Q19354653
relation P40
type Q502895
[ANSWER]
['Q19354653', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q19354653 property:P40 ?z . ?z rdf:type ontology:Q502895 }
Ángela Suárez de Argudín
1
action count
action filter_type
action find
entity José Antonio Suárez de Argudín y García Barrosa
relation child
type common name
['José Antonio Suárez de Argudín y García Barrosa', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:José_Antonio_Suárez_de_Argudín_y_García_Barrosa property:child ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q234703
P40
Q502895
USER
And what about Pauline Therese of Württemberg?
(Q234703,P40,c(Q502895))
action count
action filter_type
action find
entity Q234703
relation P40
type Q502895
['Q234703', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r rdf:type ontology:Q502895 . resource:Q234703 property:P40 ?r }
Pauline Therese of Württemberg
action count
action filter_type
action find
entity Pauline Therese of Württemberg
relation child
type common name
['Pauline Therese of Württemberg', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r rdf:type ontology:common_name . resource:Pauline_Therese_of_Württemberg property:child ?r }
[]
common name
SYSTEM
3
Q57440 Q632966 Q2230153
(Q234703,P40,c(Q502895))
action count
action filter_type
action find
entity Q234703
relation P40
type Q502895
[ANSWER]
['Q234703', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r rdf:type ontology:Q502895 . resource:Q234703 property:P40 ?r }
Charles I of Württemberg Princess Augusta of Württemberg Princess Catherine of Württemberg
3
action count
action filter_type
action find
entity Pauline Therese of Württemberg
relation child
type common name
['Pauline Therese of Württemberg', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r rdf:type ontology:common_name . resource:Pauline_Therese_of_Württemberg property:child ?r }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6045901
Q502895
USER
And what about Folke Petrén?
(Q6045901,P40,c(Q502895))
action count
action filter_type
action find
entity Q6045901
relation P40
type Q502895
['Q6045901', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q6045901 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Folke Petrén
action count
action filter_type
action find
entity Folke Petrén
relation child
type common name
['Folke Petrén', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Folke_Petrén property:child ?a . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q6045901,P40,c(Q502895))
action count
action filter_type
action find
entity Q6045901
relation P40
type Q502895
[ANSWER]
['Q6045901', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q6045901 property:P40 ?a . ?a rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Folke Petrén
relation child
type common name
['Folke Petrén', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Folke_Petrén property:child ?a . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q24577318
P1441
Q838948 Q15961987 Q502895
USER
How many people appear in lesser number of works of art and television genres than Sara Katende ?
(c(Q502895),P1441,c(Q838948)|c(Q15961987))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q24577318
relation P1441
type Q838948
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15961987 ) } . ?i rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q24577318 property:P1441 ?k . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q15961987 } } } } . FILTER ( ?b < ?o ) }
Sara Katende
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Sara Katende
relation present in work
type work of art
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_genre ) } . ?i rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Sara_Katende property:present_in_work ?k . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:television_genre } } } } . FILTER ( ?b < ?o ) }
[]
work of art television genre common name
SYSTEM
246
Q41863 Q603233 Q660359 Q2447493 Q80048 Q529984 Q1143157 Q4430779 Q1341397 Q249381 Q232525 Q194064 Q240258 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q4057937 Q214648 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q18699312 Q3858588 Q4154984 Q4006447 Q363623 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q1938388 Q2040793 Q673959 Q185801 Q6239779 Q125102 Q34428 Q2033697 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q311556 Q294192 Q560559 Q807236 Q1867479 Q134646 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3778878 Q3774081 Q1403627 Q1133523 Q1348720 Q3591188 Q716237 Q2264125 Q608841 Q1133337 Q41370 Q200637 Q2124082 Q3259530 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q315276 Q946939 Q888890 Q3148218 Q515828 Q1771358 Q923021 Q272277 Q460763 Q205372 Q715547 Q717814 Q3745274 Q3867479 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q1093885 Q156328 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q3010053 Q550255 Q889694 Q1851709 Q8027483 Q816397 Q164889 Q27621044 Q1380878 Q16879711 Q366070 Q2038223 Q1377025 Q2276030 Q264699 Q313415 Q270438 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q1341779 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q2304442 Q8581 Q2651263 Q1542853 Q209793 Q1808889 Q587893 Q2685920 Q256076 Q184273 Q107626 Q205365 Q477527 Q1091513 Q2601106 Q18699310 Q62788 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q2296791 Q262766 Q1947936 Q225198 Q211396 Q313228 Q2075711 Q312311 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q169329 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q302322 Q308320 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q1030008 Q2487300 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q17457 Q786748 Q229702 Q574641 Q2590260 Q2047062 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q838948)|c(Q15961987))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q24577318
relation P1441
type Q838948
type Q15961987
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15961987 ) } . ?i rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q24577318 property:P1441 ?k . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q15961987 } } } } . FILTER ( ?b < ?o ) }
Halga Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Jair Immanuel Michal Markandeya Theodelinda Ezekiel Olof Björnsson Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Adoniram Samson Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Jacob Mino da San Quirico Kai Darab Urianus Cassivellaunus Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Miriam Reu Leil Mikhail Kutuzov John Hooper Necho II Philip Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Allectus Guy of Lusignan Constans II Barak Jago of Britain Boniface VIII Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Guglielmo Borsiere Gracianus Municeps Hrethel Jephthah Guy de Montfort, Count of Nola Erik Refilsson Song Jiang Bladud Arvirargus Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Loretta Jones Noah Judith Wealhþeow Heardred Gurgustius Agilulf Phut Nahor Ignacy Przybyszewski Tasciovanus Salomon Gorboduc Bathsheba Benjamin Absalom Mandubracius Hadadezer Filippo Minutolo Musciatto Franzesi Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Salammbô Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Hathi Manasseh of Judah Heoroweard Islamic views on Abraham Porrex I Nahor Daniel Céleste de Chateaubriand J. William Fulbright Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Manfred, King of Sicily Davy Brown Vortimer Sage Animandaya George William Russell Amminadab Bharata Archmail Wil Wheaton Asa of Judah Charles of Valois Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Kai Lohrasp Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Buonamico Buffalmacco Jehoahaz of Judah Authari Nadabe Coel Hen Saladin Trahern Alphaeus Constantine III Kimarcus Sisillius II Bledudo Cunedagius Zedekiah Seth Cain Amram Son of Gorbonianus Rukmi Matthan Jethro Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli Molly Bloom Junia Beldgabred Belshazzar Magnus Maximus Josiah Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Conrad of Montferrat Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Calandrino Abdon Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Tamar Cunedda Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Donald Knuth Pedro González de Mendoza Ham Balaam Ahijah the Shilonite Marius of Britain Baruch ben Neriah John of Procida Judah Amaziah of Judah
246
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Sara Katende
relation present in work
type work of art
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_genre ) } . ?i rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Sara_Katende property:present_in_work ?k . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:television_genre } } } } . FILTER ( ?b < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q9181
P1441
Q838948 Q15961987 Q502895
USER
And how about Abraham?
(c(Q502895),P1441,c(Q838948)|c(Q15961987))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q9181
relation P1441
type Q838948
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15961987 ) } . ?s rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q9181 property:P1441 ?y . { { ?y rdf:type ontology:Q838948 } UNION { ?y rdf:type ontology:Q15961987 } } } } . FILTER ( ?o < ?k ) }
Abraham
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Abraham
relation present in work
type work of art
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_genre ) } . ?s rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Abraham property:present_in_work ?y . { { ?y rdf:type ontology:work_of_art } UNION { ?y rdf:type ontology:television_genre } } } } . FILTER ( ?o < ?k ) }
[]
work of art television genre common name
SYSTEM
284
Q41863 Q603233 Q660359 Q2447493 Q80048 Q529984 Q1143157 Q4430779 Q1341397 Q249381 Q232525 Q194064 Q240258 Q24579400 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q24624067 Q4057937 Q214648 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q18699312 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q24577230 Q1938388 Q2040793 Q494455 Q673959 Q185801 Q6239779 Q125102 Q34428 Q2033697 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q311556 Q1353836 Q294192 Q19975705 Q560559 Q807236 Q25885222 Q1867479 Q134646 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3778878 Q3774081 Q1403627 Q1133523 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q1133337 Q41370 Q200637 Q2124082 Q3259530 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q315276 Q946939 Q888890 Q3148218 Q24577318 Q515828 Q24625326 Q1771358 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q3745274 Q3867479 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q1093885 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q3010053 Q550255 Q889694 Q1851709 Q8027483 Q816397 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q2038223 Q1377025 Q2276030 Q264699 Q313415 Q270438 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q1341779 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q2304442 Q8581 Q2651263 Q1542853 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q184273 Q107626 Q205365 Q32295 Q24633126 Q477527 Q1091513 Q3658171 Q2601106 Q18699310 Q62788 Q4804479 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q24623790 Q2296791 Q200947 Q24083251 Q262766 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q312311 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q169329 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q302322 Q308320 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q1030008 Q26858995 Q2487300 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q838948)|c(Q15961987))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q9181
relation P1441
type Q838948
type Q15961987
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15961987 ) } . ?s rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q9181 property:P1441 ?y . { { ?y rdf:type ontology:Q838948 } UNION { ?y rdf:type ontology:Q15961987 } } } } . FILTER ( ?o < ?k ) }
Halga Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Jair Immanuel Michal Markandeya Theodelinda Ezekiel Olof Björnsson Jebidiah Farnsworth Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Bea Hansen Adoniram Samson Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Jacob Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Mikhail Kutuzov John Hooper Necho II Philip Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Guy of Lusignan Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain Boniface VIII Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Guglielmo Borsiere Gracianus Municeps Hrethel Jephthah Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Loretta Jones Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Agilulf Phut Nahor Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Salomon Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Filippo Minutolo Musciatto Franzesi Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Salammbô Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Hathi Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel Céleste de Chateaubriand J. William Fulbright Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Amminadab Bharata Archmail Wil Wheaton Asa of Judah Charles of Valois Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Kai Lohrasp Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Buonamico Buffalmacco Jehoahaz of Judah Authari Nadabe Coel Hen Saladin Trahern Alphaeus Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Zedekiah Seth Cain Michael J. Massimino Donald Bangs Amram Son of Gorbonianus Phiona Mutesi Rukmi Matthan Jethro Ash Vasudevan Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Junia Beldgabred Belshazzar Magnus Maximus Elizabeth Ham Josiah Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Conrad of Montferrat Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Calandrino Abdon Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Tamar Aloysius Kyazze Cunedda Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Ham Balaam Hope Katende Ahijah the Shilonite Marius of Britain Baruch ben Neriah John of Procida Judah Amaziah of Judah
284
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Abraham
relation present in work
type work of art
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_genre ) } . ?s rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Abraham property:present_in_work ?y . { { ?y rdf:type ontology:work_of_art } UNION { ?y rdf:type ontology:television_genre } } } } . FILTER ( ?o < ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q19354545
P40
Q502895
USER
How many people are a successors of Ángela Suárez de Argudín ?
(Q19354545,P40,c(Q502895))
action count
action filter_type
action find
entity Q19354545
relation P40
type Q502895
['Q19354545', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q19354545 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Ángela Suárez de Argudín
action count
action filter_type
action find
entity Ángela Suárez de Argudín
relation child
type common name
['Ángela Suárez de Argudín', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Ángela_Suárez_de_Argudín property:child ?l . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q19354595 Q19354562
(Q19354545,P40,c(Q502895))
action count
action filter_type
action find
entity Q19354545
relation P40
type Q502895
[ANSWER]
['Q19354545', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q19354545 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Gregorio Sáenz de Heredia y Suárez Argudín Casilda Sáenz de Heredia
2
action count
action filter_type
action find
entity Ángela Suárez de Argudín
relation child
type common name
['Ángela Suárez de Argudín', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Ángela_Suárez_de_Argudín property:child ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q43895
P40
Q502895
USER
And how about Henry Thynne, 3rd Marquess of Bath?
(Q43895,P40,c(Q502895))
action count
action filter_type
action find
entity Q43895
relation P40
type Q502895
['Q43895', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q43895 property:P40 ?j }
Henry Thynne, 3rd Marquess of Bath
action count
action filter_type
action find
entity Henry Thynne, 3rd Marquess of Bath
relation child
type common name
['Henry Thynne, 3rd Marquess of Bath', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j rdf:type ontology:common_name . resource:Henry_Thynne,_3rd_Marquess_of_Bath property:child ?j }
[]
common name
SYSTEM
2
Q6679354 Q43902
(Q43895,P40,c(Q502895))
action count
action filter_type
action find
entity Q43895
relation P40
type Q502895
[ANSWER]
['Q43895', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q43895 property:P40 ?j }
Lord Henry Thynne John Thynne, 4th Marquess of Bath
2
action count
action filter_type
action find
entity Henry Thynne, 3rd Marquess of Bath
relation child
type common name
['Henry Thynne, 3rd Marquess of Bath', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j rdf:type ontology:common_name . resource:Henry_Thynne,_3rd_Marquess_of_Bath property:child ?j }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q442060
Q502895
USER
And also tell me about Henry IX of Lubin?
(Q442060,P40,c(Q502895))
action count
action filter_type
action find
entity Q442060
relation P40
type Q502895
['Q442060', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:Q502895 . resource:Q442060 property:P40 ?m }
Henry IX of Lubin
action count
action filter_type
action find
entity Henry IX of Lubin
relation child
type common name
['Henry IX of Lubin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:common_name . resource:Henry_IX_of_Lubin property:child ?m }
[]
common name
SYSTEM
3
(Q442060,P40,c(Q502895))
action count
action filter_type
action find
entity Q442060
relation P40
type Q502895
[ANSWER]
['Q442060', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:Q502895 . resource:Q442060 property:P40 ?m }
3
action count
action filter_type
action find
entity Henry IX of Lubin
relation child
type common name
['Henry IX of Lubin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:common_name . resource:Henry_IX_of_Lubin property:child ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q24633210
P1441
Q15961987 Q2342494 Q502895
USER
How many people are from the works of greater number of television genres or collectables than George "Tiny" Myers ?
(c(Q502895),P1441,c(Q15961987)|c(Q2342494))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q24633210
relation P1441
type Q15961987
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q15961987 ) } . ?z rdf:type ?s } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q24633210 property:P1441 ?a . { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15961987 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?f > ?n ) }
George "Tiny" Myers
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television genre
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity George "Tiny" Myers
relation present in work
type television genre
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:television_genre ) } . ?z rdf:type ?s } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:George_"Tiny"_Myers property:present_in_work ?a . { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:television_genre ) ( ontology:collectable ) } } } } . FILTER ( ?f > ?n ) }
[]
television genre collectable common name
SYSTEM
44
Q660359 Q232525 Q160116 Q785349 Q3858588 Q4154984 Q185801 Q6239779 Q34428 Q294192 Q134646 Q9077 Q3778878 Q1348720 Q716237 Q41370 Q2124082 Q315276 Q3148218 Q3745274 Q3867479 Q19348839 Q1093885 Q3010053 Q164889 Q27621044 Q366070 Q270438 Q1341779 Q37085 Q972487 Q313395 Q8581 Q32295 Q2296791 Q9181 Q312311 Q169329 Q302322 Q3761044 Q76721 Q283466 Q9441 Q1227361
(c(Q502895),P1441,c(Q15961987)|c(Q2342494))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q24633210
relation P1441
type Q15961987
type Q2342494
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q15961987 ) } . ?z rdf:type ?s } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q24633210 property:P1441 ?a . { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15961987 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?f > ?n ) }
Cecco Angiolieri Theodelinda Alexander III Cangrande I della Scala Mino da San Quirico Kai Darab Mikhail Kutuzov John Hooper Philip Guy of Lusignan Boniface VIII Moses Guglielmo Borsiere Guy de Montfort, Count of Nola Song Jiang David Azzo VIII d'Este, Marquis of Ferrara Agilulf Ignacy Przybyszewski Filippo Minutolo Musciatto Franzesi Salammbô Hathi Céleste de Chateaubriand Manfred, King of Sicily Davy Brown George William Russell Charles of Valois Kai Lohrasp Solomon Buonamico Buffalmacco Authari Saladin Michael J. Massimino Molly Bloom Abraham Peter III of Aragon Conrad of Montferrat Calandrino Geri Spini Godfrey of Bouillon Roger of Lauria Gautama Buddha John of Procida
44
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television genre
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity George "Tiny" Myers
relation present in work
type television genre
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:television_genre ) } . ?z rdf:type ?s } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:George_"Tiny"_Myers property:present_in_work ?a . { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:television_genre ) ( ontology:collectable ) } } } } . FILTER ( ?f > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q9441
P1441
Q15961987 Q2342494 Q502895
USER
And how about Gautama Buddha?
(c(Q502895),P1441,c(Q15961987)|c(Q2342494))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q9441
relation P1441
type Q15961987
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15961987 ) ( ontology:Q2342494 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { { ?p rdf:type ontology:Q15961987 } UNION { ?p rdf:type ontology:Q2342494 } } . resource:Q9441 property:P1441 ?p } } . FILTER ( ?k > ?m ) }
Gautama Buddha
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television genre
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Gautama Buddha
relation present in work
type television genre
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:television_genre ) ( ontology:collectable ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { { ?p rdf:type ontology:television_genre } UNION { ?p rdf:type ontology:collectable } } . resource:Gautama_Buddha property:present_in_work ?p } } . FILTER ( ?k > ?m ) }
[]
television genre collectable common name
SYSTEM
2
Q37085 Q9181
(c(Q502895),P1441,c(Q15961987)|c(Q2342494))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q9441
relation P1441
type Q15961987
type Q2342494
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15961987 ) ( ontology:Q2342494 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { { ?p rdf:type ontology:Q15961987 } UNION { ?p rdf:type ontology:Q2342494 } } . resource:Q9441 property:P1441 ?p } } . FILTER ( ?k > ?m ) }
Solomon Abraham
2
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television genre
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Gautama Buddha
relation present in work
type television genre
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:television_genre ) ( ontology:collectable ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { { ?p rdf:type ontology:television_genre } UNION { ?p rdf:type ontology:collectable } } . resource:Gautama_Buddha property:present_in_work ?p } } . FILTER ( ?k > ?m ) }
[]