Simple Question (Direct)
Simple Question
Q1293695
P1196
Q1931388
USER
What situation did Edward Solomon die in ?
(Q1293695,P1196,c(Q1931388))
action filter_type
action find
entity Q1293695
relation P1196
type Q1931388
['Q1293695', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q1293695 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
Edward Solomon
action filter_type
action find
entity Edward Solomon
relation manner of death
type cause of death
['Edward Solomon', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Edward_Solomon property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1293695,P1196,c(Q1931388))
action filter_type
action find
entity Q1293695
relation P1196
type Q1931388
Edward Solomon died of [ANSWER]
['Q1293695', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q1293695 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
natural causes
Edward Solomon died of natural causes
natural causes
action filter_type
action find
entity Edward Solomon
relation manner of death
type cause of death
['Edward Solomon', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Edward_Solomon property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1293695
P26
Q502895
USER
Which person is the life partner of Edward Solomon ?
(c(Q502895),P26,Q1293695)
action filter_type
action find
entity Q1293695
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1293695']
SELECT DISTINCT ?v WHERE { resource:Q1293695 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Edward Solomon
action filter_type
action find
entity Edward Solomon
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Edward Solomon']
SELECT DISTINCT ?v WHERE { resource:Edward_Solomon property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q435415
SYSTEM
Lillian Russell
Q435415
(c(Q502895),P26,Q1293695)
action filter_type
action find
entity Q1293695
relation P26
type Q502895
[ANSWER] is the life partner of Edward Solomon
[{'concept': 'Q502895'}, 'P26', 'Q1293695']
SELECT DISTINCT ?v WHERE { resource:Q1293695 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Lillian Russell
Lillian Russell is the life partner of Edward Solomon
Lillian Russell
action filter_type
action find
entity Edward Solomon
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Edward Solomon']
SELECT DISTINCT ?v WHERE { resource:Edward_Solomon property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q435415
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q435415,P106,c(Q12737077))
action filter_type
action find
entity Q435415
relation P106
type Q12737077
['Q435415', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q435415 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Lillian Russell
action filter_type
action find
entity Lillian Russell
relation occupation
type occupation
['Lillian Russell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lillian_Russell property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q2865819 Q2259451 Q33999
SYSTEM
opera singer, stage actor, actor
Q2865819 Q2259451 Q33999 Q177220
(Q435415,P106,c(Q12737077))
action filter_type
action find
entity Q435415
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q435415', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q435415 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
opera singer stage actor actor singer
Opera singer, stage actor and actor have that person as his/her 's career
opera singer stage actor actor
action filter_type
action find
entity Lillian Russell
relation occupation
type occupation
['Lillian Russell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lillian_Russell property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1793893
P106
Q502895
USER
Do Kurt Mühlhardt have those occupations as his/her means of employment ?
(Q1793893,P106,Q2865819) (Q1793893,P106,Q2259451) (Q1793893,P106,Q33999)
action is_in
entity prev_answer
action find
entity Q1793893
relation P106
['Q1793893', 'P106', 'Q2865819'] ['Q1793893', 'P106', 'Q2259451'] ['Q1793893', 'P106', 'Q33999']
ASK WHERE { resource:Q1793893 property:P106 ?w . VALUES ( ?w ) { ( resource:Q2865819 ) ( resource:Q2259451 ) ( resource:Q33999 ) } }
Kurt Mühlhardt
action is_in
entity prev_answer
action find
entity Kurt Mühlhardt
relation occupation
['Kurt Mühlhardt', 'occupation', 'opera singer'] ['Kurt Mühlhardt', 'occupation', 'stage actor'] ['Kurt Mühlhardt', 'occupation', 'actor']
ASK WHERE { resource:Kurt_Mühlhardt property:occupation ?w . VALUES ( ?w ) { ( resource:opera_singer ) ( resource:stage_actor ) ( resource:actor ) } }
[]
common name
SYSTEM
YES
(Q1793893,P106,Q2865819) (Q1793893,P106,Q2259451) (Q1793893,P106,Q33999)
action is_in
entity prev_answer
action find
entity Q1793893
relation P106
[ANSWER]
['Q1793893', 'P106', 'Q2865819'] ['Q1793893', 'P106', 'Q2259451'] ['Q1793893', 'P106', 'Q33999']
ASK WHERE { resource:Q1793893 property:P106 ?w . VALUES ( ?w ) { ( resource:Q2865819 ) ( resource:Q2259451 ) ( resource:Q33999 ) } }
Yes
action is_in
entity prev_answer
action find
entity Kurt Mühlhardt
relation occupation
['Kurt Mühlhardt', 'occupation', 'opera singer'] ['Kurt Mühlhardt', 'occupation', 'stage actor'] ['Kurt Mühlhardt', 'occupation', 'actor']
ASK WHERE { resource:Kurt_Mühlhardt property:occupation ?w . VALUES ( ?w ) { ( resource:opera_singer ) ( resource:stage_actor ) ( resource:actor ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q80513
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of lesser number of occupations than Saint Cecilia ?
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q80513
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P417 ?i . ?i rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:Q12737077 . ?v property:P417 resource:Q80513 } } . FILTER ( ?e < ?c ) }
Saint Cecilia
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 Cecilia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:patron_saint ?i . ?i rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:occupation . ?v property:patron_saint resource:Saint_Cecilia } } . FILTER ( ?e < ?c ) }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q80513
relation P417
type Q12737077
[ANSWERS] are the names of person who are the patron saints of lesser number of occupations than Saint Cecilia
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P417 ?i . ?i rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:Q12737077 . ?v property:P417 resource:Q80513 } } . FILTER ( ?e < ?c ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the names of person who are the patron saints of lesser number of occupations than Saint Cecilia
Elizabeth II Tadeusz Kościuszko Louis IX of France
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 Cecilia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:patron_saint ?i . ?i rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:occupation . ?v property:patron_saint resource:Saint_Cecilia } } . FILTER ( ?e < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q320171
P417
Q502895 Q12737077
USER
And how about John of God?
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q320171
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P417 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:Q12737077 . ?r property:P417 resource:Q320171 } } . FILTER ( ?x < ?u ) }
John of God
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John of God
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:patron_saint ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:occupation . ?r property:patron_saint resource:John_of_God } } . FILTER ( ?x < ?u ) }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q320171
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P417 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:Q12737077 . ?r property:P417 resource:Q320171 } } . FILTER ( ?x < ?u ) }
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 less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John of God
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:patron_saint ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:occupation . ?r property:patron_saint resource:John_of_God } } . FILTER ( ?x < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q8338
P1303
Q34379 Q502895
USER
How many musical instruments are played by around the same number of people as trumpet ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q8338
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q8338 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?o = ?p ) }
trumpet
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity trumpet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:trumpet property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?o = ?p ) }
[]
musical instrument common name
SYSTEM
8
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q8338
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q8338 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?o = ?p ) }
viola bass guitar double bass trumpet cello organ drum kit electronic keyboard
8
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity trumpet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:trumpet property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?o = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q46185
P1303
Q34379 Q502895
USER
And also tell me about bass guitar?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q34379 . resource:Q46185 property:P1303 ?e } } . FILTER ( ?w = ?p ) }
bass guitar
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:musical_instrument . resource:bass_guitar property:instrument ?e } } . FILTER ( ?w = ?p ) }
[]
musical instrument common name
SYSTEM
10
Q80284 Q46185 Q80019 Q81982 Q206987 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q34379 . resource:Q46185 property:P1303 ?e } } . FILTER ( ?w = ?p ) }
viola bass guitar double bass harpsichord vibraphone trumpet cello organ drum kit electronic keyboard
10
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:musical_instrument . resource:bass_guitar property:instrument ?e } } . FILTER ( ?w = ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9682 Q203871
P161
Q838948
USER
How many works of art have Elizabeth II or Rush in their star cast ?
(c(Q838948),P161,Q9682) (c(Q838948),P161,Q203871)
action count
action union
action filter_type
action find_reverse
entity Q9682
relation P161
type Q838948
action filter_type
action find_reverse
entity Q203871
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q9682'] [{'concept': 'Q838948'}, 'P161', 'Q203871']
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s property:P161 resource:Q9682 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P161 resource:Q203871 . ?s rdf:type ontology:Q838948 } }
Elizabeth II Rush
action count
action union
action filter_type
action find_reverse
entity Elizabeth II
relation cast member
type work of art
action filter_type
action find_reverse
entity Rush
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Elizabeth II'] [{'concept': 'work of art'}, 'cast member', 'Rush']
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s property:cast_member resource:Elizabeth_II . ?s rdf:type ontology:work_of_art } UNION { ?s property:cast_member resource:Rush . ?s rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
4
Q3221713 Q19776639 Q3942068 Q3942848
(c(Q838948),P161,Q9682) (c(Q838948),P161,Q203871)
action count
action union
action filter_type
action find_reverse
entity Q9682
relation P161
type Q838948
action filter_type
action find_reverse
entity Q203871
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q9682'] [{'concept': 'Q838948'}, 'P161', 'Q203871']
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s property:P161 resource:Q9682 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P161 resource:Q203871 . ?s rdf:type ontology:Q838948 } }
Le confort et l'indifférence Journey to the Safest Place on Earth Royal Journey Rush: Beyond the Lighted Stage
4
action count
action union
action filter_type
action find_reverse
entity Elizabeth II
relation cast member
type work of art
action filter_type
action find_reverse
entity Rush
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Elizabeth II'] [{'concept': 'work of art'}, 'cast member', 'Rush']
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { ?s property:cast_member resource:Elizabeth_II . ?s rdf:type ontology:work_of_art } UNION { ?s property:cast_member resource:Rush . ?s rdf:type ontology:work_of_art } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6037023 Q1293695
P27 P17
Q15617994
USER
Which administrative territories do Edward Solomon belong to or are Insalabou located in ?
OR((Q1293695,P27,c(Q15617994)), (Q6037023,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1293695
relation P27
action find
entity Q6037023
relation P17
type Q15617994
{'OR': [['Q1293695', 'P27', {'concept': 'Q15617994'}], ['Q6037023', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1293695 property:P27 ?c } UNION { resource:Q6037023 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Insalabou Edward Solomon
action filter_type
action union
action find
entity Edward Solomon
relation country of citizenship
action find
entity Insalabou
relation country
type designation for an administrative territorial entity
{'OR': [['Edward Solomon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Insalabou', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Edward_Solomon property:country_of_citizenship ?c } UNION { resource:Insalabou property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q945
SYSTEM
United Kingdom, Togo
Q145 Q945
OR((Q1293695,P27,c(Q15617994)), (Q6037023,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1293695
relation P27
action find
entity Q6037023
relation P17
type Q15617994
Edward Solomon belong to [ANSWERS] or Insalabou
{'OR': [['Q1293695', 'P27', {'concept': 'Q15617994'}], ['Q6037023', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1293695 property:P27 ?c } UNION { resource:Q6037023 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
United Kingdom Togo
Edward Solomon belong to United Kingdom and Togo or Insalabou
United Kingdom Togo
action filter_type
action union
action find
entity Edward Solomon
relation country of citizenship
action find
entity Insalabou
relation country
type designation for an administrative territorial entity
{'OR': [['Edward Solomon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Insalabou', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Edward_Solomon property:country_of_citizenship ?c } UNION { resource:Insalabou property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q313740
P137
Q3084961
USER
Were Alpha Jet operated by those administrative territories ?
(Q313740,P137,Q145) (Q313740,P137,Q945)
action is_in
entity prev_answer
action find
entity Q313740
relation P137
['Q313740', 'P137', 'Q145'] ['Q313740', 'P137', 'Q945']
ASK WHERE { VALUES ( ?r ) { ( resource:Q145 ) ( resource:Q945 ) } . resource:Q313740 property:P137 ?r }
Alpha Jet
action is_in
entity prev_answer
action find
entity Alpha Jet
relation operator
['Alpha Jet', 'operator', 'United Kingdom'] ['Alpha Jet', 'operator', 'Togo']
ASK WHERE { VALUES ( ?r ) { ( resource:United_Kingdom ) ( resource:Togo ) } . resource:Alpha_Jet property:operator ?r }
[]
product lining
SYSTEM
YES
(Q313740,P137,Q145) (Q313740,P137,Q945)
action is_in
entity prev_answer
action find
entity Q313740
relation P137
[ANSWER]
['Q313740', 'P137', 'Q145'] ['Q313740', 'P137', 'Q945']
ASK WHERE { VALUES ( ?r ) { ( resource:Q145 ) ( resource:Q945 ) } . resource:Q313740 property:P137 ?r }
Yes
action is_in
entity prev_answer
action find
entity Alpha Jet
relation operator
['Alpha Jet', 'operator', 'United Kingdom'] ['Alpha Jet', 'operator', 'Togo']
ASK WHERE { VALUES ( ?r ) { ( resource:United_Kingdom ) ( resource:Togo ) } . resource:Alpha_Jet property:operator ?r }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q17638008 Q3516658
USER
Which occupations are depicted in min number of game equipment or heraldic symbols ?
(c(Q17638008)|c(Q3516658),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
[[{'concept': 'Q17638008'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?f ) { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q3516658 } UNION { ?n property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q17638008 } } GROUP BY ?i } } . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:Q17638008 ) ( ontology:Q3516658 ) } } GROUP BY ?u } . FILTER ( ?w = ?f ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'game equipment'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?f ) { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:depicts ?i . ?i rdf:type ontology:occupation . ?n rdf:type ontology:heraldic_symbol } UNION { ?n property:depicts ?i . ?i rdf:type ontology:occupation . ?n rdf:type ontology:game_equipment } } GROUP BY ?i } } . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:game_equipment ) ( ontology:heraldic_symbol ) } } GROUP BY ?u } . FILTER ( ?w = ?f ) }
[]
occupation game equipment heraldic symbol
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q3516658),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
[ANSWERS] are depicted in min number of game equipment or heraldic symbols
[[{'concept': 'Q17638008'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?f ) { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q3516658 } UNION { ?n property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q17638008 } } GROUP BY ?i } } . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:Q17638008 ) ( ontology:Q3516658 ) } } GROUP BY ?u } . FILTER ( ?w = ?f ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are depicted in min number of game equipment or heraldic symbols
farmer nurse tailor
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'game equipment'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?f ) { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:depicts ?i . ?i rdf:type ontology:occupation . ?n rdf:type ontology:heraldic_symbol } UNION { ?n property:depicts ?i . ?i rdf:type ontology:occupation . ?n rdf:type ontology:game_equipment } } GROUP BY ?i } } . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:game_equipment ) ( ontology:heraldic_symbol ) } } GROUP BY ?u } . FILTER ( ?w = ?f ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q242468
P138
Q79007
USER
Which street has that occupation as its namesake ?
(c(Q79007),P138,Q242468)
action filter_type
action find_reverse
entity Q242468
relation P138
type Q79007
[{'concept': 'Q79007'}, 'P138', 'Q242468']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q242468 . ?r rdf:type ontology:Q79007 }
tailor
action filter_type
action find_reverse
entity tailor
relation named after
type street
[{'concept': 'street'}, 'named after', 'tailor']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:tailor . ?r rdf:type ontology:street }
[]
street
Clarification for simple ques.
Q131512
SYSTEM
Did you mean farmer ?
Q131512 Q186360 Q242468
(c(Q79007),P138,Q131512) (c(Q79007),P138,Q186360) (c(Q79007),P138,Q242468)
[ANSWER]
[{'concept': 'Q79007'}, 'P138', 'Q131512'] [{'concept': 'Q79007'}, 'P138', 'Q186360'] [{'concept': 'Q79007'}, 'P138', 'Q242468']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q242468 . ?r rdf:type ontology:Q79007 }
farmer nurse tailor
Did you mean farmer ?
farmer
[{'concept': 'street'}, 'named after', 'farmer'] [{'concept': 'street'}, 'named after', 'nurse'] [{'concept': 'street'}, 'named after', 'tailor']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:tailor . ?r rdf:type ontology:street }
[]
Simple Question (Coreferenced)
USER
No, I meant tailor. Could you tell me the answer for that?
(c(Q79007),P138,Q242468)
Q242468
[{'concept': 'Q79007'}, 'P138', 'Q242468']
[{'concept': 'street'}, 'named after', 'tailor']
[]
Q7536834
SYSTEM
Skräddargränd
Q7536834
(c(Q79007),P138,Q242468)
action filter_type
action find_reverse
entity Q242468
relation P138
type Q79007
[ANSWER] has that occupation as its namesake
[{'concept': 'Q79007'}, 'P138', 'Q242468']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q242468 . ?r rdf:type ontology:Q79007 }
Skräddargränd
Skräddargränd has that occupation as its namesake
Skräddargränd
action filter_type
action find_reverse
entity tailor
relation named after
type street
[{'concept': 'street'}, 'named after', 'tailor']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:tailor . ?r rdf:type ontology:street }
[]