Simple Question (Direct)
Simple Question
Q6387390
P106
Q12737077
USER
Which occupation is the profession of Ken Brownlee ?
(Q6387390,P106,c(Q12737077))
action filter_type
action find
entity Q6387390
relation P106
type Q12737077
['Q6387390', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6387390 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Ken Brownlee
action filter_type
action find
entity Ken Brownlee
relation occupation
type occupation
['Ken Brownlee', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Ken_Brownlee property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6387390,P106,c(Q12737077))
action filter_type
action find
entity Q6387390
relation P106
type Q12737077
Player [ANSWER] is the profession of Ken Brownlee
['Q6387390', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6387390 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Ken Brownlee
association football player
action filter_type
action find
entity Ken Brownlee
relation occupation
type occupation
['Ken Brownlee', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Ken_Brownlee property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6387390
P21
Q290
USER
What is the sex of Ken Brownlee ?
(Q6387390,P21,c(Q290))
action filter_type
action find
entity Q6387390
relation P21
type Q290
['Q6387390', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q6387390 property:P21 ?x . ?x rdf:type ontology:Q290 }
Ken Brownlee
action filter_type
action find
entity Ken Brownlee
relation gender
type sex
['Ken Brownlee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Ken_Brownlee property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6387390,P21,c(Q290))
action filter_type
action find
entity Q6387390
relation P21
type Q290
The sex of Ken Brownlee is a [ANSWER]
['Q6387390', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q6387390 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of Ken Brownlee is a male
male
action filter_type
action find
entity Ken Brownlee
relation gender
type sex
['Ken Brownlee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Ken_Brownlee property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7411959
Q290
USER
And how about Samuel Lagonia?
(Q7411959,P21,c(Q290))
action filter_type
action find
entity Q7411959
relation P21
type Q290
['Q7411959', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7411959 property:P21 ?q . ?q rdf:type ontology:Q290 }
Samuel Lagonia
action filter_type
action find
entity Samuel Lagonia
relation gender
type sex
['Samuel Lagonia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Samuel_Lagonia property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7411959,P21,c(Q290))
action filter_type
action find
entity Q7411959
relation P21
type Q290
[ANSWER]
['Q7411959', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7411959 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Samuel Lagonia
relation gender
type sex
['Samuel Lagonia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Samuel_Lagonia property:gender ?q . ?q rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q316295
P417
Q502895 Q12737077
USER
Which people are the patron saint of around the same number of occupations as Bernardino of Siena ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q316295
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:P417 ?v . ?v rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q316295 property:P417 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?h = ?w ) }
Bernardino of Siena
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Bernardino of Siena
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:patron_saint ?v . ?v rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Bernardino_of_Siena property:patron_saint ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?h = ?w ) }
[]
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,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q316295
relation P417
type Q502895
[ANSWERS] are the patron saint of around the same number of occupations as Bernardino of Siena
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:P417 ?v . ?v rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q316295 property:P417 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?h = ?w ) }
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 patron saint of around the same number of occupations as Bernardino of Siena
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Bernardino of Siena
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:patron_saint ?v . ?v rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Bernardino_of_Siena property:patron_saint ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?h = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q234689
P417
Q502895 Q12737077
USER
And how about Monica of Hippo?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q234689
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:P417 ?d . ?d rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q234689 property:P417 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?e = ?n ) }
Monica of Hippo
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Monica of Hippo
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:patron_saint ?d . ?d rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Monica_of_Hippo property:patron_saint ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?e = ?n ) }
[]
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,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q234689
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:P417 ?d . ?d rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q234689 property:P417 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?e = ?n ) }
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 Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Monica of Hippo
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:patron_saint ?d . ?d rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Monica_of_Hippo property:patron_saint ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?e = ?n ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9682 Q191479 Q346
P25
Q502895
USER
Who were the mom of Elizabeth II, Tadeusz Kościuszko and Louis IX of France ?
(Q9682,P25,c(Q502895)) (Q191479,P25,c(Q502895)) (Q346,P25,c(Q502895))
action union
action filter_type
action find
entity Q9682
relation P25
type Q502895
action filter_type
action find
entity Q191479
relation P25
type Q502895
action filter_type
action find
entity Q346
relation P25
type Q502895
['Q9682', 'P25', {'concept': 'Q502895'}] ['Q191479', 'P25', {'concept': 'Q502895'}] ['Q346', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q9682 property:P25 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q191479 property:P25 ?d . ?d rdf:type ontology:Q502895 } }
Elizabeth II Tadeusz Kościuszko Louis IX of France
action union
action filter_type
action find
entity Elizabeth II
relation mother
type common name
action filter_type
action find
entity Tadeusz Kościuszko
relation mother
type common name
action filter_type
action find
entity Louis IX of France
relation mother
type common name
['Elizabeth II', 'mother', {'concept': 'common name'}] ['Tadeusz Kościuszko', 'mother', {'concept': 'common name'}] ['Louis IX of France', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Elizabeth_II property:mother ?d . ?d rdf:type ontology:common_name } UNION { resource:Tadeusz_Kościuszko property:mother ?d . ?d rdf:type ontology:common_name } }
[]
common name
Q10633 Q9356383 Q353
SYSTEM
Queen Elizabeth The Queen Mother, Tekla Ratomska, Blanche of Castile
Q10633 Q9356383 Q353
(Q9682,P25,c(Q502895)) (Q191479,P25,c(Q502895)) (Q346,P25,c(Q502895))
action union
action filter_type
action find
entity Q9682
relation P25
type Q502895
action filter_type
action find
entity Q191479
relation P25
type Q502895
action filter_type
action find
entity Q346
relation P25
type Q502895
The mom of Elizabeth II , Tadeusz Kościuszko and Louis IX of France were named [ANSWERS]
['Q9682', 'P25', {'concept': 'Q502895'}] ['Q191479', 'P25', {'concept': 'Q502895'}] ['Q346', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q9682 property:P25 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q191479 property:P25 ?d . ?d rdf:type ontology:Q502895 } }
Queen Elizabeth The Queen Mother Tekla Ratomska Blanche of Castile
The mom of Elizabeth II , Tadeusz Kościuszko and Louis IX of France were named Queen Elizabeth The Queen Mother, Tekla Ratomska and Blanche of Castile
Queen Elizabeth The Queen Mother Tekla Ratomska Blanche of Castile
action union
action filter_type
action find
entity Elizabeth II
relation mother
type common name
action filter_type
action find
entity Tadeusz Kościuszko
relation mother
type common name
action filter_type
action find
entity Louis IX of France
relation mother
type common name
['Elizabeth II', 'mother', {'concept': 'common name'}] ['Tadeusz Kościuszko', 'mother', {'concept': 'common name'}] ['Louis IX of France', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Elizabeth_II property:mother ?d . ?d rdf:type ontology:common_name } UNION { resource:Tadeusz_Kościuszko property:mother ?d . ?d rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10633
P53
Q874405
USER
Which royal family does Queen Elizabeth The Queen Mother belong to ?
(Q10633,P53,c(Q874405))
action filter_type
action find
entity Q10633
relation P53
type Q874405
['Q10633', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q874405 . resource:Q10633 property:P53 ?u }
Queen Elizabeth The Queen Mother
action filter_type
action find
entity Queen Elizabeth The Queen Mother
relation noble family
type social group
['Queen Elizabeth The Queen Mother', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:social_group . resource:Queen_Elizabeth_The_Queen_Mother property:noble_family ?u }
[]
social group
Q81589
SYSTEM
House of Windsor
Q81589
(Q10633,P53,c(Q874405))
action filter_type
action find
entity Q10633
relation P53
type Q874405
The [ANSWER] Queen Elizabeth The Queen Mother belongs to
['Q10633', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q874405 . resource:Q10633 property:P53 ?u }
House of Windsor
The House of Windsor Queen Elizabeth The Queen Mother belongs to
House of Windsor
action filter_type
action find
entity Queen Elizabeth The Queen Mother
relation noble family
type social group
['Queen Elizabeth The Queen Mother', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:social_group . resource:Queen_Elizabeth_The_Queen_Mother property:noble_family ?u }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q287581
Q874405
USER
And what about Euphemia of Rügen?
(Q287581,P53,c(Q874405))
action filter_type
action find
entity Q287581
relation P53
type Q874405
['Q287581', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q874405 . resource:Q287581 property:P53 ?i }
Euphemia of Rügen
action filter_type
action find
entity Euphemia of Rügen
relation noble family
type social group
['Euphemia of Rügen', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:social_group . resource:Euphemia_of_Rügen property:noble_family ?i }
[]
social group
Q4582435
SYSTEM
House of Sverre
Q4582435
(Q287581,P53,c(Q874405))
action filter_type
action find
entity Q287581
relation P53
type Q874405
[ANSWER]
['Q287581', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q874405 . resource:Q287581 property:P53 ?i }
House of Sverre
House of Sverre
action filter_type
action find
entity Euphemia of Rügen
relation noble family
type social group
['Euphemia of Rügen', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:social_group . resource:Euphemia_of_Rügen property:noble_family ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4582435 Q331755 Q2845307
P112
Q502895
USER
Was House of Sverre founded by Sverre of Norway and Anand-Milind ?
(Q4582435,P112,Q331755) (Q4582435,P112,Q2845307)
action is_in
entity Q4582435
action intersection
action find_reverse
entity Q331755
relation P112
action find_reverse
entity Q2845307
relation P112
['Q4582435', 'P112', 'Q331755'] ['Q4582435', 'P112', 'Q2845307']
ASK WHERE { resource:Q4582435 property:P112 resource:Q2845307 . resource:Q4582435 property:P112 resource:Q331755 }
House of Sverre Sverre of Norway Anand-Milind
action is_in
entity House of Sverre
action intersection
action find_reverse
entity Sverre of Norway
relation founder
action find_reverse
entity Anand-Milind
relation founder
['House of Sverre', 'founder', 'Sverre of Norway'] ['House of Sverre', 'founder', 'Anand-Milind']
ASK WHERE { resource:House_of_Sverre property:founder resource:Anand-Milind . resource:House_of_Sverre property:founder resource:Sverre_of_Norway }
[]
common name
SYSTEM
YES and NO respectively
(Q4582435,P112,Q331755) (Q4582435,P112,Q2845307)
action is_in
entity Q4582435
action intersection
action find_reverse
entity Q331755
relation P112
action find_reverse
entity Q2845307
relation P112
[ANSWER]
['Q4582435', 'P112', 'Q331755'] ['Q4582435', 'P112', 'Q2845307']
ASK WHERE { resource:Q4582435 property:P112 resource:Q2845307 . resource:Q4582435 property:P112 resource:Q331755 }
YES and NO respectively
action is_in
entity House of Sverre
action intersection
action find_reverse
entity Sverre of Norway
relation founder
action find_reverse
entity Anand-Milind
relation founder
['House of Sverre', 'founder', 'Sverre of Norway'] ['House of Sverre', 'founder', 'Anand-Milind']
ASK WHERE { resource:House_of_Sverre property:founder resource:Anand-Milind . resource:House_of_Sverre property:founder resource:Sverre_of_Norway }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10633
P1038
Q502895
USER
Who is related to Queen Elizabeth The Queen Mother ?
(c(Q502895),P1038,Q10633)
action filter_type
action find_reverse
entity Q10633
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q10633']
SELECT DISTINCT ?z WHERE { ?z property:P1038 resource:Q10633 . ?z rdf:type ontology:Q502895 }
Queen Elizabeth The Queen Mother
action filter_type
action find_reverse
entity Queen Elizabeth The Queen Mother
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Queen Elizabeth The Queen Mother']
SELECT DISTINCT ?z WHERE { ?z property:relative resource:Queen_Elizabeth_The_Queen_Mother . ?z rdf:type ontology:common_name }
[]
common name
Q43274
SYSTEM
Charles, Prince of Wales
Q43274
(c(Q502895),P1038,Q10633)
action filter_type
action find_reverse
entity Q10633
relation P1038
type Q502895
[ANSWER] is related to Queen Elizabeth The Queen Mother
[{'concept': 'Q502895'}, 'P1038', 'Q10633']
SELECT DISTINCT ?z WHERE { ?z property:P1038 resource:Q10633 . ?z rdf:type ontology:Q502895 }
Charles, Prince of Wales
Charles, Prince of Wales is related to Queen Elizabeth The Queen Mother
Charles, Prince of Wales
action filter_type
action find_reverse
entity Queen Elizabeth The Queen Mother
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Queen Elizabeth The Queen Mother']
SELECT DISTINCT ?z WHERE { ?z property:relative resource:Queen_Elizabeth_The_Queen_Mother . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43274
P26
Q502895
USER
Who are the spouse of that one ?
(c(Q502895),P26,Q43274)
action filter_type
action find
entity Q43274
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q43274']
SELECT DISTINCT ?l WHERE { resource:Q43274 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Charles, Prince of Wales
action filter_type
action find
entity Charles, Prince of Wales
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Charles, Prince of Wales']
SELECT DISTINCT ?l WHERE { resource:Charles,_Prince_of_Wales property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q9685 Q152239
SYSTEM
Diana, Princess of Wales, Camilla, Duchess of Cornwall
Q9685 Q152239
(c(Q502895),P26,Q43274)
action filter_type
action find
entity Q43274
relation P26
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q43274']
SELECT DISTINCT ?l WHERE { resource:Q43274 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Diana, Princess of Wales Camilla, Duchess of Cornwall
The spouse of that one are Princess Diana, Princess of Wales and Camilla, Duchess of Cornwall
Diana, Princess of Wales Camilla, Duchess of Cornwall
action filter_type
action find
entity Charles, Prince of Wales
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Charles, Prince of Wales']
SELECT DISTINCT ?l WHERE { resource:Charles,_Prince_of_Wales property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q9685
P1038 P21
Q502895
USER
Which people are relatives of Diana, Princess of Wales and have the gender as female ?
AND((c(Q502895),P1038,Q9685), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q9685
relation P1038
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q9685'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?i WHERE { ?i property:P1038 resource:Q9685 . ?i property:P21 resource:Q6581072 . ?i rdf:type ontology:Q502895 }
female Diana, Princess of Wales
action filter_type
action intersection
action find_reverse
entity Diana, Princess of Wales
relation relative
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Diana, Princess of Wales'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?i WHERE { ?i property:relative resource:Diana,_Princess_of_Wales . ?i property:gender resource:female . ?i rdf:type ontology:common_name }
[]
common name
Q18002970
SYSTEM
Princess Charlotte of Cambridge
Q18002970
AND((c(Q502895),P1038,Q9685), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q9685
relation P1038
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] is relatives of Diana, Princess of Wales and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q9685'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?i WHERE { ?i property:P1038 resource:Q9685 . ?i property:P21 resource:Q6581072 . ?i rdf:type ontology:Q502895 }
Princess Charlotte of Cambridge
Princess Charlotte of Cambridge is relatives of Diana, Princess of Wales and have the gender as female
Princess Charlotte of Cambridge
action filter_type
action intersection
action find_reverse
entity Diana, Princess of Wales
relation relative
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Diana, Princess of Wales'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?i WHERE { ?i property:relative resource:Diana,_Princess_of_Wales . ?i property:gender resource:female . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q56061 Q15617994
USER
How many people are the patron saints of around 25 administrative territories and administrative territories ?
(c(Q56061)|c(Q15617994),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 25
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?h rdf:type ?l } GROUP BY ?e } . FILTER ( ?i = 25 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 25
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?l } GROUP BY ?e } . FILTER ( ?i = 25 ) }
[]
common name administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q44269 Q43982
(c(Q56061)|c(Q15617994),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 25
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?h rdf:type ?l } GROUP BY ?e } . FILTER ( ?i = 25 ) }
Saint Nicholas Bartholomew the Apostle
2
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 25
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?l } GROUP BY ?e } . FILTER ( ?i = 25 ) }
[]