Simple Question (Direct)
Simple Question
Q375434
P27
Q15617994
USER
Which administrative territory is Beatrice Armstrong an inhabitant of ?
(Q375434,P27,c(Q15617994))
action filter_type
action find
entity Q375434
relation P27
type Q15617994
['Q375434', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q375434 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Beatrice Armstrong
action filter_type
action find
entity Beatrice Armstrong
relation country of citizenship
type designation for an administrative territorial entity
['Beatrice Armstrong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Beatrice_Armstrong property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q375434,P27,c(Q15617994))
action filter_type
action find
entity Q375434
relation P27
type Q15617994
The [ANSWER] is Beatrice Armstrong an inhabitant of
['Q375434', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q375434 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Beatrice Armstrong an inhabitant of
United Kingdom
action filter_type
action find
entity Beatrice Armstrong
relation country of citizenship
type designation for an administrative territorial entity
['Beatrice Armstrong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Beatrice_Armstrong property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q375434
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q375434
relation P106
type Q12737077
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q375434 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Beatrice Armstrong
action filter_type
action find
entity Beatrice Armstrong
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Beatrice_Armstrong property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q16004431
SYSTEM
diver
Q16004431
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q375434
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q375434 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
diver
Diver has that person as his/her 's career
diver
action filter_type
action find
entity Beatrice Armstrong
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Beatrice_Armstrong property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3846463 Q375434
P106
Q12737077
USER
Or Marco Sanges?
OR((Q375434,P106,c(Q12737077)), (Q3846463,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q375434
relation P106
action find
entity Q3846463
relation P106
type Q12737077
{'OR': [['Q375434', 'P106', {'concept': 'Q12737077'}], ['Q3846463', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?q ) { ( resource:Q3846463 ) ( resource:Q375434 ) } . ?q property:P106 ?w } . ?w rdf:type ontology:Q12737077 }
Marco Sanges Beatrice Armstrong
action filter_type
action union
action find
entity Beatrice Armstrong
relation occupation
action find
entity Marco Sanges
relation occupation
type occupation
{'OR': [['Beatrice Armstrong', 'occupation', {'concept': 'occupation'}], ['Marco Sanges', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?q ) { ( resource:Marco_Sanges ) ( resource:Beatrice_Armstrong ) } . ?q property:occupation ?w } . ?w rdf:type ontology:occupation }
[]
occupation
Q16004431 Q33231
SYSTEM
diver, photographer
Q16004431 Q33231
OR((Q375434,P106,c(Q12737077)), (Q3846463,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q375434
relation P106
action find
entity Q3846463
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q375434', 'P106', {'concept': 'Q12737077'}], ['Q3846463', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?q ) { ( resource:Q3846463 ) ( resource:Q375434 ) } . ?q property:P106 ?w } . ?w rdf:type ontology:Q12737077 }
diver photographer
diver photographer
action filter_type
action union
action find
entity Beatrice Armstrong
relation occupation
action find
entity Marco Sanges
relation occupation
type occupation
{'OR': [['Beatrice Armstrong', 'occupation', {'concept': 'occupation'}], ['Marco Sanges', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?q ) { ( resource:Marco_Sanges ) ( resource:Beatrice_Armstrong ) } . ?q property:occupation ?w } . ?w rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q379685
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of approximately the same number of occupations as Isidore the Laborer ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q379685
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P417 ?s . ?s rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q379685 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?d = ?l ) }
Isidore the Laborer
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Isidore the Laborer
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:patron_saint ?s . ?s rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Isidore_the_Laborer property:patron_saint ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?d = ?l ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q379685
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of approximately the same number of occupations as Isidore the Laborer
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P417 ?s . ?s rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q379685 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?d = ?l ) }
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 approximately the same number of occupations as Isidore the Laborer
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Isidore the Laborer
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:patron_saint ?s . ?s rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Isidore_the_Laborer property:patron_saint ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?d = ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9682
P166
Q2003221 Q193622
USER
How many chivalric orders or orders were won by Elizabeth II ?
(Q9682,P166,c(Q2003221)) (Q9682,P166,c(Q193622))
action count
action union
action filter_type
action find
entity Q9682
relation P166
type Q2003221
action filter_type
action find
entity Q9682
relation P166
type Q193622
['Q9682', 'P166', {'concept': 'Q2003221'}] ['Q9682', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Q9682 property:P166 ?h . ?h rdf:type ontology:Q2003221 } UNION { resource:Q9682 property:P166 ?h . ?h rdf:type ontology:Q193622 } }
Elizabeth II
action count
action union
action filter_type
action find
entity Elizabeth II
relation award received
type chivalric order
action filter_type
action find
entity Elizabeth II
relation award received
type order
['Elizabeth II', 'award received', {'concept': 'chivalric order'}] ['Elizabeth II', 'award received', {'concept': 'order'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Elizabeth_II property:award_received ?h . ?h rdf:type ontology:chivalric_order } UNION { resource:Elizabeth_II property:award_received ?h . ?h rdf:type ontology:order } }
[]
chivalric order order
SYSTEM
4
Q15117228 Q1635491 Q3885362 Q14539990
(Q9682,P166,c(Q2003221)) (Q9682,P166,c(Q193622))
action count
action union
action filter_type
action find
entity Q9682
relation P166
type Q2003221
action filter_type
action find
entity Q9682
relation P166
type Q193622
[ANSWER]
['Q9682', 'P166', {'concept': 'Q2003221'}] ['Q9682', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Q9682 property:P166 ?h . ?h rdf:type ontology:Q2003221 } UNION { resource:Q9682 property:P166 ?h . ?h rdf:type ontology:Q193622 } }
Knight of the Order of the Golden Fleece Order of the Crown of India Order of the Virtues Knight Grand Cross with Collar of the Order of Merit of the Italian Republic
4
action count
action union
action filter_type
action find
entity Elizabeth II
relation award received
type chivalric order
action filter_type
action find
entity Elizabeth II
relation award received
type order
['Elizabeth II', 'award received', {'concept': 'chivalric order'}] ['Elizabeth II', 'award received', {'concept': 'order'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Elizabeth_II property:award_received ?h . ?h rdf:type ontology:chivalric_order } UNION { resource:Elizabeth_II property:award_received ?h . ?h rdf:type ontology:order } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q376924
P180
Q12737077 Q838948 Q17638008
USER
Which occupations are demonstrated in around the same number of works of art or game equipment as courtesan ?
(c(Q838948)|c(Q17638008),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q376924
relation P180
type Q838948
type Q17638008
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?i ) WHERE { ?k rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q17638008 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P180 resource:Q376924 . { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q17638008 ) } } } } . FILTER ( ?i = ?l ) }
courtesan
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity courtesan
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?i ) WHERE { ?k rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:game_equipment ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:depicts resource:courtesan . { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:game_equipment ) } } } } . FILTER ( ?i = ?l ) }
[]
occupation work of art game equipment
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 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q838948)|c(Q17638008),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q376924
relation P180
type Q838948
type Q17638008
[ANSWERS] are demonstrated in around the same number of works of art or game equipment as courtesan
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?i ) WHERE { ?k rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q17638008 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P180 resource:Q376924 . { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q17638008 ) } } } } . FILTER ( ?i = ?l ) }
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 violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector 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 dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner 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 mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are demonstrated in around the same number of works of art or game equipment as courtesan
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity courtesan
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?i ) WHERE { ?k rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:game_equipment ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:depicts resource:courtesan . { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:game_equipment ) } } } } . FILTER ( ?i = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q38883
P180
Q12737077 Q838948 Q17638008
USER
And what about cooper?
(c(Q838948)|c(Q17638008),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q38883
relation P180
type Q838948
type Q17638008
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q17638008 } UNION { ?l property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q838948 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P180 resource:Q38883 . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q17638008 } } } } . FILTER ( ?f = ?o ) }
cooper
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity cooper
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:depicts ?j . ?j rdf:type ontology:occupation . ?l rdf:type ontology:game_equipment } UNION { ?l property:depicts ?j . ?j rdf:type ontology:occupation . ?l rdf:type ontology:work_of_art } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:depicts resource:cooper . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:game_equipment } } } } . FILTER ( ?f = ?o ) }
[]
occupation work of art game equipment
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 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q838948)|c(Q17638008),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q38883
relation P180
type Q838948
type Q17638008
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q17638008 } UNION { ?l property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q838948 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P180 resource:Q38883 . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q17638008 } } } } . FILTER ( ?f = ?o ) }
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 violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector 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 dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner 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 mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity cooper
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:depicts ?j . ?j rdf:type ontology:occupation . ?l rdf:type ontology:game_equipment } UNION { ?l property:depicts ?j . ?j rdf:type ontology:occupation . ?l rdf:type ontology:work_of_art } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:depicts resource:cooper . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:game_equipment } } } } . FILTER ( ?f = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8413
P417
Q502895 Q12737077
USER
Which people are the patron saint of approximately the same number of occupations as Constantine the Great ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q8413
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 . ?d property:P417 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q8413 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?j = ?g ) }
Constantine the Great
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Constantine the Great
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?b rdf:type ontology:common_name . ?d rdf:type ontology:occupation . ?d property:patron_saint ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Constantine_the_Great property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?j = ?g ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q8413
relation P417
type Q502895
[ANSWERS] are the patron saint of approximately the same number of occupations as Constantine the Great
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 . ?d property:P417 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q8413 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?j = ?g ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of approximately the same number of occupations as Constantine the Great
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Constantine the Great
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?b rdf:type ontology:common_name . ?d rdf:type ontology:occupation . ?d property:patron_saint ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Constantine_the_Great property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?j = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q469978
P417
Q502895 Q12737077
USER
And how about Devota?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q469978
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:P417 ?i . ?i rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q469978 property:P417 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?e = ?v ) }
Devota
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Devota
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:patron_saint ?i . ?i rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Devota property:patron_saint ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?e = ?v ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q469978
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:P417 ?i . ?i rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q469978 property:P417 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?e = ?v ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Devota
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:patron_saint ?i . ?i rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Devota property:patron_saint ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?e = ?v ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9682 Q191479 Q346
P25
Q502895
USER
Which people were the mother of Elizabeth II, Tadeusz Kościuszko and Louis IX of France ?
(Q9682,P25,c(Q502895)) (Q191479,P25,c(Q502895)) (Q346,P25,c(Q502895))
action union
action filter_type
action find
entity Q9682
relation P25
type Q502895
action filter_type
action find
entity Q191479
relation P25
type Q502895
action filter_type
action find
entity Q346
relation P25
type Q502895
['Q9682', 'P25', {'concept': 'Q502895'}] ['Q191479', 'P25', {'concept': 'Q502895'}] ['Q346', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { resource:Q191479 property:P25 ?z . ?z rdf:type ontology:Q502895 } UNION { resource:Q9682 property:P25 ?z . ?z rdf:type ontology:Q502895 } }
Elizabeth II Tadeusz Kościuszko Louis IX of France
action union
action filter_type
action find
entity Elizabeth II
relation mother
type common name
action filter_type
action find
entity Tadeusz Kościuszko
relation mother
type common name
action filter_type
action find
entity Louis IX of France
relation mother
type common name
['Elizabeth II', 'mother', {'concept': 'common name'}] ['Tadeusz Kościuszko', 'mother', {'concept': 'common name'}] ['Louis IX of France', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { resource:Tadeusz_Kościuszko property:mother ?z . ?z rdf:type ontology:common_name } UNION { resource:Elizabeth_II property:mother ?z . ?z rdf:type ontology:common_name } }
[]
common name
Q10633 Q9356383 Q353
SYSTEM
Queen Elizabeth The Queen Mother, Tekla Ratomska, Blanche of Castile
Q10633 Q9356383 Q353
(Q9682,P25,c(Q502895)) (Q191479,P25,c(Q502895)) (Q346,P25,c(Q502895))
action union
action filter_type
action find
entity Q9682
relation P25
type Q502895
action filter_type
action find
entity Q191479
relation P25
type Q502895
action filter_type
action find
entity Q346
relation P25
type Q502895
[ANSWERS] were the mother of Elizabeth II, Tadeusz Kościuszko and Louis IX of France
['Q9682', 'P25', {'concept': 'Q502895'}] ['Q191479', 'P25', {'concept': 'Q502895'}] ['Q346', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { resource:Q191479 property:P25 ?z . ?z rdf:type ontology:Q502895 } UNION { resource:Q9682 property:P25 ?z . ?z rdf:type ontology:Q502895 } }
Queen Elizabeth The Queen Mother Tekla Ratomska Blanche of Castile
Queen Elizabeth The Queen Mother, Tekla Ratomska and Blanche of Castile were the mother of Elizabeth II, Tadeusz Kościuszko and Louis IX of France
Queen Elizabeth The Queen Mother Tekla Ratomska Blanche of Castile
action union
action filter_type
action find
entity Elizabeth II
relation mother
type common name
action filter_type
action find
entity Tadeusz Kościuszko
relation mother
type common name
action filter_type
action find
entity Louis IX of France
relation mother
type common name
['Elizabeth II', 'mother', {'concept': 'common name'}] ['Tadeusz Kościuszko', 'mother', {'concept': 'common name'}] ['Louis IX of France', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { resource:Tadeusz_Kościuszko property:mother ?z . ?z rdf:type ontology:common_name } UNION { resource:Elizabeth_II property:mother ?z . ?z rdf:type ontology:common_name } }
[]