Simple Question (Direct)
Simple Question
Q962237
P7
Q502895
USER
Who has Frank Damrosch as their sibling ?
(Q962237,P7,c(Q502895))
action filter_type
action find
entity Q962237
relation P7
type Q502895
['Q962237', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q962237 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Frank Damrosch
action filter_type
action find
entity Frank Damrosch
relation brother
type common name
['Frank Damrosch', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Frank_Damrosch property:brother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q725579
SYSTEM
Walter Damrosch
Q725579
(Q962237,P7,c(Q502895))
action filter_type
action find
entity Q962237
relation P7
type Q502895
[ANSWER] has Frank Damrosch as their sibling
['Q962237', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q962237 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Walter Damrosch
Walter Damrosch has Frank Damrosch as their sibling
Walter Damrosch
action filter_type
action find
entity Frank Damrosch
relation brother
type common name
['Frank Damrosch', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Frank_Damrosch property:brother ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q962237
P106
Q12737077
USER
What do Frank Damrosch do for a living ?
(Q962237,P106,c(Q12737077))
action filter_type
action find
entity Q962237
relation P106
type Q12737077
['Q962237', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q962237 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Frank Damrosch
action filter_type
action find
entity Frank Damrosch
relation occupation
type occupation
['Frank Damrosch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Frank_Damrosch property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q158852 Q16145150
SYSTEM
conductor, music educator
Q158852 Q16145150
(Q962237,P106,c(Q12737077))
action filter_type
action find
entity Q962237
relation P106
type Q12737077
Frank Damrosch do for a living as [ANSWERS]
['Q962237', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q962237 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
conductor music educator
Frank Damrosch do for a living as conductor and music educator
conductor music educator
action filter_type
action find
entity Frank Damrosch
relation occupation
type occupation
['Frank Damrosch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Frank_Damrosch property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q359878
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of greater number of occupations than Erasmus of Formiae ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q359878
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P417 ?j . ?j rdf:type ontology:Q502895 . ?f rdf:type ontology:Q12737077 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q359878 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?y > ?b ) }
Erasmus of Formiae
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Erasmus of Formiae
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:patron_saint ?j . ?j rdf:type ontology:common_name . ?f rdf:type ontology:occupation } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Erasmus_of_Formiae property:patron_saint ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?y > ?b ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q359878
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P417 ?j . ?j rdf:type ontology:Q502895 . ?f rdf:type ontology:Q12737077 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q359878 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?y > ?b ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Erasmus of Formiae
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:patron_saint ?j . ?j rdf:type ontology:common_name . ?f rdf:type ontology:occupation } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Erasmus_of_Formiae property:patron_saint ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?y > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q218921
P417
Q502895 Q12737077
USER
And also tell me about Saint Eustace?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q218921
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ontology:Q502895 . resource:Q218921 property:P417 ?r } } . FILTER ( ?a > ?x ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P417 ?k . ?n rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q502895 } GROUP BY ?k } }
Saint Eustace
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Eustace
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ontology:common_name . resource:Saint_Eustace property:patron_saint ?r } } . FILTER ( ?a > ?x ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:patron_saint ?k . ?n rdf:type ontology:occupation . ?k rdf:type ontology:common_name } GROUP BY ?k } }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q218921
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ontology:Q502895 . resource:Q218921 property:P417 ?r } } . FILTER ( ?a > ?x ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P417 ?k . ?n rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q502895 } GROUP BY ?k } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Eustace
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ontology:common_name . resource:Saint_Eustace property:patron_saint ?r } } . FILTER ( ?a > ?x ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:patron_saint ?k . ?n rdf:type ontology:occupation . ?k rdf:type ontology:common_name } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q191107
P417
Q502895 Q12737077
USER
How many people are the patron saint of less number of occupations than Clare of Assisi ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q191107
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P417 ?y . ?y rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P417 resource:Q191107 . ?n rdf:type ontology:Q12737077 } } . FILTER ( ?r < ?a ) }
Clare of Assisi
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Clare of Assisi
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:patron_saint ?y . ?y rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:patron_saint resource:Clare_of_Assisi . ?n rdf:type ontology:occupation } } . FILTER ( ?r < ?a ) }
[]
common name occupation
SYSTEM
266
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q191107
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P417 ?y . ?y rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P417 resource:Q191107 . ?n rdf:type ontology:Q12737077 } } . FILTER ( ?r < ?a ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
266
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Clare of Assisi
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:patron_saint ?y . ?y rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:patron_saint resource:Clare_of_Assisi . ?n rdf:type ontology:occupation } } . FILTER ( ?r < ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q725579 Q1815054
P21
Q290
USER
How many sexes do Walter Damrosch or Luzia Woman possess ?
(Q725579,P21,c(Q290)) (Q1815054,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q725579
relation P21
type Q290
action filter_type
action find
entity Q1815054
relation P21
type Q290
['Q725579', 'P21', {'concept': 'Q290'}] ['Q1815054', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?v ) { ( resource:Q725579 ) ( resource:Q1815054 ) } . ?v property:P21 ?j }
Walter Damrosch Luzia Woman
action count
action union
action filter_type
action find
entity Walter Damrosch
relation gender
type sex
action filter_type
action find
entity Luzia Woman
relation gender
type sex
['Walter Damrosch', 'gender', {'concept': 'sex'}] ['Luzia Woman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?v ) { ( resource:Walter_Damrosch ) ( resource:Luzia_Woman ) } . ?v property:gender ?j }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q725579,P21,c(Q290)) (Q1815054,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q725579
relation P21
type Q290
action filter_type
action find
entity Q1815054
relation P21
type Q290
[ANSWER]
['Q725579', 'P21', {'concept': 'Q290'}] ['Q1815054', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?v ) { ( resource:Q725579 ) ( resource:Q1815054 ) } . ?v property:P21 ?j }
male female
2
action count
action union
action filter_type
action find
entity Walter Damrosch
relation gender
type sex
action filter_type
action find
entity Luzia Woman
relation gender
type sex
['Walter Damrosch', 'gender', {'concept': 'sex'}] ['Luzia Woman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?v ) { ( resource:Walter_Damrosch ) ( resource:Luzia_Woman ) } . ?v property:gender ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q725579
P86
Q15850590
USER
Which theatrical genre was composed by Walter Damrosch ?
(c(Q15850590),P86,Q725579)
action filter_type
action find_reverse
entity Q725579
relation P86
type Q15850590
[{'concept': 'Q15850590'}, 'P86', 'Q725579']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15850590 . ?y property:P86 resource:Q725579 }
Walter Damrosch
action filter_type
action find_reverse
entity Walter Damrosch
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', 'Walter Damrosch']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:theatrical_genre . ?y property:composer resource:Walter_Damrosch }
[]
theatrical genre
Q7750006
SYSTEM
The Man Without a Country
Q7750006
(c(Q15850590),P86,Q725579)
action filter_type
action find_reverse
entity Q725579
relation P86
type Q15850590
[ANSWER] was composed by Walter Damrosch
[{'concept': 'Q15850590'}, 'P86', 'Q725579']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15850590 . ?y property:P86 resource:Q725579 }
The Man Without a Country
The Man Without a Country was composed by Walter Damrosch
The Man Without a Country
action filter_type
action find_reverse
entity Walter Damrosch
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', 'Walter Damrosch']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:theatrical_genre . ?y property:composer resource:Walter_Damrosch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q725579
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q7750006)
action filter_type
action find_reverse
entity Q725579
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q7750006']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q725579 . ?m rdf:type ontology:Q838948 }
Walter Damrosch
action filter_type
action find_reverse
entity Walter Damrosch
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'The Man Without a Country']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Walter_Damrosch . ?m rdf:type ontology:work_of_art }
[]
work of art
Q16679790
SYSTEM
The Star Maker
Q16679790
(c(Q838948),P161,Q7750006)
action filter_type
action find_reverse
entity Q725579
relation P161
type Q838948
That person stars are [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q7750006']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q725579 . ?m rdf:type ontology:Q838948 }
The Star Maker
That person stars are The Star Maker
The Star Maker
action filter_type
action find_reverse
entity Walter Damrosch
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'The Man Without a Country']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Walter_Damrosch . ?m rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q725579
P161 P364
Q838948
USER
Which works of art have Walter Damrosch as actor and are known to be originally created in English language ?
AND((c(Q838948),P161,Q725579), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q725579
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q725579'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P161 resource:Q725579 . ?u property:P364 resource:Q1860 . ?u rdf:type ontology:Q838948 }
English Walter Damrosch
action filter_type
action intersection
action find_reverse
entity Walter Damrosch
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Walter Damrosch'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:cast_member resource:Walter_Damrosch . ?u property:original_language_of_work resource:English . ?u rdf:type ontology:work_of_art }
[]
work of art
Q16679790
SYSTEM
The Star Maker
Q16679790
AND((c(Q838948),P161,Q725579), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q725579
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWER] have Walter Damrosch as actor and are known to be originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q725579'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P161 resource:Q725579 . ?u property:P364 resource:Q1860 . ?u rdf:type ontology:Q838948 }
The Star Maker
The Star Maker have Walter Damrosch as actor and are known to be originally created in English language
The Star Maker
action filter_type
action intersection
action find_reverse
entity Walter Damrosch
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Walter Damrosch'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:cast_member resource:Walter_Damrosch . ?u property:original_language_of_work resource:English . ?u rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16679790 Q1860
P364
Q34770
USER
Was English used originally for the creation of that work of art ?
(Q16679790,P364,Q1860)
action is_in
entity Q1860
action find
entity Q16679790
relation P364
['Q16679790', 'P364', 'Q1860']
ASK WHERE { resource:Q16679790 property:P364 resource:Q1860 }
The Star Maker English
action is_in
entity English
action find
entity The Star Maker
relation original language of work
['The Star Maker', 'original language of work', 'English']
ASK WHERE { resource:The_Star_Maker property:original_language_of_work resource:English }
[]
language
SYSTEM
YES
(Q16679790,P364,Q1860)
action is_in
entity Q1860
action find
entity Q16679790
relation P364
[ANSWER]
['Q16679790', 'P364', 'Q1860']
ASK WHERE { resource:Q16679790 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity The Star Maker
relation original language of work
['The Star Maker', 'original language of work', 'English']
ASK WHERE { resource:The_Star_Maker property:original_language_of_work resource:English }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7750006 Q1860
P364
Q34770
USER
Is English considered to be the original language of creation of The Man Without a Country ?
(Q7750006,P364,Q1860)
action is_in
entity Q1860
action find
entity Q7750006
relation P364
['Q7750006', 'P364', 'Q1860']
ASK WHERE { resource:Q7750006 property:P364 resource:Q1860 }
The Man Without a Country English
action is_in
entity English
action find
entity The Man Without a Country
relation original language of work
['The Man Without a Country', 'original language of work', 'English']
ASK WHERE { resource:The_Man_Without_a_Country property:original_language_of_work resource:English }
[]
language
SYSTEM
YES
(Q7750006,P364,Q1860)
action is_in
entity Q1860
action find
entity Q7750006
relation P364
[ANSWER]
['Q7750006', 'P364', 'Q1860']
ASK WHERE { resource:Q7750006 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity The Man Without a Country
relation original language of work
['The Man Without a Country', 'original language of work', 'English']
ASK WHERE { resource:The_Man_Without_a_Country property:original_language_of_work resource:English }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q962237 Q12680360 Q12674387
P937
Q56061
USER
Does Frank Damrosch have Šėtijai and Svirplionys as their work location ?
(Q962237,P937,Q12680360) (Q962237,P937,Q12674387)
action is_in
entity Q962237
action intersection
action find_reverse
entity Q12680360
relation P937
action find_reverse
entity Q12674387
relation P937
['Q962237', 'P937', 'Q12680360'] ['Q962237', 'P937', 'Q12674387']
ASK WHERE { resource:Q962237 property:P937 resource:Q12680360 . resource:Q962237 property:P937 resource:Q12674387 }
Frank Damrosch Šėtijai Svirplionys
action is_in
entity Frank Damrosch
action intersection
action find_reverse
entity Šėtijai
relation work location
action find_reverse
entity Svirplionys
relation work location
['Frank Damrosch', 'work location', 'Šėtijai'] ['Frank Damrosch', 'work location', 'Svirplionys']
ASK WHERE { resource:Frank_Damrosch property:work_location resource:Šėtijai . resource:Frank_Damrosch property:work_location resource:Svirplionys }
[]
administrative territorial entity
SYSTEM
NO
(Q962237,P937,Q12680360) (Q962237,P937,Q12674387)
action is_in
entity Q962237
action intersection
action find_reverse
entity Q12680360
relation P937
action find_reverse
entity Q12674387
relation P937
[ANSWER]
['Q962237', 'P937', 'Q12680360'] ['Q962237', 'P937', 'Q12674387']
ASK WHERE { resource:Q962237 property:P937 resource:Q12680360 . resource:Q962237 property:P937 resource:Q12674387 }
No
action is_in
entity Frank Damrosch
action intersection
action find_reverse
entity Šėtijai
relation work location
action find_reverse
entity Svirplionys
relation work location
['Frank Damrosch', 'work location', 'Šėtijai'] ['Frank Damrosch', 'work location', 'Svirplionys']
ASK WHERE { resource:Frank_Damrosch property:work_location resource:Šėtijai . resource:Frank_Damrosch property:work_location resource:Svirplionys }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7750006
P144
Q223393
USER
Where is The Man Without a Country adapted from ?
(Q7750006,P144,c(Q223393))
action filter_type
action find
entity Q7750006
relation P144
type Q223393
['Q7750006', 'P144', {'concept': 'Q223393'}]
SELECT DISTINCT ?p WHERE { resource:Q7750006 property:P144 ?p . ?p rdf:type ontology:Q223393 }
The Man Without a Country
action filter_type
action find
entity The Man Without a Country
relation based on
type literary genre
['The Man Without a Country', 'based on', {'concept': 'literary genre'}]
SELECT DISTINCT ?p WHERE { resource:The_Man_Without_a_Country property:based_on ?p . ?p rdf:type ontology:literary_genre }
[]
literary genre
Q7750004
SYSTEM
The Man Without a Country
Q7750004
(Q7750006,P144,c(Q223393))
action filter_type
action find
entity Q7750006
relation P144
type Q223393
From [ANSWER] is adapted from [ANSWER]
['Q7750006', 'P144', {'concept': 'Q223393'}]
SELECT DISTINCT ?p WHERE { resource:Q7750006 property:P144 ?p . ?p rdf:type ontology:Q223393 }
The Man Without a Country
From The Man Without a Country is adapted from The Man Without a Country
The Man Without a Country
action filter_type
action find
entity The Man Without a Country
relation based on
type literary genre
['The Man Without a Country', 'based on', {'concept': 'literary genre'}]
SELECT DISTINCT ?p WHERE { resource:The_Man_Without_a_Country property:based_on ?p . ?p rdf:type ontology:literary_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12653536 Q12674387
P17
Q15617994
USER
Which administrative territories are Svirplionys or Dvariškiai I situated in ?
OR((Q12674387,P17,c(Q15617994)), (Q12653536,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12674387
relation P17
action find
entity Q12653536
relation P17
type Q15617994
{'OR': [['Q12674387', 'P17', {'concept': 'Q15617994'}], ['Q12653536', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?n ) { ( resource:Q12674387 ) ( resource:Q12653536 ) } . ?n property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
Dvariškiai I Svirplionys
action filter_type
action union
action find
entity Svirplionys
relation country
action find
entity Dvariškiai I
relation country
type designation for an administrative territorial entity
{'OR': [['Svirplionys', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dvariškiai I', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?n ) { ( resource:Svirplionys ) ( resource:Dvariškiai_I ) } . ?n property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
OR((Q12674387,P17,c(Q15617994)), (Q12653536,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12674387
relation P17
action find
entity Q12653536
relation P17
type Q15617994
Svirplionys or Dvariškiai I are situated in [ANSWER]
{'OR': [['Q12674387', 'P17', {'concept': 'Q15617994'}], ['Q12653536', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?n ) { ( resource:Q12674387 ) ( resource:Q12653536 ) } . ?n property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
Lithuania
Svirplionys or Dvariškiai I are situated in Lithuania
Lithuania
action filter_type
action union
action find
entity Svirplionys
relation country
action find
entity Dvariškiai I
relation country
type designation for an administrative territorial entity
{'OR': [['Svirplionys', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dvariškiai I', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?n ) { ( resource:Svirplionys ) ( resource:Dvariškiai_I ) } . ?n property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]