Simple Question (Direct)
Simple Question
Q16239814
P39
Q12737077
USER
What were the positions held by Simon Harcourt ?
(Q16239814,P39,c(Q12737077))
action filter_type
action find
entity Q16239814
relation P39
type Q12737077
['Q16239814', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q16239814 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Simon Harcourt
action filter_type
action find
entity Simon Harcourt
relation position held
type occupation
['Simon Harcourt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Simon_Harcourt property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q18018860 Q18015642
SYSTEM
Member of Parliament in the Parliament of England, Member of Parliament in the Parliament of Great Britain
Q18018860 Q18015642
(Q16239814,P39,c(Q12737077))
action filter_type
action find
entity Q16239814
relation P39
type Q12737077
The positions held by Simon Harcourt were [ANSWERS]
['Q16239814', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q16239814 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of England Member of Parliament in the Parliament of Great Britain
The positions held by Simon Harcourt were Member of Parliament in the Parliament of England and Member of Parliament in the Parliament of Great Britain
Member of Parliament in the Parliament of England Member of Parliament in the Parliament of Great Britain
action filter_type
action find
entity Simon Harcourt
relation position held
type occupation
['Simon Harcourt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Simon_Harcourt property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16239814
P106
Q12737077
USER
What does Simon Harcourt do for a living ?
(Q16239814,P106,c(Q12737077))
action filter_type
action find
entity Q16239814
relation P106
type Q12737077
['Q16239814', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q16239814 property:P106 ?v }
Simon Harcourt
action filter_type
action find
entity Simon Harcourt
relation occupation
type occupation
['Simon Harcourt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Simon_Harcourt property:occupation ?v }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16239814,P106,c(Q12737077))
action filter_type
action find
entity Q16239814
relation P106
type Q12737077
Simon Harcourt does a [ANSWER] for a living
['Q16239814', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q16239814 property:P106 ?v }
politician
Simon Harcourt does a politician for a living
politician
action filter_type
action find
entity Simon Harcourt
relation occupation
type occupation
['Simon Harcourt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Simon_Harcourt property:occupation ?v }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1270991
P417
Q502895 Q12737077
USER
How many people are the patron saint of around the same number of occupations as Eugenius of Carthage ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1270991
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P417 ?q . ?q rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q1270991 property:P417 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?a = ?b ) }
Eugenius of Carthage
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Eugenius of Carthage
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:patron_saint ?q . ?q rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Eugenius_of_Carthage property:patron_saint ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?a = ?b ) }
[]
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 approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1270991
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P417 ?q . ?q rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q1270991 property:P417 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?a = ?b ) }
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 approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Eugenius of Carthage
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:patron_saint ?q . ?q rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Eugenius_of_Carthage property:patron_saint ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?a = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q232453
P417
Q502895 Q12737077
USER
And what about Martha?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q232453
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q232453 property:P417 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?m = ?p ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 . ?w property:P417 ?l } GROUP BY ?l } }
Martha
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Martha
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Martha property:patron_saint ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?m = ?p ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l rdf:type ontology:common_name . ?w rdf:type ontology:occupation . ?w property:patron_saint ?l } GROUP BY ?l } }
[]
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 approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q232453
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q232453 property:P417 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?m = ?p ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 . ?w property:P417 ?l } GROUP BY ?l } }
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 approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Martha
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Martha property:patron_saint ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?m = ?p ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l rdf:type ontology:common_name . ?w rdf:type ontology:occupation . ?w property:patron_saint ?l } GROUP BY ?l } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q895526 Q1752346 Q12737077
USER
Which occupations are appointed by max number of authority organs and assemblies ?
(c(Q12737077),P748,c(Q895526)|c(Q1752346))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?g ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?d ) WHERE { { ?n property:P748 ?e . ?n rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q895526 } UNION { ?n property:P748 ?e . ?n rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q1752346 } } GROUP BY ?n } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?o ) WHERE { { ?a property:P748 ?c . ?a rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q1752346 } UNION { ?a property:P748 ?c . ?a rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q895526 } } GROUP BY ?a } }
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?g ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?d ) WHERE { { ?n property:appointed_by ?e . ?n rdf:type ontology:occupation . ?e rdf:type ontology:authority_organ } UNION { ?n property:appointed_by ?e . ?n rdf:type ontology:occupation . ?e rdf:type ontology:assembly } } GROUP BY ?n } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?o ) WHERE { { ?a property:appointed_by ?c . ?a rdf:type ontology:occupation . ?c rdf:type ontology:assembly } UNION { ?a property:appointed_by ?c . ?a rdf:type ontology:occupation . ?c rdf:type ontology:authority_organ } } GROUP BY ?a } }
[]
authority organ assembly occupation
Q25863345 Q842386 Q967750
SYSTEM
Secretary of State for International Trade, Prime Minister of Russia, United States Secretary of Labor
Q2666591 Q1072417 Q2287650 Q5333410 Q261746 Q1029955 Q642859 Q967762 Q15305714 Q842386 Q19056310 Q890030 Q796593 Q940135 Q2305968 Q7444340 Q2419581 Q25863345 Q2747647 Q13645132 Q636207 Q7574264 Q2003296 Q967750 Q783785 Q1072415 Q3409203 Q327948 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q967737 Q1370482 Q6542448 Q2301213 Q1658460 Q628102 Q786242 Q1434880
(c(Q12737077),P748,c(Q895526)|c(Q1752346))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
[ANSWERS] are appointed by max number of authority organs and assemblies
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?g ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?d ) WHERE { { ?n property:P748 ?e . ?n rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q895526 } UNION { ?n property:P748 ?e . ?n rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q1752346 } } GROUP BY ?n } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?o ) WHERE { { ?a property:P748 ?c . ?a rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q1752346 } UNION { ?a property:P748 ?c . ?a rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q895526 } } GROUP BY ?a } }
Chair of the Federal Reserve Chief of Staff of the United States Air Force United States Secretary of the Interior Economic Secretary to the Treasury United States Secretary of the Air Force United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education Prime Minister of Libya Prime Minister of Russia President of Botswana State President of South Africa President of Malta United States Secretary of the Navy United States Secretary of Health and Human Services Secretary of State for Dominion Affairs United States Secretary of Housing and Urban Development Secretary of State for International Trade Secretary of State for Defence Lord Mayor of Dublin United States Attorney General Speaker of the Hellenic Parliament United States Secretary of Commerce United States Secretary of Labor Chief of Staff of the United States Army Chief of Naval Operations President of Greece President of Israel Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense United States Secretary of Transportation President of Cuba Librarian of Congress United States Deputy Secretary of State United States Secretary of Veterans Affairs President of Nauru White House Chief of Staff Surgeon General of the United States
Secretary of State for International Trade, Prime Minister of Russia and United States Secretary of Labor are appointed by max number of authority organs and assemblies
Secretary of State for International Trade Prime Minister of Russia United States Secretary of Labor
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?g ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?d ) WHERE { { ?n property:appointed_by ?e . ?n rdf:type ontology:occupation . ?e rdf:type ontology:authority_organ } UNION { ?n property:appointed_by ?e . ?n rdf:type ontology:occupation . ?e rdf:type ontology:assembly } } GROUP BY ?n } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?o ) WHERE { { ?a property:appointed_by ?c . ?a rdf:type ontology:occupation . ?c rdf:type ontology:assembly } UNION { ?a property:appointed_by ?c . ?a rdf:type ontology:occupation . ?c rdf:type ontology:authority_organ } } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11358600 Q967750
P27 P1001
Q15617994
USER
Which administrative territories belong to jurisdiction of United States Secretary of Labor or are the countries of citizenship of Shōzō Uehara ?
OR((Q967750,P1001,c(Q15617994)), (Q11358600,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q967750
relation P1001
action find
entity Q11358600
relation P27
type Q15617994
{'OR': [['Q967750', 'P1001', {'concept': 'Q15617994'}], ['Q11358600', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q967750 property:P1001 ?a } UNION { resource:Q11358600 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Shōzō Uehara United States Secretary of Labor
action filter_type
action union
action find
entity United States Secretary of Labor
relation applies to jurisdiction
action find
entity Shōzō Uehara
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States Secretary of Labor', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Shōzō Uehara', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:United_States_Secretary_of_Labor property:applies_to_jurisdiction ?a } UNION { resource:Shōzō_Uehara property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q30
SYSTEM
Japan, United States of America
Q17 Q30
OR((Q967750,P1001,c(Q15617994)), (Q11358600,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q967750
relation P1001
action find
entity Q11358600
relation P27
type Q15617994
[ANSWERS] belong to jurisdiction of United States Secretary of Labor or are the countries of citizenship of Shōzō Uehara
{'OR': [['Q967750', 'P1001', {'concept': 'Q15617994'}], ['Q11358600', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q967750 property:P1001 ?a } UNION { resource:Q11358600 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Japan United States of America
Japan and United States of America belong to jurisdiction of United States Secretary of Labor or are the countries of citizenship of Shōzō Uehara
Japan United States of America
action filter_type
action union
action find
entity United States Secretary of Labor
relation applies to jurisdiction
action find
entity Shōzō Uehara
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States Secretary of Labor', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Shōzō Uehara', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:United_States_Secretary_of_Labor property:applies_to_jurisdiction ?a } UNION { resource:Shōzō_Uehara property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4751662
P495
Q838948
USER
Are those administrative territories a country of origin of Anarchists ?
(Q4751662,P495,Q17) (Q4751662,P495,Q30)
action is_in
entity prev_answer
action find
entity Q4751662
relation P495
['Q4751662', 'P495', 'Q17'] ['Q4751662', 'P495', 'Q30']
ASK WHERE { resource:Q4751662 property:P495 ?v . VALUES ( ?v ) { ( resource:Q17 ) ( resource:Q30 ) } }
Anarchists
action is_in
entity prev_answer
action find
entity Anarchists
relation country of origin
['Anarchists', 'country of origin', 'Japan'] ['Anarchists', 'country of origin', 'United States of America']
ASK WHERE { resource:Anarchists property:country_of_origin ?v . VALUES ( ?v ) { ( resource:Japan ) ( resource:United_States_of_America ) } }
[]
work of art
SYSTEM
NO
(Q4751662,P495,Q17) (Q4751662,P495,Q30)
action is_in
entity prev_answer
action find
entity Q4751662
relation P495
[ANSWER]
['Q4751662', 'P495', 'Q17'] ['Q4751662', 'P495', 'Q30']
ASK WHERE { resource:Q4751662 property:P495 ?v . VALUES ( ?v ) { ( resource:Q17 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity Anarchists
relation country of origin
['Anarchists', 'country of origin', 'Japan'] ['Anarchists', 'country of origin', 'United States of America']
ASK WHERE { resource:Anarchists property:country_of_origin ?v . VALUES ( ?v ) { ( resource:Japan ) ( resource:United_States_of_America ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around 22 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 22
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { FILTER ( ?x = 22 ) . { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?x ) WHERE { ?f property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { FILTER ( ?x = 22 ) . { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?x ) WHERE { ?f property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q801 Q805 Q142 Q148 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 22
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { FILTER ( ?x = 22 ) . { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?x ) WHERE { ?f property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } }
Israel Yemen France People's Republic of China Russia United States of America
6
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { FILTER ( ?x = 22 ) . { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?x ) WHERE { ?f property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]