Simple Question (Direct)
Simple Question
Q7598973
P21
Q290
USER
Which sex does Stanislav Alekseyenko possess ?
(Q7598973,P21,c(Q290))
action filter_type
action find
entity Q7598973
relation P21
type Q290
['Q7598973', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q7598973 property:P21 ?t . ?t rdf:type ontology:Q290 }
Stanislav Alekseyenko
action filter_type
action find
entity Stanislav Alekseyenko
relation gender
type sex
['Stanislav Alekseyenko', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Stanislav_Alekseyenko property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7598973,P21,c(Q290))
action filter_type
action find
entity Q7598973
relation P21
type Q290
Stanislav Alekseyenko possesses le [ANSWER]
['Q7598973', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q7598973 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Stanislav Alekseyenko possesses le male
male
action filter_type
action find
entity Stanislav Alekseyenko
relation gender
type sex
['Stanislav Alekseyenko', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Stanislav_Alekseyenko property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7598973
P106
Q12737077
USER
What is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7598973
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q7598973 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Stanislav Alekseyenko
action filter_type
action find
entity Stanislav Alekseyenko
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Stanislav_Alekseyenko property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7598973
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q7598973 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Stanislav Alekseyenko
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Stanislav_Alekseyenko property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q20724701 Q215380
USER
How many city or town in Armenias or bands have that occupation as his/her means of employment ?
(c(Q20724701),P106,Q937857) (c(Q215380),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q215380),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
action filter_type
action find_reverse
entity Q937857
relation P106
type Q215380
[{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o property:P106 resource:Q937857 . ?o rdf:type ontology:Q20724701 } UNION { ?o property:P106 resource:Q937857 . ?o rdf:type ontology:Q215380 } }
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
action filter_type
action find_reverse
entity association football player
relation occupation
type band
[{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o property:occupation resource:association_football_player . ?o rdf:type ontology:city_or_town_in_Armenia } UNION { ?o property:occupation resource:association_football_player . ?o rdf:type ontology:band } }
[]
city or town in Armenia band
SYSTEM
2
Q6835842 Q2817360
(c(Q20724701),P106,Q937857) (c(Q215380),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q215380),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
action filter_type
action find_reverse
entity Q937857
relation P106
type Q215380
[ANSWER]
[{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o property:P106 resource:Q937857 . ?o rdf:type ontology:Q20724701 } UNION { ?o property:P106 resource:Q937857 . ?o rdf:type ontology:Q215380 } }
Michal Vepřek Masis Voskanyan
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
action filter_type
action find_reverse
entity association football player
relation occupation
type band
[{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o property:occupation resource:association_football_player . ?o rdf:type ontology:city_or_town_in_Armenia } UNION { ?o property:occupation resource:association_football_player . ?o rdf:type ontology:band } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of exactly 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P417 ?k . ?k rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?k } . FILTER ( ?l = 3 ) }
action count
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:patron_saint ?k . ?k rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?k } . FILTER ( ?l = 3 ) }
[]
common name occupation
SYSTEM
3
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action count
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P417 ?k . ?k rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?k } . FILTER ( ?l = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
3
action count
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:patron_saint ?k . ?k rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?k } . FILTER ( ?l = 3 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q9438
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of lesser number of occupations than Thomas Aquinas ?
(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 Q9438
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:Q12737077 . ?y property:P417 resource:Q9438 } } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P417 ?z . ?z rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?z } }
Thomas Aquinas
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Thomas Aquinas
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:occupation . ?y property:patron_saint resource:Thomas_Aquinas } } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:patron_saint ?z . ?z rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?z } }
[]
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 Q9438
relation P417
type Q12737077
[ANSWERS] are the names of the patron saint of lesser number of occupations than Thomas Aquinas
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:Q12737077 . ?y property:P417 resource:Q9438 } } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P417 ?z . ?z rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?z } }
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 the patron saint of lesser number of occupations than Thomas Aquinas
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 Thomas Aquinas
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:occupation . ?y property:patron_saint resource:Thomas_Aquinas } } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:patron_saint ?z . ?z rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q152457
P417
Q502895 Q12737077
USER
And also tell me about Saint Roch?
(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 Q152457
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P417 ?s . ?o rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?g < ?z ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P417 resource:Q152457 . ?u rdf:type ontology:Q12737077 } } }
Saint Roch
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 Roch
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:patron_saint ?s . ?o rdf:type ontology:occupation . ?s rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?g < ?z ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:patron_saint resource:Saint_Roch . ?u rdf:type ontology:occupation } } }
[]
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 Q152457
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P417 ?s . ?o rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?g < ?z ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P417 resource:Q152457 . ?u rdf:type ontology:Q12737077 } } }
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 Saint Roch
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:patron_saint ?s . ?o rdf:type ontology:occupation . ?s rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?g < ?z ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:patron_saint resource:Saint_Roch . ?u rdf:type ontology:occupation } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9682
P25
Q502895
USER
Which people have that one as mom ?
(c(Q502895),P25,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q9682']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P25 resource:Q9682 }
Elizabeth II
action filter_type
action find_reverse
entity Elizabeth II
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Elizabeth II']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:mother resource:Elizabeth_II }
[]
common name
Clarification for simple ques.
Q346
SYSTEM
Did you mean Louis IX of France ?
Q9682 Q191479 Q346
(c(Q502895),P25,Q9682) (c(Q502895),P25,Q191479) (c(Q502895),P25,Q346)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q9682'] [{'concept': 'Q502895'}, 'P25', 'Q191479'] [{'concept': 'Q502895'}, 'P25', 'Q346']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P25 resource:Q9682 }
Elizabeth II Tadeusz Kościuszko Louis IX of France
Did you mean Louis IX of France ?
Louis IX of France
[{'concept': 'common name'}, 'mother', 'Elizabeth II'] [{'concept': 'common name'}, 'mother', 'Tadeusz Kościuszko'] [{'concept': 'common name'}, 'mother', 'Louis IX of France']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:mother resource:Elizabeth_II }
[]
Simple Question (Coreferenced)
USER
No, I meant Elizabeth II. Could you tell me the answer for that?
(c(Q502895),P25,Q9682)
Q9682
[{'concept': 'Q502895'}, 'P25', 'Q9682']
[{'concept': 'common name'}, 'mother', 'Elizabeth II']
[]
Q153330 Q151754 Q43274
SYSTEM
Prince Andrew, Duke of York, Anne, Princess Royal, Charles, Prince of Wales
Q153330 Q151754 Q43274 Q154920
(c(Q502895),P25,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P25
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q9682']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P25 resource:Q9682 }
Prince Andrew, Duke of York Anne, Princess Royal Charles, Prince of Wales Prince Edward, Earl of Wessex
Prince Andrew, Duke of York, Anne, Princess Royal and Charles, Prince of Wales have that one as mom
Prince Andrew, Duke of York Anne, Princess Royal Charles, Prince of Wales
action filter_type
action find_reverse
entity Elizabeth II
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Elizabeth II']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:mother resource:Elizabeth_II }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15416
USER
Which television programs did min number of people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15416
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?a ) { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?i ) WHERE { ?l property:P725 ?o . ?l rdf:type ontology:Q15416 . ?o rdf:type ontology:Q502895 } GROUP BY ?l } } . { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?n ) WHERE { ?e rdf:type ontology:Q15416 . ?z rdf:type ontology:Q502895 . ?e property:P725 ?z } GROUP BY ?e } . FILTER ( ?n = ?a ) }
action argmin
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?a ) { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?i ) WHERE { ?l property:voice_actor ?o . ?l rdf:type ontology:television_program . ?o rdf:type ontology:common_name } GROUP BY ?l } } . { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?n ) WHERE { ?e rdf:type ontology:television_program . ?z rdf:type ontology:common_name . ?e property:voice_actor ?z } GROUP BY ?e } . FILTER ( ?n = ?a ) }
[]
common name television program
Q472309 Q1617715 Q1146803
SYSTEM
Princess of Thieves, The Wonderful Galaxy of Oz, Cuéntame cómo pasó
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q128969 Q2455207 Q2452999 Q702039 Q7496805 Q699760 Q1146803 Q2140751 Q4033639 Q1640364 Q3098248 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q430369 Q1494222 Q452374 Q2339582 Q5976198 Q1353486 Q45035
(c(Q15416),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15416
type Q502895
Min number of people did the dubbing for The [ANSWERS]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?a ) { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?i ) WHERE { ?l property:P725 ?o . ?l rdf:type ontology:Q15416 . ?o rdf:type ontology:Q502895 } GROUP BY ?l } } . { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?n ) WHERE { ?e rdf:type ontology:Q15416 . ?z rdf:type ontology:Q502895 . ?e property:P725 ?z } GROUP BY ?e } . FILTER ( ?n = ?a ) }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Calimero Mnemosyne Remi, Nobody's Girl The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Saiyuki Cuéntame cómo pasó Boogiepop Phantom Akahori Gedou Hour Rabuge Wild Arms: Twilight Venom Stratos 4 The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? The Critic Garfield in the Rough Ah My Buddha Trapp Family Story I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Renkin 3-kyū Magical? Pokān
Min number of people did the dubbing for The Princess of Thieves, The Wonderful Galaxy of Oz and Cuéntame cómo pasó
Princess of Thieves The Wonderful Galaxy of Oz Cuéntame cómo pasó
action argmin
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?a ) { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?i ) WHERE { ?l property:voice_actor ?o . ?l rdf:type ontology:television_program . ?o rdf:type ontology:common_name } GROUP BY ?l } } . { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?n ) WHERE { ?e rdf:type ontology:television_program . ?z rdf:type ontology:common_name . ?e property:voice_actor ?z } GROUP BY ?e } . FILTER ( ?n = ?a ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q346
P417 P17
Q44539
USER
Which temples have adopted Louis IX of France as patron saint and are located in France ?
AND((c(Q44539),P417,Q346), (c(Q44539),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q346
relation P417
action find_reverse
entity Q142
relation P17
type Q44539
{'AND': [[{'concept': 'Q44539'}, 'P417', 'Q346'], [{'concept': 'Q44539'}, 'P17', 'Q142']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q44539 . ?t property:P417 resource:Q346 . ?t property:P17 resource:Q142 }
France Louis IX of France
action filter_type
action intersection
action find_reverse
entity Louis IX of France
relation patron saint
action find_reverse
entity France
relation country
type temple
{'AND': [[{'concept': 'temple'}, 'patron saint', 'Louis IX of France'], [{'concept': 'temple'}, 'country', 'France']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:temple . ?t property:patron_saint resource:Louis_IX_of_France . ?t property:country resource:France }
[]
temple
Q195532 Q1247969 Q1709616
SYSTEM
Saint-Louis-du-Louvre, Saint-Paul-Saint-Louis, Saint-Louis-en-l'Île
Q195532 Q1247969 Q1709616
AND((c(Q44539),P417,Q346), (c(Q44539),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q346
relation P417
action find_reverse
entity Q142
relation P17
type Q44539
[ANSWERS] have adopted Louis IX of France as patron saint and are located in France
{'AND': [[{'concept': 'Q44539'}, 'P417', 'Q346'], [{'concept': 'Q44539'}, 'P17', 'Q142']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q44539 . ?t property:P417 resource:Q346 . ?t property:P17 resource:Q142 }
Saint-Louis-du-Louvre Saint-Paul-Saint-Louis Saint-Louis-en-l'Île
Saint-Louis-du-Louvre, Saint-Paul-Saint-Louis and Saint-Louis-en-l'Île have adopted Louis IX of France as patron saint and are located in France
Saint-Louis-du-Louvre Saint-Paul-Saint-Louis Saint-Louis-en-l'Île
action filter_type
action intersection
action find_reverse
entity Louis IX of France
relation patron saint
action find_reverse
entity France
relation country
type temple
{'AND': [[{'concept': 'temple'}, 'patron saint', 'Louis IX of France'], [{'concept': 'temple'}, 'country', 'France']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:temple . ?t property:patron_saint resource:Louis_IX_of_France . ?t property:country resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q43274
P22
Q502895
USER
How many people have Charles, Prince of Wales as a father ?
(c(Q502895),P22,Q43274)
action count
action filter_type
action find_reverse
entity Q43274
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q43274']
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P22 resource:Q43274 . ?f rdf:type ontology:Q502895 }
Charles, Prince of Wales
action count
action filter_type
action find_reverse
entity Charles, Prince of Wales
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles, Prince of Wales']
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:father resource:Charles,_Prince_of_Wales . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q152316 Q36812
(c(Q502895),P22,Q43274)
action count
action filter_type
action find_reverse
entity Q43274
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q43274']
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P22 resource:Q43274 . ?f rdf:type ontology:Q502895 }
Prince Harry of Wales Prince William, Duke of Cambridge
2
action count
action filter_type
action find_reverse
entity Charles, Prince of Wales
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles, Prince of Wales']
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:father resource:Charles,_Prince_of_Wales . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2929493
P25
Q502895
USER
How many people have Béatrice d'Orléans as mother ?
(c(Q502895),P25,Q2929493)
action count
action filter_type
action find_reverse
entity Q2929493
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q2929493']
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P25 resource:Q2929493 . ?v rdf:type ontology:Q502895 }
Béatrice d'Orléans
action count
action filter_type
action find_reverse
entity Béatrice d'Orléans
relation mother
type common name
[{'concept': 'common name'}, 'mother', "Béatrice d'Orléans"]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:mother resource:Béatrice_d'Orléans . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q16568880 Q2958306
(c(Q502895),P25,Q2929493)
action count
action filter_type
action find_reverse
entity Q2929493
relation P25
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q2929493']
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P25 resource:Q2929493 . ?v rdf:type ontology:Q502895 }
Francisco Carlos de Orleans Prince Charles Philippe, Duke of Anjou
2
action count
action filter_type
action find_reverse
entity Béatrice d'Orléans
relation mother
type common name
[{'concept': 'common name'}, 'mother', "Béatrice d'Orléans"]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:mother resource:Béatrice_d'Orléans . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6315276
P25
Q502895
USER
And how about Margaret of Pomerania?
(c(Q502895),P25,Q6315276)
action count
action filter_type
action find_reverse
entity Q6315276
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q6315276']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P25 resource:Q6315276 . ?u rdf:type ontology:Q502895 }
Margaret of Pomerania
action count
action filter_type
action find_reverse
entity Margaret of Pomerania
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Margaret of Pomerania']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:mother resource:Margaret_of_Pomerania . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q479429
(c(Q502895),P25,Q6315276)
action count
action filter_type
action find_reverse
entity Q6315276
relation P25
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q6315276']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P25 resource:Q6315276 . ?u rdf:type ontology:Q502895 }
Augustus, Duke of Saxe-Lauenburg
1
action count
action filter_type
action find_reverse
entity Margaret of Pomerania
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Margaret of Pomerania']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:mother resource:Margaret_of_Pomerania . ?u rdf:type ontology:common_name }
[]