Simple Question (Direct)
Simple Question
Q3103529
P106
Q12737077
USER
What do Georges Teissier do for a living ?
(Q3103529,P106,c(Q12737077))
action filter_type
action find
entity Q3103529
relation P106
type Q12737077
['Q3103529', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3103529 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Georges Teissier
action filter_type
action find
entity Georges Teissier
relation occupation
type occupation
['Georges Teissier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Georges_Teissier property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q3126128 Q350979
SYSTEM
geneticist, zoologist
Q3126128 Q350979
(Q3103529,P106,c(Q12737077))
action filter_type
action find
entity Q3103529
relation P106
type Q12737077
[ANSWERS] Georges Teissier do for a living
['Q3103529', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3103529 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
geneticist zoologist
Geneticist and zoologist Georges Teissier do for a living
geneticist zoologist
action filter_type
action find
entity Georges Teissier
relation occupation
type occupation
['Georges Teissier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Georges_Teissier property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3103529
P21
Q290
USER
What is the sex of Georges Teissier ?
(Q3103529,P21,c(Q290))
action filter_type
action find
entity Q3103529
relation P21
type Q290
['Q3103529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3103529 property:P21 ?r . ?r rdf:type ontology:Q290 }
Georges Teissier
action filter_type
action find
entity Georges Teissier
relation gender
type sex
['Georges Teissier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Georges_Teissier property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3103529,P21,c(Q290))
action filter_type
action find
entity Q3103529
relation P21
type Q290
The sex of Georges Teissier is the [ANSWER]
['Q3103529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3103529 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Georges Teissier is the male
male
action filter_type
action find
entity Georges Teissier
relation gender
type sex
['Georges Teissier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Georges_Teissier property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26212058
Q290
USER
And how about Alida De Bie?
(Q26212058,P21,c(Q290))
action filter_type
action find
entity Q26212058
relation P21
type Q290
['Q26212058', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q26212058 property:P21 ?z . ?z rdf:type ontology:Q290 }
Alida De Bie
action filter_type
action find
entity Alida De Bie
relation gender
type sex
['Alida De Bie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Alida_De_Bie property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q26212058,P21,c(Q290))
action filter_type
action find
entity Q26212058
relation P21
type Q290
[ANSWER]
['Q26212058', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q26212058 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Alida De Bie
relation gender
type sex
['Alida De Bie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Alida_De_Bie property:gender ?z . ?z rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q43600
P417
Q502895 Q12737077
USER
How many people are the patron saint of less number of occupations than Matthew the Apostle ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q43600
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P417 ?r . ?r rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?r } . FILTER ( ?t < ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P417 resource:Q43600 . ?c rdf:type ontology:Q12737077 } } }
Matthew the Apostle
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Matthew the Apostle
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:patron_saint ?r . ?r rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?r } . FILTER ( ?t < ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:patron_saint resource:Matthew_the_Apostle . ?c rdf:type ontology:occupation } } }
[]
common name occupation
SYSTEM
317
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q43600
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P417 ?r . ?r rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?r } . FILTER ( ?t < ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P417 resource:Q43600 . ?c rdf:type ontology:Q12737077 } } }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Leo IX Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
317
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Matthew the Apostle
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:patron_saint ?r . ?r rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?r } . FILTER ( ?t < ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:patron_saint resource:Matthew_the_Apostle . ?c rdf:type ontology:occupation } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q324700
P417
Q502895 Q12737077
USER
And also tell me about Urban of Langres?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q324700
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?x ) WHERE { ?c rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 . ?w property:P417 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P417 resource:Q324700 . ?q rdf:type ontology:Q12737077 } } . FILTER ( ?x < ?a ) }
Urban of Langres
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Urban of Langres
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?x ) WHERE { ?c rdf:type ontology:common_name . ?w rdf:type ontology:occupation . ?w property:patron_saint ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:patron_saint resource:Urban_of_Langres . ?q rdf:type ontology:occupation } } . FILTER ( ?x < ?a ) }
[]
common name occupation
SYSTEM
266
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q324700
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?x ) WHERE { ?c rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 . ?w property:P417 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P417 resource:Q324700 . ?q rdf:type ontology:Q12737077 } } . FILTER ( ?x < ?a ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
266
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Urban of Langres
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?x ) WHERE { ?c rdf:type ontology:common_name . ?w rdf:type ontology:occupation . ?w property:patron_saint ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:patron_saint resource:Urban_of_Langres . ?q rdf:type ontology:occupation } } . FILTER ( ?x < ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3126128
P425
Q7991
USER
How many natural sciences have geneticist as the associated fields of occupation ?
(Q3126128,P425,c(Q7991))
action count
action filter_type
action find
entity Q3126128
relation P425
type Q7991
['Q3126128', 'P425', {'concept': 'Q7991'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:Q7991 . resource:Q3126128 property:P425 ?v }
geneticist
action count
action filter_type
action find
entity geneticist
relation field of this occupation
type natural science
['geneticist', 'field of this occupation', {'concept': 'natural science'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:natural_science . resource:geneticist property:field_of_this_occupation ?v }
[]
natural science
SYSTEM
1
Q7162
(Q3126128,P425,c(Q7991))
action count
action filter_type
action find
entity Q3126128
relation P425
type Q7991
[ANSWER]
['Q3126128', 'P425', {'concept': 'Q7991'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:Q7991 . resource:Q3126128 property:P425 ?v }
genetics
1
action count
action filter_type
action find
entity geneticist
relation field of this occupation
type natural science
['geneticist', 'field of this occupation', {'concept': 'natural science'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:natural_science . resource:geneticist property:field_of_this_occupation ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q19610210
P425
Q7991
USER
And what about Candidate of Agricultural Sciences?
(Q19610210,P425,c(Q7991))
action count
action filter_type
action find
entity Q19610210
relation P425
type Q7991
['Q19610210', 'P425', {'concept': 'Q7991'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q19610210 property:P425 ?k . ?k rdf:type ontology:Q7991 }
Candidate of Agricultural Sciences
action count
action filter_type
action find
entity Candidate of Agricultural Sciences
relation field of this occupation
type natural science
['Candidate of Agricultural Sciences', 'field of this occupation', {'concept': 'natural science'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Candidate_of_Agricultural_Sciences property:field_of_this_occupation ?k . ?k rdf:type ontology:natural_science }
[]
natural science
SYSTEM
1
Q3606845
(Q19610210,P425,c(Q7991))
action count
action filter_type
action find
entity Q19610210
relation P425
type Q7991
[ANSWER]
['Q19610210', 'P425', {'concept': 'Q7991'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q19610210 property:P425 ?k . ?k rdf:type ontology:Q7991 }
agricultural science
1
action count
action filter_type
action find
entity Candidate of Agricultural Sciences
relation field of this occupation
type natural science
['Candidate of Agricultural Sciences', 'field of this occupation', {'concept': 'natural science'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Candidate_of_Agricultural_Sciences property:field_of_this_occupation ?k . ?k rdf:type ontology:natural_science }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q21244999
Q7991
USER
And also tell me about forestry scientists?
(Q21244999,P425,c(Q7991))
action count
action filter_type
action find
entity Q21244999
relation P425
type Q7991
['Q21244999', 'P425', {'concept': 'Q7991'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q21244999 property:P425 ?p . ?p rdf:type ontology:Q7991 }
forestry scientists
action count
action filter_type
action find
entity forestry scientists
relation field of this occupation
type natural science
['forestry scientists', 'field of this occupation', {'concept': 'natural science'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:forestry_scientists property:field_of_this_occupation ?p . ?p rdf:type ontology:natural_science }
[]
natural science
SYSTEM
1
(Q21244999,P425,c(Q7991))
action count
action filter_type
action find
entity Q21244999
relation P425
type Q7991
[ANSWER]
['Q21244999', 'P425', {'concept': 'Q7991'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q21244999 property:P425 ?p . ?p rdf:type ontology:Q7991 }
1
action count
action filter_type
action find
entity forestry scientists
relation field of this occupation
type natural science
['forestry scientists', 'field of this occupation', {'concept': 'natural science'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:forestry_scientists property:field_of_this_occupation ?p . ?p rdf:type ontology:natural_science }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21244999 Q1308239
P425
Q58778
USER
How many systems have forestry scientists or buyer as thier associated field of occupation ?
(Q21244999,P425,c(Q58778)) (Q1308239,P425,c(Q58778))
action count
action union
action filter_type
action find
entity Q21244999
relation P425
type Q58778
action filter_type
action find
entity Q1308239
relation P425
type Q58778
['Q21244999', 'P425', {'concept': 'Q58778'}] ['Q1308239', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { VALUES ( ?i ) { ( resource:Q21244999 ) ( resource:Q1308239 ) } . ?i property:P425 ?g }
forestry scientists buyer
action count
action union
action filter_type
action find
entity forestry scientists
relation field of this occupation
type system
action filter_type
action find
entity buyer
relation field of this occupation
type system
['forestry scientists', 'field of this occupation', {'concept': 'system'}] ['buyer', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { VALUES ( ?i ) { ( resource:forestry_scientists ) ( resource:buyer ) } . ?i property:field_of_this_occupation ?g }
[]
system
SYSTEM
2
Q601401 Q720362
(Q21244999,P425,c(Q58778)) (Q1308239,P425,c(Q58778))
action count
action union
action filter_type
action find
entity Q21244999
relation P425
type Q58778
action filter_type
action find
entity Q1308239
relation P425
type Q58778
[ANSWER]
['Q21244999', 'P425', {'concept': 'Q58778'}] ['Q1308239', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { VALUES ( ?i ) { ( resource:Q21244999 ) ( resource:Q1308239 ) } . ?i property:P425 ?g }
trade silviculture
2
action count
action union
action filter_type
action find
entity forestry scientists
relation field of this occupation
type system
action filter_type
action find
entity buyer
relation field of this occupation
type system
['forestry scientists', 'field of this occupation', {'concept': 'system'}] ['buyer', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { VALUES ( ?i ) { ( resource:forestry_scientists ) ( resource:buyer ) } . ?i property:field_of_this_occupation ?g }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P417 ?j . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?f = ?o ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P417 ?r . ?r rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?r } } }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:patron_saint ?j . ?v rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?f = ?o ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:patron_saint ?r . ?r rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?r } } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the names of the patron saint of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P417 ?j . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?f = ?o ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P417 ?r . ?r rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?r } } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the names of the patron saint of min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:patron_saint ?j . ?v rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?f = ?o ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:patron_saint ?r . ?r rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?r } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9682
P748
Q12737077
USER
How many occupations were appointed by Elizabeth II ?
(c(Q12737077),P748,Q9682)
action count
action filter_type
action find_reverse
entity Q9682
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q9682']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P748 resource:Q9682 }
Elizabeth II
action count
action filter_type
action find_reverse
entity Elizabeth II
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Elizabeth II']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:occupation . ?a property:appointed_by resource:Elizabeth_II }
[]
occupation
SYSTEM
27
Q14984399 Q1846384 Q2484309 Q1371091 Q3858507 Q195965 Q25860233 Q464103 Q3315134 Q3315116 Q2636053 Q531471 Q6865995 Q1060844 Q3297079 Q2631987 Q691615 Q111784 Q1369302 Q7444357 Q7444352 Q609884 Q3477307 Q3477306 Q1362216 Q3246797 Q3397406
(c(Q12737077),P748,Q9682)
action count
action filter_type
action find_reverse
entity Q9682
relation P748
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', 'Q9682']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P748 resource:Q9682 }
Secretary of State for Environment, Food and Rural Affairs Secretary of State for Wales Secretary of State for the Home Department Secretary of State for Foreign and Commonwealth Affairs Secretary of State for Business, Energy and Industrial Strategy Governor of Gibraltar Secretary of State for Exiting the European Union Speaker of the House of Commons Minister for Women and Equalities Minister for the Civil Service Leader of the House of Commons Chancellor of the Exchequer Minister for the Cabinet Office Paymaster General Secretary of State for Culture, Media and Sport Attorney General for England and Wales Governor of the Virgin Islands Secretary of State for Scotland Secretary of State for Northern Ireland Secretary of State for Work and Pensions Secretary of State for International Development First Lord of the Treasury Secretary of State for Justice Secretary of State for Education First Minister of Scotland Secretary of State for Transport Secretary of State for Health
27
action count
action filter_type
action find_reverse
entity Elizabeth II
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Elizabeth II']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:occupation . ?a property:appointed_by resource:Elizabeth_II }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q133396
P748
Q12737077
USER
And also tell me about Knesset?
(c(Q12737077),P748,Q133396)
action count
action filter_type
action find_reverse
entity Q133396
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q133396']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P748 resource:Q133396 . ?v rdf:type ontology:Q12737077 }
Knesset
action count
action filter_type
action find_reverse
entity Knesset
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Knesset']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:appointed_by resource:Knesset . ?v rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q327948
(c(Q12737077),P748,Q133396)
action count
action filter_type
action find_reverse
entity Q133396
relation P748
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', 'Q133396']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P748 resource:Q133396 . ?v rdf:type ontology:Q12737077 }
President of Israel
1
action count
action filter_type
action find_reverse
entity Knesset
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Knesset']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:appointed_by resource:Knesset . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15416
USER
Which television programs did max number of people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15416
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?v ) { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15416 . ?w property:P725 ?s } GROUP BY ?w } } . { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?d ) WHERE { ?f property:P725 ?p . ?f rdf:type ontology:Q15416 . ?p rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?d = ?v ) }
action argmax
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?v ) { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:common_name . ?w rdf:type ontology:television_program . ?w property:voice_actor ?s } GROUP BY ?w } } . { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?d ) WHERE { ?f property:voice_actor ?p . ?f rdf:type ontology:television_program . ?p rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?d = ?v ) }
[]
common name television program
Q23558
SYSTEM
House
Q23558
(c(Q15416),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15416
type Q502895
Max number of people did the [ANSWER] the dubbing for
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?v ) { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15416 . ?w property:P725 ?s } GROUP BY ?w } } . { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?d ) WHERE { ?f property:P725 ?p . ?f rdf:type ontology:Q15416 . ?p rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?d = ?v ) }
House
Max number of people did the House the dubbing for
House
action argmax
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?v ) { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:common_name . ?w rdf:type ontology:television_program . ?w property:voice_actor ?s } GROUP BY ?w } } . { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?d ) WHERE { ?f property:voice_actor ?p . ?f rdf:type ontology:television_program . ?p rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?d = ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P725
Q502895
USER
How many people did the dubbing for that television program ?
(Q23558,P725,c(Q502895))
action count
action filter_type
action find
entity Q23558
relation P725
type Q502895
['Q23558', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q23558 property:P725 ?y . ?y rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity House
relation voice actor
type common name
['House', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:House property:voice_actor ?y . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
22
Q3120028 Q1223593 Q2224478 Q118933 Q3387085 Q3369749 Q1901715 Q551289 Q966237 Q15069835 Q3265564 Q2940043 Q1717049 Q110722 Q2942191 Q1369940 Q2158271 Q2392659 Q1373187 Q3090397 Q1744735 Q3338426
(Q23558,P725,c(Q502895))
action count
action filter_type
action find
entity Q23558
relation P725
type Q502895
[ANSWER]
['Q23558', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q23558 property:P725 ?y . ?y rdf:type ontology:Q502895 }
Guillaume Lebon Dietmar Wunder Sarah Riedel Gabrielle Pietermann Pierre Tessier Patrick Osmond Markus Pfeiffer Anja Stadlober Féodor Atkine Victoria Grosbois Lucien Jean-Baptiste Caroline Pascal Sascha Rotermund Julia Kaufmann Cathy Diraison Sabine Arnhold Robert Missler Tanja Dohse Jaron Löwenberg Frédérique Tirmont Klaus-Dieter Klebsch Nessym Guetat
22
action count
action filter_type
action find
entity House
relation voice actor
type common name
['House', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:House property:voice_actor ?y . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q32450
P1441
Q15416 Q6619679 Q95074
USER
How many television programs are more number of fictional humanoids and fictional characters shown in than Pretty Little Liars ?
(c(Q6619679)|c(Q95074),P1441,c(Q15416))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q32450
relation P1441
type Q6619679
type Q95074
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P1441 resource:Q32450 . { { ?i rdf:type ontology:Q95074 } UNION { ?i rdf:type ontology:Q6619679 } } } } . FILTER ( ?n > ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?e WHERE { VALUES ( ?t ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } . ?x rdf:type ?t } GROUP BY ?e } }
Pretty Little Liars
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type television program
type fictional character
action count
action filter_multi_types
action find_reverse
entity Pretty Little Liars
relation present in work
type fictional humanoid
type fictional character
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:present_in_work resource:Pretty_Little_Liars . { { ?i rdf:type ontology:fictional_character } UNION { ?i rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?n > ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?e WHERE { VALUES ( ?t ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } . ?x rdf:type ?t } GROUP BY ?e } }
[]
television program fictional humanoid fictional character
SYSTEM
146
Q1247575 Q640535 Q1324189 Q2128714 Q390076 Q254689 Q23831 Q1971066 Q739780 Q912467 Q82729 Q204228 Q1138359 Q945030 Q4507 Q212807 Q4525 Q1241768 Q253205 Q2744 Q3230279 Q207803 Q1304408 Q1969978 Q426432 Q216792 Q1138000 Q1261578 Q48758 Q965409 Q244803 Q18559016 Q23572 Q27664424 Q153561 Q6084 Q117396 Q180228 Q276071 Q193462 Q757318 Q131758 Q23628 Q223977 Q18517168 Q472309 Q5433034 Q202141 Q237072 Q1145764 Q3815 Q7099650 Q18517186 Q194427 Q478360 Q234386 Q663759 Q79784 Q162371 Q203385 Q6899886 Q2313956 Q326180 Q113700 Q25128 Q1055728 Q171254 Q1247858 Q17175515 Q321423 Q624611 Q1381883 Q168708 Q550238 Q209878 Q17183708 Q83401 Q27732841 Q23567 Q130585 Q201358 Q283393 Q732383 Q185059 Q17278086 Q868835 Q849627 Q908708 Q1248045 Q9357747 Q390405 Q6012162 Q181321 Q461357 Q518589 Q18517177 Q18517179 Q205474 Q11490663 Q589187 Q207375 Q5935 Q526035 Q169074 Q607514 Q1247414 Q494202 Q23673 Q210146 Q4529 Q3577037 Q1111300 Q1585857 Q578623 Q2293 Q189350 Q189068 Q776262 Q80044 Q16943567 Q8539 Q15576983 Q1233919 Q232246 Q23558 Q27732782 Q537911 Q218035 Q165515 Q386042 Q208072 Q276528 Q2085 Q218567 Q1248019 Q1247158 Q584025 Q189267 Q2610941 Q152178 Q1438082 Q1136370 Q438406 Q163851 Q232737 Q56194
(c(Q6619679)|c(Q95074),P1441,c(Q15416))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q32450
relation P1441
type Q6619679
type Q95074
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P1441 resource:Q32450 . { { ?i rdf:type ontology:Q95074 } UNION { ?i rdf:type ontology:Q6619679 } } } } . FILTER ( ?n > ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?e WHERE { VALUES ( ?t ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } . ?x rdf:type ?t } GROUP BY ?e } }
Emmerdale Knots Landing Home and Away Thuis Brothers & Sisters Magnum, P.I. The Office CentoVetrine Oz The Golden Girls The Bold and the Beautiful The Mentalist Royal Pains Coronation Street Friday Night Lights Alias NCIS A Noble Radiance Entourage The X-Files The 100 Lives of Black Jack Savage Bones The Dukes of Hazzard Passions Walker, Texas Ranger The L Word The Middle As the World Turns Psych Eli Stone Ally McBeal Berserk Game of Thrones Autumn Dreams Verbotene Liebe NCIS: Los Angeles CSI: Crime Scene Investigation Smallville 90210 Gilmore Girls According to Jim Desperate Housewives The Sopranos Mad Men Death in a Strange Country Princess of Thieves Family Affairs Criminal Minds Battlestar Galactica Guiding Light Fringe Orange Is the New Black Drawing Conclusions The O.C. The Wire The 4400 Revenge Friends Charmed One Tree Hill Monica's Gang Twelve Angry Men Skins The Avengers Storm of Love Law & Order: Criminal Intent Sons of Anarchy Only Fools and Horses Camera Café Law & Order One Life to Live Plus belle la vie Dallas Melrose Place Rome The 7D Heroes Falling in Love Lost Supernatural The Flintstones Private Practice Yes Minister Days of our Lives Descendants Leverage The Young and the Restless Neighbours Good Times The Absent-Minded Professor Nikita In the Flesh Brookside Dawson's Creek Happy Days About Face A Question of Belief All My Children Hissatsu series Sliders ER Numb3rs The Andy Griffith Show 10 Things I Hate About You EastEnders Law & Order: Trial by Jury Shortland Street Once Upon a Time Babylon 5 Veronica Mars The West Wing 8 Simple Rules Hollyoaks Dark Angel Chuck 30 Rock Monk Goede Tijden, Slechte Tijden Prison Break Younger The Big Bang Theory The Sniffer Doctors Cowboy Bebop House By its Cover Agents of S.H.I.E.L.D. Parks and Recreation 101 Dalmatians: The Series 12 Angry Men That '70s Show Ugly Betty Twin Peaks Law & Order: Special Victims Unit Alice Homicide: Life on the Street Dynasty Two and a Half Men Holby City Glee Monarch of the Glen General Hospital Grey's Anatomy 10-8: Officers on Duty The Walking Dead 24
146
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type television program
type fictional character
action count
action filter_multi_types
action find_reverse
entity Pretty Little Liars
relation present in work
type fictional humanoid
type fictional character
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:present_in_work resource:Pretty_Little_Liars . { { ?i rdf:type ontology:fictional_character } UNION { ?i rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?n > ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?e WHERE { VALUES ( ?t ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } . ?x rdf:type ?t } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q386880
P1441
Q15416 Q6619679 Q95074
USER
And how about Castle?
(c(Q6619679)|c(Q95074),P1441,c(Q15416))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q386880
relation P1441
type Q6619679
type Q95074
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P1441 resource:Q386880 . { { ?w rdf:type ontology:Q6619679 } UNION { ?w rdf:type ontology:Q95074 } } } } . FILTER ( ?p > ?i ) . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?m . VALUES ( ?m ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } } GROUP BY ?q } }
Castle
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type television program
type fictional character
action count
action filter_multi_types
action find_reverse
entity Castle
relation present in work
type fictional humanoid
type fictional character
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:present_in_work resource:Castle . { { ?w rdf:type ontology:fictional_humanoid } UNION { ?w rdf:type ontology:fictional_character } } } } . FILTER ( ?p > ?i ) . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?m . VALUES ( ?m ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } } GROUP BY ?q } }
[]
television program fictional humanoid fictional character
SYSTEM
172
Q1247575 Q640535 Q1324189 Q2128714 Q390076 Q425628 Q254689 Q23831 Q1971066 Q739780 Q445816 Q912467 Q82729 Q10913555 Q204228 Q1138359 Q945030 Q4507 Q212807 Q245996 Q4525 Q1241768 Q253205 Q18553975 Q2744 Q3230279 Q207803 Q1304408 Q278375 Q32450 Q1969978 Q426432 Q216792 Q1138000 Q22272 Q1261578 Q48758 Q965409 Q244803 Q18559016 Q23577 Q23572 Q27664424 Q153561 Q6084 Q1030972 Q117396 Q180228 Q276071 Q594402 Q193462 Q757318 Q131758 Q23628 Q223977 Q18517168 Q1525645 Q472309 Q5433034 Q202141 Q237072 Q189411 Q1145764 Q3815 Q212731 Q7099650 Q18517186 Q2275664 Q194427 Q478360 Q234386 Q663759 Q79784 Q162371 Q203385 Q6899886 Q2313956 Q326180 Q113700 Q25128 Q1055728 Q171254 Q1247858 Q17175515 Q321423 Q624611 Q1381883 Q168708 Q550238 Q209878 Q17183708 Q83401 Q27732841 Q23567 Q130585 Q201358 Q283393 Q732383 Q185059 Q17278086 Q868835 Q849627 Q908708 Q1248045 Q9357747 Q390405 Q6012162 Q181321 Q461357 Q518589 Q18517177 Q18517179 Q205474 Q11490663 Q589187 Q217246 Q207375 Q5935 Q526035 Q169074 Q607514 Q1247414 Q494202 Q23673 Q210146 Q4529 Q3577037 Q1111300 Q1585857 Q578623 Q19570 Q2293 Q199853 Q189350 Q189068 Q776262 Q80044 Q16943567 Q8539 Q15576983 Q1233919 Q232246 Q23558 Q27732782 Q2047663 Q537911 Q218035 Q165515 Q386042 Q12751206 Q208072 Q19011 Q276528 Q2085 Q117590 Q699760 Q218567 Q1248019 Q1247158 Q584025 Q189267 Q210257 Q2610941 Q152178 Q126631 Q5306461 Q1438082 Q1136370 Q438406 Q163851 Q232737 Q56194
(c(Q6619679)|c(Q95074),P1441,c(Q15416))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q386880
relation P1441
type Q6619679
type Q95074
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P1441 resource:Q386880 . { { ?w rdf:type ontology:Q6619679 } UNION { ?w rdf:type ontology:Q95074 } } } } . FILTER ( ?p > ?i ) . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?m . VALUES ( ?m ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } } GROUP BY ?q } }
Emmerdale Knots Landing Home and Away Thuis Brothers & Sisters 'Allo 'Allo! Magnum, P.I. The Office CentoVetrine Oz Transporter: The Series The Golden Girls The Bold and the Beautiful The Melancholy of Haruhi Suzumiya The Mentalist Royal Pains Coronation Street Friday Night Lights Alias Three's Company NCIS A Noble Radiance Entourage Soul Eater The X-Files The 100 Lives of Black Jack Savage Bones The Dukes of Hazzard A.N.T. Farm Pretty Little Liars Passions Walker, Texas Ranger The L Word The Middle Santa Barbara As the World Turns Psych Eli Stone Ally McBeal Berserk Dexter Game of Thrones Autumn Dreams Verbotene Liebe NCIS: Los Angeles Sunset Beach CSI: Crime Scene Investigation Smallville 90210 Casino Royale Gilmore Girls According to Jim Desperate Housewives The Sopranos Mad Men Death in a Strange Country Scandal Princess of Thieves Family Affairs Criminal Minds Battlestar Galactica CSI: Miami Guiding Light Fringe Fawlty Towers Orange Is the New Black Drawing Conclusions Kim Possible: A Sitch in Time The O.C. The Wire The 4400 Revenge Friends Charmed One Tree Hill Monica's Gang Twelve Angry Men Skins The Avengers Storm of Love Law & Order: Criminal Intent Sons of Anarchy Only Fools and Horses Camera Café Law & Order One Life to Live Plus belle la vie Dallas Melrose Place Rome The 7D Heroes Falling in Love Lost Supernatural The Flintstones Private Practice Yes Minister Days of our Lives Descendants Leverage The Young and the Restless Neighbours Good Times The Absent-Minded Professor Nikita In the Flesh Brookside Dawson's Creek Happy Days About Face A Question of Belief All My Children Hissatsu series Sliders The Suite Life of Zack & Cody ER Numb3rs The Andy Griffith Show 10 Things I Hate About You EastEnders Law & Order: Trial by Jury Shortland Street Once Upon a Time Babylon 5 Veronica Mars The West Wing 8 Simple Rules Hollyoaks Dark Angel The Good Wife Chuck Gossip Girl 30 Rock Monk Goede Tijden, Slechte Tijden Prison Break Younger The Big Bang Theory The Sniffer Doctors Cowboy Bebop House By its Cover Na dobre i na złe Agents of S.H.I.E.L.D. Parks and Recreation 101 Dalmatians: The Series 12 Angry Men Državni posao That '70s Show Aaron Stone Ugly Betty Twin Peaks Beverly Hills, 90210 Saiyuki Law & Order: Special Victims Unit Alice Homicide: Life on the Street Dynasty Two and a Half Men MacGyver Holby City Glee Hannah Montana Dream Team Monarch of the Glen General Hospital Grey's Anatomy 10-8: Officers on Duty The Walking Dead 24
172
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type television program
type fictional character
action count
action filter_multi_types
action find_reverse
entity Castle
relation present in work
type fictional humanoid
type fictional character
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:present_in_work resource:Castle . { { ?w rdf:type ontology:fictional_humanoid } UNION { ?w rdf:type ontology:fictional_character } } } } . FILTER ( ?p > ?i ) . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?m . VALUES ( ?m ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } } GROUP BY ?q } }
[]