Simple Question (Direct)
Simple Question
Q20851586
P106
Q12737077
USER
What are the job of Natalia Szroeder ?
(Q20851586,P106,c(Q12737077))
action filter_type
action find
entity Q20851586
relation P106
type Q12737077
['Q20851586', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q20851586 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Natalia Szroeder
action filter_type
action find
entity Natalia Szroeder
relation occupation
type occupation
['Natalia Szroeder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Natalia_Szroeder property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q753110 Q822146 Q486748
SYSTEM
songwriter, lyricist, pianist
Q753110 Q822146 Q486748
(Q20851586,P106,c(Q12737077))
action filter_type
action find
entity Q20851586
relation P106
type Q12737077
The job of Natalia Szroeder are a [ANSWERS]
['Q20851586', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q20851586 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
songwriter lyricist pianist
The job of Natalia Szroeder are a songwriter, lyricist and pianist
songwriter lyricist pianist
action filter_type
action find
entity Natalia Szroeder
relation occupation
type occupation
['Natalia Szroeder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Natalia_Szroeder property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20851586
P1303
Q34379
USER
What musical instruments can that person perform with ?
(Q753110,P1303,c(Q34379)) (Q822146,P1303,c(Q34379)) (Q486748,P1303,c(Q34379))
action filter_type
action find
entity Q20851586
relation P1303
type Q34379
['Q753110', 'P1303', {'concept': 'Q34379'}] ['Q822146', 'P1303', {'concept': 'Q34379'}] ['Q486748', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { resource:Q20851586 property:P1303 ?z . ?z rdf:type ontology:Q34379 }
Natalia Szroeder
action filter_type
action find
entity Natalia Szroeder
relation instrument
type musical instrument
['songwriter', 'instrument', {'concept': 'musical instrument'}] ['lyricist', 'instrument', {'concept': 'musical instrument'}] ['pianist', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { resource:Natalia_Szroeder property:instrument ?z . ?z rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355 Q5994
SYSTEM
violin, piano
Q8355 Q5994
(Q753110,P1303,c(Q34379)) (Q822146,P1303,c(Q34379)) (Q486748,P1303,c(Q34379))
action filter_type
action find
entity Q20851586
relation P1303
type Q34379
That person can perform on [ANSWERS]
['Q753110', 'P1303', {'concept': 'Q34379'}] ['Q822146', 'P1303', {'concept': 'Q34379'}] ['Q486748', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { resource:Q20851586 property:P1303 ?z . ?z rdf:type ontology:Q34379 }
violin piano
That person can perform on violin and piano
violin piano
action filter_type
action find
entity Natalia Szroeder
relation instrument
type musical instrument
['songwriter', 'instrument', {'concept': 'musical instrument'}] ['lyricist', 'instrument', {'concept': 'musical instrument'}] ['pianist', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { resource:Natalia_Szroeder property:instrument ?z . ?z rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q7804591 Q20851586
P1303
Q34379
USER
And also Timb Harris
AND((Q20851586,P1303,c(Q34379)), (Q7804591,P1303,c(Q34379)))
action filter_type
action intersection
action find
entity Q20851586
relation P1303
action find
entity Q7804591
relation P1303
type Q34379
{'AND': [['Q20851586', 'P1303', {'concept': 'Q34379'}], ['Q7804591', 'P1303', {'concept': 'Q34379'}]]}
SELECT DISTINCT ?o WHERE { resource:Q20851586 property:P1303 ?o . resource:Q7804591 property:P1303 ?o . ?o rdf:type ontology:Q34379 }
Timb Harris Natalia Szroeder
action filter_type
action intersection
action find
entity Natalia Szroeder
relation instrument
action find
entity Timb Harris
relation instrument
type musical instrument
{'AND': [['Natalia Szroeder', 'instrument', {'concept': 'musical instrument'}], ['Timb Harris', 'instrument', {'concept': 'musical instrument'}]]}
SELECT DISTINCT ?o WHERE { resource:Natalia_Szroeder property:instrument ?o . resource:Timb_Harris property:instrument ?o . ?o rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
AND((Q20851586,P1303,c(Q34379)), (Q7804591,P1303,c(Q34379)))
action filter_type
action intersection
action find
entity Q20851586
relation P1303
action find
entity Q7804591
relation P1303
type Q34379
[ANSWER]
{'AND': [['Q20851586', 'P1303', {'concept': 'Q34379'}], ['Q7804591', 'P1303', {'concept': 'Q34379'}]]}
SELECT DISTINCT ?o WHERE { resource:Q20851586 property:P1303 ?o . resource:Q7804591 property:P1303 ?o . ?o rdf:type ontology:Q34379 }
violin
violin
action filter_type
action intersection
action find
entity Natalia Szroeder
relation instrument
action find
entity Timb Harris
relation instrument
type musical instrument
{'AND': [['Natalia Szroeder', 'instrument', {'concept': 'musical instrument'}], ['Timb Harris', 'instrument', {'concept': 'musical instrument'}]]}
SELECT DISTINCT ?o WHERE { resource:Natalia_Szroeder property:instrument ?o . resource:Timb_Harris property:instrument ?o . ?o rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q276148
P417
Q502895 Q12737077
USER
Which people are the patron saints of approximately the same number of occupations as Charalampus ?
(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 Q276148
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P417 ?x . ?x rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q276148 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?h = ?n ) }
Charalampus
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Charalampus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:patron_saint ?x . ?x rdf:type ontology:common_name . ?w rdf:type ontology:occupation } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Charalampus property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?h = ?n ) }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(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 Q276148
relation P417
type Q502895
[ANSWERS] are the patron saints of approximately the same number of occupations as Charalampus
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P417 ?x . ?x rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q276148 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?h = ?n ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas, Albertus Magnus and Ignatius of Loyola are the patron saints of approximately the same number of occupations as Charalampus
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Charalampus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:patron_saint ?x . ?x rdf:type ontology:common_name . ?w rdf:type ontology:occupation } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Charalampus property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?h = ?n ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P937
Q56061
USER
How many administrative territories are the locations where that person worked ?
(Q60059,P937,c(Q56061))
['Q60059', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q60059 property:Q27067654 ?z . ?z rdf:type ontology:Q56061 }
['Albertus Magnus', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Albertus_Magnus property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q9438
SYSTEM
Did you mean Thomas Aquinas ?
(Q9438,P937,c(Q56061)) (Q60059,P937,c(Q56061)) (Q44281,P937,c(Q56061))
[ANSWER]
['Q9438', 'P937', {'concept': 'Q56061'}] ['Q60059', 'P937', {'concept': 'Q56061'}] ['Q44281', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q60059 property:Q27067654 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Thomas Aquinas ?
Thomas Aquinas
['Thomas Aquinas', 'work location', {'concept': 'administrative territorial entity'}] ['Albertus Magnus', 'work location', {'concept': 'administrative territorial entity'}] ['Ignatius of Loyola', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Albertus_Magnus property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Albertus Magnus. Could you tell me the answer for that?
(Q60059,P937,c(Q56061))
Q60059
['Q60059', 'P937', {'concept': 'Q56061'}]
['Albertus Magnus', 'work location', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q365
(Q60059,P937,c(Q56061))
[ANSWER]
['Q60059', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q60059 property:Q27067654 ?z . ?z rdf:type ontology:Q56061 }
Cologne
1
['Albertus Magnus', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Albertus_Magnus property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q243427
P417
Q502895 Q12737077
USER
How many people are the patron saints of approximately the same number of occupations as Adalbert of Prague ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q243427
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q502895 . ?k property:P417 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q502895 . resource:Q243427 property:P417 ?q } } . FILTER ( ?u = ?m ) }
Adalbert of Prague
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Adalbert of Prague
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ontology:occupation . ?a rdf:type ontology:common_name . ?k property:patron_saint ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:common_name . resource:Adalbert_of_Prague property:patron_saint ?q } } . FILTER ( ?u = ?m ) }
[]
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 approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q243427
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q502895 . ?k property:P417 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q502895 . resource:Q243427 property:P417 ?q } } . FILTER ( ?u = ?m ) }
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 approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Adalbert of Prague
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ontology:occupation . ?a rdf:type ontology:common_name . ?k property:patron_saint ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:common_name . resource:Adalbert_of_Prague property:patron_saint ?q } } . FILTER ( ?u = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2697247
P417
Q502895 Q12737077
USER
And what about Catellus of Castellammare?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q2697247
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P417 ?g . ?g rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?g } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q2697247 property:P417 ?j } } }
Catellus of Castellammare
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Catellus of Castellammare
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:patron_saint ?g . ?g rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?g } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ontology:common_name . resource:Catellus_of_Castellammare property:patron_saint ?j } } }
[]
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 approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q2697247
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P417 ?g . ?g rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?g } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q2697247 property:P417 ?j } } }
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 approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Catellus of Castellammare
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:patron_saint ?g . ?g rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?g } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ontology:common_name . resource:Catellus_of_Castellammare property:patron_saint ?j } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20851586
P19
Q486972
USER
Where was Natalia Szroeder born ?
(Q20851586,P19,c(Q486972))
action filter_type
action find
entity Q20851586
relation P19
type Q486972
['Q20851586', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { resource:Q20851586 property:P19 ?y . ?y rdf:type ontology:Q486972 }
Natalia Szroeder
action filter_type
action find
entity Natalia Szroeder
relation place of birth
type human settlement
['Natalia Szroeder', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { resource:Natalia_Szroeder property:place_of_birth ?y . ?y rdf:type ontology:human_settlement }
[]
human settlement
Q443793
SYSTEM
Parchowo
Q443793
(Q20851586,P19,c(Q486972))
action filter_type
action find
entity Q20851586
relation P19
type Q486972
Natalia Szroeder was born in [ANSWER]
['Q20851586', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { resource:Q20851586 property:P19 ?y . ?y rdf:type ontology:Q486972 }
Parchowo
Natalia Szroeder was born in Parchowo
Parchowo
action filter_type
action find
entity Natalia Szroeder
relation place of birth
type human settlement
['Natalia Szroeder', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { resource:Natalia_Szroeder property:place_of_birth ?y . ?y rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20851586
P136
Q151885
USER
Which genre does that person belong to ?
(Q443793,P136,c(Q151885))
action filter_type
action find
entity Q20851586
relation P136
type Q151885
['Q443793', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q20851586 property:P136 ?m . ?m rdf:type ontology:Q151885 }
Natalia Szroeder
action filter_type
action find
entity Natalia Szroeder
relation genre
type concept
['Parchowo', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Natalia_Szroeder property:genre ?m . ?m rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q443793,P136,c(Q151885))
action filter_type
action find
entity Q20851586
relation P136
type Q151885
That person belongs to [ANSWER]
['Q443793', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q20851586 property:P136 ?m . ?m rdf:type ontology:Q151885 }
pop music
That person belongs to pop music
pop music
action filter_type
action find
entity Natalia Szroeder
relation genre
type concept
['Parchowo', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Natalia_Szroeder property:genre ?m . ?m rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q151885 Q502895 Q21114848
USER
How many concepts do less number of people or magazine genres belong to than that concept ?
(c(Q502895)|c(Q21114848),P101,c(Q151885))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q151885
type Q502895
action find_reverse_tuple_counts
relation P101
type Q151885
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q37073
relation P101
type Q502895
type Q21114848
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P101 resource:Q37073 . { VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q21114848 ) } . ?j rdf:type ?r } } } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { { ?i property:P101 ?c . ?c rdf:type ontology:Q151885 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P101 ?c . ?c rdf:type ontology:Q151885 . ?i rdf:type ontology:Q21114848 } } GROUP BY ?c } }
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type concept
type common name
action find_reverse_tuple_counts
relation field of work
type concept
type magazine genre
action count
action filter_multi_types
action find_reverse
entity pop music
relation field of work
type common name
type magazine genre
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:field_of_work resource:pop_music . { VALUES ( ?r ) { ( ontology:common_name ) ( ontology:magazine_genre ) } . ?j rdf:type ?r } } } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { { ?i property:field_of_work ?c . ?c rdf:type ontology:concept . ?i rdf:type ontology:common_name } UNION { ?i property:field_of_work ?c . ?c rdf:type ontology:concept . ?i rdf:type ontology:magazine_genre } } GROUP BY ?c } }
[]
concept common name magazine genre
SYSTEM
61
Q132438 Q935586 Q26384 Q1080208 Q2474068 Q177571 Q5127848 Q43343 Q212944 Q177923 Q333018 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q39072 Q674684 Q83270 Q612024 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q4290 Q186075 Q192781 Q903820 Q1516975 Q205560 Q467 Q1476215 Q83440 Q855091 Q454 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q309252 Q11401 Q3242115
(c(Q502895)|c(Q21114848),P101,c(Q151885))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q151885
type Q502895
action find_reverse_tuple_counts
relation P101
type Q151885
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q37073
relation P101
type Q502895
type Q21114848
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P101 resource:Q37073 . { VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q21114848 ) } . ?j rdf:type ?r } } } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { { ?i property:P101 ?c . ?c rdf:type ontology:Q151885 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P101 ?c . ?c rdf:type ontology:Q151885 . ?i rdf:type ontology:Q21114848 } } GROUP BY ?c } }
black metal Liturgical music do it yourself production theory cosmetology decision theory class contemporary folk music klezmer auction Common descent History of Ancient Rome electronic music humanitarian aid food history French cuisine microeconomics Sevdalinka hard rock contemporary classical music heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher investing contemporary history military history field theory maritime history trip hop woman human rights activist country music guitarist peace activist Spanish cuisine poverty religious music cultural history intellectual history chiptune axiomatic system Baroque music Ramsey theory agrarian history author control theory physical fitness hip hop revolutionary
61
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type concept
type common name
action find_reverse_tuple_counts
relation field of work
type concept
type magazine genre
action count
action filter_multi_types
action find_reverse
entity pop music
relation field of work
type common name
type magazine genre
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:field_of_work resource:pop_music . { VALUES ( ?r ) { ( ontology:common_name ) ( ontology:magazine_genre ) } . ?j rdf:type ?r } } } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { { ?i property:field_of_work ?c . ?c rdf:type ontology:concept . ?i rdf:type ontology:common_name } UNION { ?i property:field_of_work ?c . ?c rdf:type ontology:concept . ?i rdf:type ontology:magazine_genre } } GROUP BY ?c } }
[]