Simple Question (Direct)
Simple Question
Q6760628
P69
Q163740
USER
Which nonprofit organization is Margo Jefferson an alumni of ?
(Q6760628,P69,c(Q163740))
action filter_type
action find
entity Q6760628
relation P69
type Q163740
['Q6760628', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q163740 . resource:Q6760628 property:P69 ?s }
Margo Jefferson
action filter_type
action find
entity Margo Jefferson
relation educated at
type nonprofit organization
['Margo Jefferson', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nonprofit_organization . resource:Margo_Jefferson property:educated_at ?s }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q6760628,P69,c(Q163740))
action filter_type
action find
entity Q6760628
relation P69
type Q163740
The [ANSWER] is Margo Jefferson an alumni of
['Q6760628', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q163740 . resource:Q6760628 property:P69 ?s }
Columbia University
The Columbia University is Margo Jefferson an alumni of
Columbia University
action filter_type
action find
entity Margo Jefferson
relation educated at
type nonprofit organization
['Margo Jefferson', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nonprofit_organization . resource:Margo_Jefferson property:educated_at ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6760628
P108
Q163740
USER
Which nonprofit organization does that person work for ?
(Q49088,P108,c(Q163740))
action filter_type
action find
entity Q6760628
relation P108
type Q163740
['Q49088', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?m WHERE { resource:Q6760628 property:P108 ?m . ?m rdf:type ontology:Q163740 }
Margo Jefferson
action filter_type
action find
entity Margo Jefferson
relation employer
type nonprofit organization
['Columbia University', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?m WHERE { resource:Margo_Jefferson property:employer ?m . ?m rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q49088,P108,c(Q163740))
action filter_type
action find
entity Q6760628
relation P108
type Q163740
That person works at [ANSWER]
['Q49088', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?m WHERE { resource:Q6760628 property:P108 ?m . ?m rdf:type ontology:Q163740 }
Columbia University
That person works at Columbia University
Columbia University
action filter_type
action find
entity Margo Jefferson
relation employer
type nonprofit organization
['Columbia University', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?m WHERE { resource:Margo_Jefferson property:employer ?m . ?m rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q49088 Q60
P159
Q56061
USER
Is New York City the headquarter location of that nonprofit organization ?
(Q49088,P159,Q60)
action is_in
entity Q60
action find
entity Q49088
relation P159
['Q49088', 'P159', 'Q60']
ASK WHERE { resource:Q49088 property:P159 resource:Q60 }
Columbia University New York City
action is_in
entity New York City
action find
entity Columbia University
relation headquarters location
['Columbia University', 'headquarters location', 'New York City']
ASK WHERE { resource:Columbia_University property:headquarters_location resource:New_York_City }
[]
administrative territorial entity
SYSTEM
YES
(Q49088,P159,Q60)
action is_in
entity Q60
action find
entity Q49088
relation P159
[ANSWER]
['Q49088', 'P159', 'Q60']
ASK WHERE { resource:Q49088 property:P159 resource:Q60 }
Yes
action is_in
entity New York City
action find
entity Columbia University
relation headquarters location
['Columbia University', 'headquarters location', 'New York City']
ASK WHERE { resource:Columbia_University property:headquarters_location resource:New_York_City }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6760628 Q5782100 Q1297
P19
Q56061
USER
Was Margo Jefferson born at Gorgab-e Olya and Chicago ?
(Q6760628,P19,Q5782100) (Q6760628,P19,Q1297)
action is_in
entity Q6760628
action intersection
action find_reverse
entity Q5782100
relation P19
action find_reverse
entity Q1297
relation P19
['Q6760628', 'P19', 'Q5782100'] ['Q6760628', 'P19', 'Q1297']
ASK WHERE { resource:Q6760628 property:P19 resource:Q1297 . resource:Q6760628 property:P19 resource:Q5782100 }
Margo Jefferson Gorgab-e Olya Chicago
action is_in
entity Margo Jefferson
action intersection
action find_reverse
entity Gorgab-e Olya
relation place of birth
action find_reverse
entity Chicago
relation place of birth
['Margo Jefferson', 'place of birth', 'Gorgab-e Olya'] ['Margo Jefferson', 'place of birth', 'Chicago']
ASK WHERE { resource:Margo_Jefferson property:place_of_birth resource:Chicago . resource:Margo_Jefferson property:place_of_birth resource:Gorgab-e_Olya }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q6760628,P19,Q5782100) (Q6760628,P19,Q1297)
action is_in
entity Q6760628
action intersection
action find_reverse
entity Q5782100
relation P19
action find_reverse
entity Q1297
relation P19
[ANSWER]
['Q6760628', 'P19', 'Q5782100'] ['Q6760628', 'P19', 'Q1297']
ASK WHERE { resource:Q6760628 property:P19 resource:Q1297 . resource:Q6760628 property:P19 resource:Q5782100 }
NO and YES respectively
action is_in
entity Margo Jefferson
action intersection
action find_reverse
entity Gorgab-e Olya
relation place of birth
action find_reverse
entity Chicago
relation place of birth
['Margo Jefferson', 'place of birth', 'Gorgab-e Olya'] ['Margo Jefferson', 'place of birth', 'Chicago']
ASK WHERE { resource:Margo_Jefferson property:place_of_birth resource:Chicago . resource:Margo_Jefferson property:place_of_birth resource:Gorgab-e_Olya }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49088 Q53855
P17
Q15617994
USER
Does Columbia University belong to Castrolibero ?
(Q49088,P17,Q53855)
action is_in
entity Q53855
action find
entity Q49088
relation P17
['Q49088', 'P17', 'Q53855']
ASK WHERE { resource:Q49088 property:P17 resource:Q53855 }
Columbia University Castrolibero
action is_in
entity Castrolibero
action find
entity Columbia University
relation country
['Columbia University', 'country', 'Castrolibero']
ASK WHERE { resource:Columbia_University property:country resource:Castrolibero }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q49088,P17,Q53855)
action is_in
entity Q53855
action find
entity Q49088
relation P17
[ANSWER]
['Q49088', 'P17', 'Q53855']
ASK WHERE { resource:Q49088 property:P17 resource:Q53855 }
No
action is_in
entity Castrolibero
action find
entity Columbia University
relation country
['Columbia University', 'country', 'Castrolibero']
ASK WHERE { resource:Columbia_University property:country resource:Castrolibero }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q115550
P417
Q502895 Q15617994 Q16970
USER
Which people are the patron saint of around the same number of administrative territories or churches as Nicholas of Flüe ?
(c(Q15617994)|c(Q16970),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q115550
relation P417
type Q15617994
type Q16970
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?a WHERE { { ?l property:P417 ?a . ?a rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15617994 } UNION { ?l property:P417 ?a . ?a rdf:type ontology:Q502895 . ?l rdf:type ontology:Q16970 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P417 resource:Q115550 . { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q16970 ) } } } } . FILTER ( ?g = ?z ) }
Nicholas of Flüe
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Nicholas of Flüe
relation patron saint
type designation for an administrative territorial entity
type church
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?a WHERE { { ?l property:patron_saint ?a . ?a rdf:type ontology:common_name . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:patron_saint ?a . ?a rdf:type ontology:common_name . ?l rdf:type ontology:church } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:patron_saint resource:Nicholas_of_Flüe . { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:church ) } } } } . FILTER ( ?g = ?z ) }
[]
common name designation for an administrative territorial entity church
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q58559 Q179718 Q445357 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q15617994)|c(Q16970),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q115550
relation P417
type Q15617994
type Q16970
[ANSWERS] are the patron saint of around the same number of administrative territories or churches as Nicholas of Flüe
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?a WHERE { { ?l property:P417 ?a . ?a rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15617994 } UNION { ?l property:P417 ?a . ?a rdf:type ontology:Q502895 . ?l rdf:type ontology:Q16970 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P417 resource:Q115550 . { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q16970 ) } } } } . FILTER ( ?g = ?z ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great 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 Vitus 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 Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Sixtus I John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Stephen I Helena of Constantinople 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia 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 Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Leo IX Catherine of Alexandria Henry Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Thomas Aquinas and Tadeusz Kościuszko are the patron saint of around the same number of administrative territories or churches as Nicholas of Flüe
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Nicholas of Flüe
relation patron saint
type designation for an administrative territorial entity
type church
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?a WHERE { { ?l property:patron_saint ?a . ?a rdf:type ontology:common_name . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:patron_saint ?a . ?a rdf:type ontology:common_name . ?l rdf:type ontology:church } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:patron_saint resource:Nicholas_of_Flüe . { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:church ) } } } } . FILTER ( ?g = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1281133
P417
Q502895 Q15617994 Q16970
USER
And how about Tudwal?
(c(Q15617994)|c(Q16970),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q1281133
relation P417
type Q15617994
type Q16970
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P417 resource:Q1281133 . { VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q16970 ) } . ?c rdf:type ?j } } } . FILTER ( ?v = ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?m WHERE { { ?w property:P417 ?m . ?m rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15617994 } UNION { ?w property:P417 ?m . ?m rdf:type ontology:Q502895 . ?w rdf:type ontology:Q16970 } } GROUP BY ?m } }
Tudwal
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Tudwal
relation patron saint
type designation for an administrative territorial entity
type church
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:patron_saint resource:Tudwal . { VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:church ) } . ?c rdf:type ?j } } } . FILTER ( ?v = ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?m WHERE { { ?w property:patron_saint ?m . ?m rdf:type ontology:common_name . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:patron_saint ?m . ?m rdf:type ontology:common_name . ?w rdf:type ontology:church } } GROUP BY ?m } }
[]
common name designation for an administrative territorial entity church
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q3745904 Q191107 Q4210004 Q4282480 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q218921 Q316295 Q4014956 Q159834 Q119512 Q44281 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q58559 Q179718 Q445357 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q15617994)|c(Q16970),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q1281133
relation P417
type Q15617994
type Q16970
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P417 resource:Q1281133 . { VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q16970 ) } . ?c rdf:type ?j } } } . FILTER ( ?v = ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?m WHERE { { ?w property:P417 ?m . ?m rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15617994 } UNION { ?w property:P417 ?m . ?m rdf:type ontology:Q502895 . ?w rdf:type ontology:Q16970 } } GROUP BY ?m } }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great 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 Vitus 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 Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Sixtus I John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Saint Eustace Bernardino of Siena Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Stephen I Helena of Constantinople 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia 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 Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Leo IX Catherine of Alexandria Henry Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Tudwal
relation patron saint
type designation for an administrative territorial entity
type church
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:patron_saint resource:Tudwal . { VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:church ) } . ?c rdf:type ?j } } } . FILTER ( ?v = ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?m WHERE { { ?w property:patron_saint ?m . ?m rdf:type ontology:common_name . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:patron_saint ?m . ?m rdf:type ontology:common_name . ?w rdf:type ontology:church } } GROUP BY ?m } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9438
P1066
Q502895
USER
Which people are students of that one ?
(c(Q502895),P1066,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q9438']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P1066 resource:Q9438 }
Thomas Aquinas
action filter_type
action find_reverse
entity Thomas Aquinas
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Thomas Aquinas']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:student_of resource:Thomas_Aquinas }
[]
common name
Clarification for simple ques.
Q9682
SYSTEM
Did you mean Elizabeth II ?
Q9682 Q9438 Q191479
(c(Q502895),P1066,Q9682) (c(Q502895),P1066,Q9438) (c(Q502895),P1066,Q191479)
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q9682'] [{'concept': 'Q502895'}, 'P1066', 'Q9438'] [{'concept': 'Q502895'}, 'P1066', 'Q191479']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P1066 resource:Q9438 }
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
Did you mean Elizabeth II ?
Elizabeth II
[{'concept': 'common name'}, 'student of', 'Elizabeth II'] [{'concept': 'common name'}, 'student of', 'Thomas Aquinas'] [{'concept': 'common name'}, 'student of', 'Tadeusz Kościuszko']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:student_of resource:Thomas_Aquinas }
[]
Simple Question (Coreferenced)
USER
No, I meant Thomas Aquinas. Could you tell me the answer for that?
(c(Q502895),P1066,Q9438)
Q9438
[{'concept': 'Q502895'}, 'P1066', 'Q9438']
[{'concept': 'common name'}, 'student of', 'Thomas Aquinas']
[]
Q676267 Q1636083
SYSTEM
Henry Bate of Malines, Remigio dei Girolami
Q676267 Q1636083
(c(Q502895),P1066,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P1066
type Q502895
[ANSWERS] are students of that one
[{'concept': 'Q502895'}, 'P1066', 'Q9438']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P1066 resource:Q9438 }
Henry Bate of Malines Remigio dei Girolami
Henry Bate of Malines and Remigio dei Girolami are students of that one
Henry Bate of Malines Remigio dei Girolami
action filter_type
action find_reverse
entity Thomas Aquinas
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Thomas Aquinas']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:student_of resource:Thomas_Aquinas }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1636083
P1066
Q502895
USER
Which person is a student of that one ?
(c(Q502895),P1066,Q1636083)
action filter_type
action find_reverse
entity Q1636083
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q1636083']
SELECT DISTINCT ?e WHERE { ?e property:P1066 resource:Q1636083 . ?e rdf:type ontology:Q502895 }
Remigio dei Girolami
action filter_type
action find_reverse
entity Remigio dei Girolami
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Remigio dei Girolami']
SELECT DISTINCT ?e WHERE { ?e property:student_of resource:Remigio_dei_Girolami . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q676267
SYSTEM
Did you mean Henry Bate of Malines ?
Q676267 Q1636083
(c(Q502895),P1066,Q676267) (c(Q502895),P1066,Q1636083)
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q676267'] [{'concept': 'Q502895'}, 'P1066', 'Q1636083']
SELECT DISTINCT ?e WHERE { ?e property:P1066 resource:Q1636083 . ?e rdf:type ontology:Q502895 }
Henry Bate of Malines Remigio dei Girolami
Did you mean Henry Bate of Malines ?
Henry Bate of Malines
[{'concept': 'common name'}, 'student of', 'Henry Bate of Malines'] [{'concept': 'common name'}, 'student of', 'Remigio dei Girolami']
SELECT DISTINCT ?e WHERE { ?e property:student_of resource:Remigio_dei_Girolami . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Remigio dei Girolami. Could you tell me the answer for that?
(c(Q502895),P1066,Q1636083)
Q1636083
[{'concept': 'Q502895'}, 'P1066', 'Q1636083']
[{'concept': 'common name'}, 'student of', 'Remigio dei Girolami']
[]
Q1067
SYSTEM
Dante Alighieri
Q1067
(c(Q502895),P1066,Q1636083)
action filter_type
action find_reverse
entity Q1636083
relation P1066
type Q502895
Was [ANSWER] is a student of that one
[{'concept': 'Q502895'}, 'P1066', 'Q1636083']
SELECT DISTINCT ?e WHERE { ?e property:P1066 resource:Q1636083 . ?e rdf:type ontology:Q502895 }
Dante Alighieri
Was Dante Alighieri is a student of that one
Dante Alighieri
action filter_type
action find_reverse
entity Remigio dei Girolami
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Remigio dei Girolami']
SELECT DISTINCT ?e WHERE { ?e property:student_of resource:Remigio_dei_Girolami . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15619164
USER
Which abstract beings had their voice dubbing done by exactly 19 people ?
(c(Q15619164),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 19
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?k ) WHERE { ?b property:P725 ?f . ?b rdf:type ontology:Q15619164 . ?f rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?k = 19 ) }
action equal
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 19
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?k ) WHERE { ?b property:voice_actor ?f . ?b rdf:type ontology:abstract_being . ?f rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?k = 19 ) }
[]
common name abstract being
Q5409355
SYSTEM
Fluttershy
Q5409355
(c(Q15619164),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 19
[ANSWER] had their voice dubbing done by exactly 19 people
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?k ) WHERE { ?b property:P725 ?f . ?b rdf:type ontology:Q15619164 . ?f rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?k = 19 ) }
Fluttershy
Fluttershy had their voice dubbing done by exactly 19 people
Fluttershy
action equal
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 19
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?k ) WHERE { ?b property:voice_actor ?f . ?b rdf:type ontology:abstract_being . ?f rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?k = 19 ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1715550
Q502895
USER
And what about Jörg Udo Lensing?
(Q1715550,P69,c(Q502895))
action count
action filter_type
action find
entity Q1715550
relation P69
type Q502895
['Q1715550', 'P69', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q1715550 property:P69 ?t . ?t rdf:type ontology:Q502895 }
Jörg Udo Lensing
action count
action filter_type
action find
entity Jörg Udo Lensing
relation educated at
type common name
['Jörg Udo Lensing', 'educated at', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Jörg_Udo_Lensing property:educated_at ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q1715550,P69,c(Q502895))
action count
action filter_type
action find
entity Q1715550
relation P69
type Q502895
[ANSWER]
['Q1715550', 'P69', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q1715550 property:P69 ?t . ?t rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Jörg Udo Lensing
relation educated at
type common name
['Jörg Udo Lensing', 'educated at', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Jörg_Udo_Lensing property:educated_at ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1067
P140
Q874405
USER
Which social group does Dante Alighieri relate to ?
(Q1067,P140,c(Q874405))
action filter_type
action find
entity Q1067
relation P140
type Q874405
['Q1067', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { resource:Q1067 property:P140 ?b . ?b rdf:type ontology:Q874405 }
Dante Alighieri
action filter_type
action find
entity Dante Alighieri
relation religion
type social group
['Dante Alighieri', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { resource:Dante_Alighieri property:religion ?b . ?b rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q1067,P140,c(Q874405))
action filter_type
action find
entity Q1067
relation P140
type Q874405
Dante Alighieri relates to [ANSWER]
['Q1067', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { resource:Q1067 property:P140 ?b . ?b rdf:type ontology:Q874405 }
Catholicism
Dante Alighieri relates to Catholicism
Catholicism
action filter_type
action find
entity Dante Alighieri
relation religion
type social group
['Dante Alighieri', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { resource:Dante_Alighieri property:religion ?b . ?b rdf:type ontology:social_group }
[]