Simple Question (Direct)
Simple Question
Q1870206
P20
Q56061
USER
Which administrative territory is the place of death of Lorenzo D. Lewelling ?
(Q1870206,P20,c(Q56061))
action filter_type
action find
entity Q1870206
relation P20
type Q56061
['Q1870206', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1870206 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Lorenzo D. Lewelling
action filter_type
action find
entity Lorenzo D. Lewelling
relation place of death
type administrative territorial entity
['Lorenzo D. Lewelling', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Lorenzo_D._Lewelling property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2065312
SYSTEM
Arkansas City
Q2065312
(Q1870206,P20,c(Q56061))
action filter_type
action find
entity Q1870206
relation P20
type Q56061
[ANSWER] is the place of death of Lorenzo D. Lewelling
['Q1870206', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1870206 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Arkansas City
Arkansas City is the place of death of Lorenzo D. Lewelling
Arkansas City
action filter_type
action find
entity Lorenzo D. Lewelling
relation place of death
type administrative territorial entity
['Lorenzo D. Lewelling', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Lorenzo_D._Lewelling property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1870206
P39
Q12737077
USER
Which occupations were the positions occupied by Lorenzo D. Lewelling ?
(Q1870206,P39,c(Q12737077))
action filter_type
action find
entity Q1870206
relation P39
type Q12737077
['Q1870206', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1870206 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Lorenzo D. Lewelling
action filter_type
action find
entity Lorenzo D. Lewelling
relation position held
type occupation
['Lorenzo D. Lewelling', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Lorenzo_D._Lewelling property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q19617175 Q5589668
SYSTEM
member of the State Senate of Kansas, Governor of Kansas
Q19617175 Q5589668
(Q1870206,P39,c(Q12737077))
action filter_type
action find
entity Q1870206
relation P39
type Q12737077
The [ANSWERS] were the positions occupied by Lorenzo D. Lewelling
['Q1870206', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1870206 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
member of the State Senate of Kansas Governor of Kansas
The member of the State Senate of Kansas and Governor of Kansas were the positions occupied by Lorenzo D. Lewelling
member of the State Senate of Kansas Governor of Kansas
action filter_type
action find
entity Lorenzo D. Lewelling
relation position held
type occupation
['Lorenzo D. Lewelling', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Lorenzo_D._Lewelling property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q463600
P417
Q502895 Q12737077
USER
How many people are the patron saints of lesser number of occupations than Saint Petronilla ?
(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 Q463600
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 . ?i property:P417 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:Q12737077 . ?r property:P417 resource:Q463600 } } . FILTER ( ?u < ?f ) }
Saint Petronilla
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 Saint Petronilla
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p rdf:type ontology:common_name . ?i rdf:type ontology:occupation . ?i property:patron_saint ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:occupation . ?r property:patron_saint resource:Saint_Petronilla } } . FILTER ( ?u < ?f ) }
[]
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 Q463600
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 . ?i property:P417 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:Q12737077 . ?r property:P417 resource:Q463600 } } . FILTER ( ?u < ?f ) }
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 Saint Petronilla
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p rdf:type ontology:common_name . ?i rdf:type ontology:occupation . ?i property:patron_saint ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:occupation . ?r property:patron_saint resource:Saint_Petronilla } } . FILTER ( ?u < ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q44281
P417
Q502895 Q12737077
USER
And how about Ignatius of Loyola?
(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 Q44281
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P417 ?o . ?o rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P417 resource:Q44281 . ?w rdf:type ontology:Q12737077 } } . FILTER ( ?a < ?x ) }
Ignatius of Loyola
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 Ignatius of Loyola
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:patron_saint ?o . ?o rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:patron_saint resource:Ignatius_of_Loyola . ?w rdf:type ontology:occupation } } . FILTER ( ?a < ?x ) }
[]
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 Q44281
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P417 ?o . ?o rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P417 resource:Q44281 . ?w rdf:type ontology:Q12737077 } } . FILTER ( ?a < ?x ) }
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 Ignatius of Loyola
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:patron_saint ?o . ?o rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:patron_saint resource:Ignatius_of_Loyola . ?w rdf:type ontology:occupation } } . FILTER ( ?a < ?x ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q1792379 Q838948
USER
Which occupations are demonstrated in approximately 6 art genres or works of art ?
(c(Q1792379)|c(Q838948),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 6
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } GROUP BY ?y } . FILTER ( ?j = 6 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 6
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } GROUP BY ?y } . FILTER ( ?j = 6 ) }
[]
occupation art genre work of art
Q4991371 Q838811 Q47064
SYSTEM
soldier, peasant, military personnel
Q47064 Q4991371 Q2730732 Q838811 Q639669 Q49757
(c(Q1792379)|c(Q838948),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 6
[ANSWERS] are demonstrated in approximately 6 art genres or works of art
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } GROUP BY ?y } . FILTER ( ?j = 6 ) }
military personnel soldier equestrian peasant musician poet
Soldier, peasant and military personnel are demonstrated in approximately 6 art genres or works of art
soldier peasant military personnel
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 6
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } GROUP BY ?y } . FILTER ( ?j = 6 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of atleast 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P417 ?m . ?m rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?m } . FILTER ( ?e >= 2 ) }
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:patron_saint ?m . ?m rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?m } . FILTER ( ?e >= 2 ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS] are the names of the patron saint of atleast 2 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P417 ?m . ?m rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?m } . FILTER ( ?e >= 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
Isidore of Seville, Catherine of Siena and Jerome are the names of the patron saint of atleast 2 occupations
Isidore of Seville Catherine of Siena Jerome
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:patron_saint ?m . ?m rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?m } . FILTER ( ?e >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 6802 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6802
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?a <= 6802 ) . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 . ?m property:P1303 ?t } GROUP BY ?t } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6802
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?a <= 6802 ) . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument . ?m property:instrument ?t } GROUP BY ?t } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6802
[ANSWERS] are played by atmost 6802 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?a <= 6802 ) . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 . ?m property:P1303 ?t } GROUP BY ?t } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by atmost 6802 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6802
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?a <= 6802 ) . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument . ?m property:instrument ?t } GROUP BY ?t } }
[]
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 ?d WHERE { resource:Q166876 property:P841 ?d . ?d 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 ?d WHERE { resource:Isidore_of_Seville property:feast_day ?d . ?d 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 ?d WHERE { resource:Q166876 property:P841 ?d . ?d 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 ?d WHERE { resource:Isidore_of_Seville property:feast_day ?d . ?d rdf:type ontology:time_interval }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1870206
P106
Q12737077
USER
Which occupation is the profession of Lorenzo D. Lewelling ?
(Q1870206,P106,c(Q12737077))
action filter_type
action find
entity Q1870206
relation P106
type Q12737077
['Q1870206', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1870206 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Lorenzo D. Lewelling
action filter_type
action find
entity Lorenzo D. Lewelling
relation occupation
type occupation
['Lorenzo D. Lewelling', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Lorenzo_D._Lewelling property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1870206,P106,c(Q12737077))
action filter_type
action find
entity Q1870206
relation P106
type Q12737077
As [ANSWER] is the profession of Lorenzo D. Lewelling
['Q1870206', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1870206 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
politician
As politician is the profession of Lorenzo D. Lewelling
politician
action filter_type
action find
entity Lorenzo D. Lewelling
relation occupation
type occupation
['Lorenzo D. Lewelling', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Lorenzo_D._Lewelling property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1870206
P27
Q15617994
USER
Which administrative territory does Lorenzo D. Lewelling belong to ?
(Q1870206,P27,c(Q15617994))
action filter_type
action find
entity Q1870206
relation P27
type Q15617994
['Q1870206', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1870206 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Lorenzo D. Lewelling
action filter_type
action find
entity Lorenzo D. Lewelling
relation country of citizenship
type designation for an administrative territorial entity
['Lorenzo D. Lewelling', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Lorenzo_D._Lewelling property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1870206,P27,c(Q15617994))
action filter_type
action find
entity Q1870206
relation P27
type Q15617994
Lorenzo D. Lewelling belongs to the [ANSWER]
['Q1870206', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1870206 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
Lorenzo D. Lewelling belongs to the United States of America
United States of America
action filter_type
action find
entity Lorenzo D. Lewelling
relation country of citizenship
type designation for an administrative territorial entity
['Lorenzo D. Lewelling', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Lorenzo_D._Lewelling property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P463
Q484652
USER
Which international organizations were that administrative territory a member of ?
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?w WHERE { resource:Q30 property:P463 ?w . ?w rdf:type ontology:Q484652 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?w WHERE { resource:United_States_of_America property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q19771 Q1065 Q188822 Q37143 Q674182 Q842490 Q7184 Q1043527
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
[ANSWERS] were that administrative territory a member of
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?w WHERE { resource:Q30 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe G20 United Nations Asian Development Bank G8 Arctic Council Organisation for the Prohibition of Chemical Weapons North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, G20 and United Nations were that administrative territory a member of
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?w WHERE { resource:United_States_of_America property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P37
Q34770
USER
What are the official languages of United Nations ?
(Q1065,P37,c(Q34770))
action filter_type
action find
entity Q1065
relation P37
type Q34770
['Q1065', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q1065 property:P37 ?v . ?v rdf:type ontology:Q34770 }
United Nations
action filter_type
action find
entity United Nations
relation official language
type language
['United Nations', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:United_Nations property:official_language ?v . ?v rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(Q1065,P37,c(Q34770))
action filter_type
action find
entity Q1065
relation P37
type Q34770
The official languages of United Nations are [ANSWERS]
['Q1065', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q1065 property:P37 ?v . ?v rdf:type ontology:Q34770 }
English Spanish
The official languages of United Nations are English and Spanish
English Spanish
action filter_type
action find
entity United Nations
relation official language
type language
['United Nations', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:United_Nations property:official_language ?v . ?v rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q712
Q34770
USER
And what about Fiji?
(Q712,P37,c(Q34770))
action filter_type
action find
entity Q712
relation P37
type Q34770
['Q712', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q712 property:P37 ?i . ?i rdf:type ontology:Q34770 }
Fiji
action filter_type
action find
entity Fiji
relation official language
type language
['Fiji', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Fiji property:official_language ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q712,P37,c(Q34770))
action filter_type
action find
entity Q712
relation P37
type Q34770
[ANSWER]
['Q712', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q712 property:P37 ?i . ?i rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Fiji
relation official language
type language
['Fiji', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Fiji property:official_language ?i . ?i rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages utilizes greater number of writing systems as the writing system than that language ?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1860
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?z ) WHERE { ?g property:P282 ?x . ?g rdf:type ontology:Q34770 . ?x rdf:type ontology:Q8192 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q1860 property:P282 ?p . ?p rdf:type ontology:Q34770 } } . FILTER ( ?z > ?r ) }
action count
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity English
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?z ) WHERE { ?g property:writing_system ?x . ?g rdf:type ontology:language . ?x rdf:type ontology:writing_system } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:English property:writing_system ?p . ?p rdf:type ontology:language } } . FILTER ( ?z > ?r ) }
[]
writing system language
SYSTEM
2
Q182695 Q1669994
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1860
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?z ) WHERE { ?g property:P282 ?x . ?g rdf:type ontology:Q34770 . ?x rdf:type ontology:Q8192 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q1860 property:P282 ?p . ?p rdf:type ontology:Q34770 } } . FILTER ( ?z > ?r ) }
Late Old Japanese Minoan language
2
action count
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity English
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?z ) WHERE { ?g property:writing_system ?x . ?g rdf:type ontology:language . ?x rdf:type ontology:writing_system } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:English property:writing_system ?p . ?p rdf:type ontology:language } } . FILTER ( ?z > ?r ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q155 Q1178361
P530 P495
Q15617994
USER
Which administrative territories are the countries of origin of davul and have a diplomatic relationship with Brazil ?
AND((Q1178361,P495,c(Q15617994)), (Q155,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1178361
relation P495
action find
entity Q155
relation P530
type Q15617994
{'AND': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q155', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q1178361 property:P495 ?x . resource:Q155 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Brazil davul
action filter_type
action intersection
action find
entity davul
relation country of origin
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:davul property:country_of_origin ?x . resource:Brazil property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
AND((Q1178361,P495,c(Q15617994)), (Q155,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1178361
relation P495
action find
entity Q155
relation P530
type Q15617994
[ANSWER] is the countries of origin of davul and have a diplomatic relationship with Brazil
{'AND': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q155', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q1178361 property:P495 ?x . resource:Q155 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Turkey
Turkey is the countries of origin of davul and have a diplomatic relationship with Brazil
Turkey
action filter_type
action intersection
action find
entity davul
relation country of origin
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:davul property:country_of_origin ?x . resource:Brazil property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]