Simple Question (Direct)
Simple Question
Q1818767
P1303
Q34379
USER
Which musical instrument does Grant Kirkhope know to play ?
(Q1818767,P1303,c(Q34379))
action filter_type
action find
entity Q1818767
relation P1303
type Q34379
['Q1818767', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34379 . resource:Q1818767 property:P1303 ?e }
Grant Kirkhope
action filter_type
action find
entity Grant Kirkhope
relation instrument
type musical instrument
['Grant Kirkhope', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:musical_instrument . resource:Grant_Kirkhope property:instrument ?e }
[]
musical instrument
Q8338
SYSTEM
trumpet
Q8338
(Q1818767,P1303,c(Q34379))
action filter_type
action find
entity Q1818767
relation P1303
type Q34379
Grant Kirkhope knows the [ANSWER]
['Q1818767', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34379 . resource:Q1818767 property:P1303 ?e }
trumpet
Grant Kirkhope knows the trumpet
trumpet
action filter_type
action find
entity Grant Kirkhope
relation instrument
type musical instrument
['Grant Kirkhope', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:musical_instrument . resource:Grant_Kirkhope property:instrument ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1818767
P106
Q12737077
USER
What is the profession of Grant Kirkhope ?
(Q1818767,P106,c(Q12737077))
action filter_type
action find
entity Q1818767
relation P106
type Q12737077
['Q1818767', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1818767 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Grant Kirkhope
action filter_type
action find
entity Grant Kirkhope
relation occupation
type occupation
['Grant Kirkhope', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Grant_Kirkhope property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q1818767,P106,c(Q12737077))
action filter_type
action find
entity Q1818767
relation P106
type Q12737077
The profession of Grant Kirkhope is a [ANSWER]
['Q1818767', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1818767 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
composer
The profession of Grant Kirkhope is a composer
composer
action filter_type
action find
entity Grant Kirkhope
relation occupation
type occupation
['Grant Kirkhope', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Grant_Kirkhope property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q254242
Q12737077
USER
And what about István Nemeskürty?
(Q254242,P106,c(Q12737077))
action filter_type
action find
entity Q254242
relation P106
type Q12737077
['Q254242', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q254242 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
István Nemeskürty
action filter_type
action find
entity István Nemeskürty
relation occupation
type occupation
['István Nemeskürty', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:István_Nemeskürty property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q36180 Q13570226
SYSTEM
writer, literary historian
Q36180 Q13570226
(Q254242,P106,c(Q12737077))
action filter_type
action find
entity Q254242
relation P106
type Q12737077
[ANSWERS]
['Q254242', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q254242 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
writer literary historian
writer literary historian
action filter_type
action find
entity István Nemeskürty
relation occupation
type occupation
['István Nemeskürty', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:István_Nemeskürty property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q137947
P417
Q502895 Q12737077
USER
How many people are the patron saint of less number of occupations than Alexius of Rome ?
(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 Q137947
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:P417 resource:Q137947 . ?b rdf:type ontology:Q12737077 } } . FILTER ( ?q < ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P417 ?r . ?r rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?r } }
Alexius of Rome
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 Alexius of Rome
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:patron_saint resource:Alexius_of_Rome . ?b rdf:type ontology:occupation } } . FILTER ( ?q < ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:patron_saint ?r . ?r rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?r } }
[]
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 Q137947
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:P417 resource:Q137947 . ?b rdf:type ontology:Q12737077 } } . FILTER ( ?q < ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P417 ?r . ?r rdf:type ontology:Q502895 . ?i 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
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 Alexius of Rome
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:patron_saint resource:Alexius_of_Rome . ?b rdf:type ontology:occupation } } . FILTER ( ?q < ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:patron_saint ?r . ?r rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q60059
P417
Q502895 Q12737077
USER
And how about Albertus Magnus?
(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 Q60059
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P417 ?f . ?o rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P417 resource:Q60059 . ?l rdf:type ontology:Q12737077 } } . FILTER ( ?z < ?j ) }
Albertus Magnus
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 Albertus Magnus
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:patron_saint ?f . ?o rdf:type ontology:occupation . ?f rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:patron_saint resource:Albertus_Magnus . ?l rdf:type ontology:occupation } } . FILTER ( ?z < ?j ) }
[]
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 Q60059
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P417 ?f . ?o rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P417 resource:Q60059 . ?l rdf:type ontology:Q12737077 } } . FILTER ( ?z < ?j ) }
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 Albertus Magnus
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:patron_saint ?f . ?o rdf:type ontology:occupation . ?f rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:patron_saint resource:Albertus_Magnus . ?l rdf:type ontology:occupation } } . FILTER ( ?z < ?j ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of exactly 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P417 ?c . ?c rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?c } . FILTER ( ?b = 2 ) }
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:patron_saint ?c . ?c rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?c } . FILTER ( ?b = 2 ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS] are the patron saints of exactly 2 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P417 ?c . ?c rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?c } . FILTER ( ?b = 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville, Catherine of Siena and Jerome are the patron saints of exactly 2 occupations
Isidore of Seville Catherine of Siena Jerome
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:patron_saint ?c . ?c rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?c } . FILTER ( ?b = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q166876
P841
Q186081
USER
When do we have the feast day of Isidore of Seville ?
(Q166876,P841,c(Q186081))
action filter_type
action find
entity Q166876
relation P841
type Q186081
['Q166876', 'P841', {'concept': 'Q186081'}]
SELECT DISTINCT ?k WHERE { resource:Q166876 property:P841 ?k . ?k rdf:type ontology:Q186081 }
Isidore of Seville
action filter_type
action find
entity Isidore of Seville
relation feast day
type time interval
['Isidore of Seville', 'feast day', {'concept': 'time interval'}]
SELECT DISTINCT ?k WHERE { resource:Isidore_of_Seville property:feast_day ?k . ?k rdf:type ontology:time_interval }
[]
time interval
Q2508
SYSTEM
April 4
Q2508
(Q166876,P841,c(Q186081))
action filter_type
action find
entity Q166876
relation P841
type Q186081
[ANSWER] the feast day of Isidore of Seville we have
['Q166876', 'P841', {'concept': 'Q186081'}]
SELECT DISTINCT ?k WHERE { resource:Q166876 property:P841 ?k . ?k rdf:type ontology:Q186081 }
April 4
April 4 the feast day of Isidore of Seville we have
April 4
action filter_type
action find
entity Isidore of Seville
relation feast day
type time interval
['Isidore of Seville', 'feast day', {'concept': 'time interval'}]
SELECT DISTINCT ?k WHERE { resource:Isidore_of_Seville property:feast_day ?k . ?k rdf:type ontology:time_interval }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P425
Q1914636
USER
Who has writer as the associated field of occupation ?
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { resource:Q36180 property:P425 ?y . ?y rdf:type ontology:Q1914636 }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { resource:writer property:field_of_this_occupation ?y . ?y rdf:type ontology:activity }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
The [ANSWER] has writer as the associated field of occupation
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { resource:Q36180 property:P425 ?y . ?y rdf:type ontology:Q1914636 }
literature
The literature has writer as the associated field of occupation
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { resource:writer property:field_of_this_occupation ?y . ?y rdf:type ontology:activity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q931260
Q1914636
USER
And how about murderer?
(Q931260,P425,c(Q1914636))
action filter_type
action find
entity Q931260
relation P425
type Q1914636
['Q931260', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?p WHERE { resource:Q931260 property:P425 ?p . ?p rdf:type ontology:Q1914636 }
murderer
action filter_type
action find
entity murderer
relation field of this occupation
type activity
['murderer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?p WHERE { resource:murderer property:field_of_this_occupation ?p . ?p rdf:type ontology:activity }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q931260,P425,c(Q1914636))
action filter_type
action find
entity Q931260
relation P425
type Q1914636
[ANSWER]
['Q931260', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?p WHERE { resource:Q931260 property:P425 ?p . ?p rdf:type ontology:Q1914636 }
homicide
homicide
action filter_type
action find
entity murderer
relation field of this occupation
type activity
['murderer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?p WHERE { resource:murderer property:field_of_this_occupation ?p . ?p rdf:type ontology:activity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q149086 Q4740022
P1196
Q502895
USER
Did Amar Jaleel die with that activity as its reason ?
(Q4740022,P1196,Q149086)
action is_in
entity Q4740022
action find
entity Q149086
relation P1196
['Q4740022', 'P1196', 'Q149086']
ASK WHERE { resource:Q149086 property:P1196 resource:Q4740022 }
homicide Amar Jaleel
action is_in
entity Amar Jaleel
action find
entity homicide
relation manner of death
['Amar Jaleel', 'manner of death', 'homicide']
ASK WHERE { resource:homicide property:manner_of_death resource:Amar_Jaleel }
[]
common name
SYSTEM
NO
(Q4740022,P1196,Q149086)
action is_in
entity Q4740022
action find
entity Q149086
relation P1196
[ANSWER]
['Q4740022', 'P1196', 'Q149086']
ASK WHERE { resource:Q149086 property:P1196 resource:Q4740022 }
No
action is_in
entity Amar Jaleel
action find
entity homicide
relation manner of death
['Amar Jaleel', 'manner of death', 'homicide']
ASK WHERE { resource:homicide property:manner_of_death resource:Amar_Jaleel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2508
P361
Q5151
USER
What is April 4 a component of ?
(Q2508,P361,c(Q5151))
action filter_type
action find
entity Q2508
relation P361
type Q5151
['Q2508', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?l WHERE { resource:Q2508 property:P361 ?l . ?l rdf:type ontology:Q5151 }
April 4
action filter_type
action find
entity April 4
relation part of
type month
['April 4', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?l WHERE { resource:April_4 property:part_of ?l . ?l rdf:type ontology:month }
[]
month
Q118
SYSTEM
April
Q118
(Q2508,P361,c(Q5151))
action filter_type
action find
entity Q2508
relation P361
type Q5151
[ANSWER] 4 a component of is an [ANSWER]
['Q2508', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?l WHERE { resource:Q2508 property:P361 ?l . ?l rdf:type ontology:Q5151 }
April
April 4 a component of is an April
April
action filter_type
action find
entity April 4
relation part of
type month
['April 4', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?l WHERE { resource:April_4 property:part_of ?l . ?l rdf:type ontology:month }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19764499
Q5151
USER
And what about 5 March 2015?
(Q19764499,P361,c(Q5151))
action filter_type
action find
entity Q19764499
relation P361
type Q5151
['Q19764499', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?u WHERE { resource:Q19764499 property:P361 ?u . ?u rdf:type ontology:Q5151 }
5 March 2015
action filter_type
action find
entity 5 March 2015
relation part of
type month
['5 March 2015', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?u WHERE { resource:5_March_2015 property:part_of ?u . ?u rdf:type ontology:month }
[]
month
Q15985237
SYSTEM
March 2015
Q15985237
(Q19764499,P361,c(Q5151))
action filter_type
action find
entity Q19764499
relation P361
type Q5151
[ANSWER]
['Q19764499', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?u WHERE { resource:Q19764499 property:P361 ?u . ?u rdf:type ontology:Q5151 }
March 2015
March 2015
action filter_type
action find
entity 5 March 2015
relation part of
type month
['5 March 2015', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?u WHERE { resource:5_March_2015 property:part_of ?u . ?u rdf:type ontology:month }
[]