Simple Question (Direct)
Simple Question
Q1700565
P607
Q198
USER
What was was John J. Bell a part of ?
(Q1700565,P607,c(Q198))
action filter_type
action find
entity Q1700565
relation P607
type Q198
['Q1700565', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?z WHERE { resource:Q1700565 property:P607 ?z . ?z rdf:type ontology:Q198 }
John J. Bell
action filter_type
action find
entity John J. Bell
relation conflict
type war
['John J. Bell', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?z WHERE { resource:John_J._Bell property:conflict ?z . ?z rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q1700565,P607,c(Q198))
action filter_type
action find
entity Q1700565
relation P607
type Q198
John J. Bell was a part of the [ANSWER]
['Q1700565', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?z WHERE { resource:Q1700565 property:P607 ?z . ?z rdf:type ontology:Q198 }
World War II
John J. Bell was a part of the World War II
World War II
action filter_type
action find
entity John J. Bell
relation conflict
type war
['John J. Bell', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?z WHERE { resource:John_J._Bell property:conflict ?z . ?z rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1700565
P241
Q781132
USER
Which military branch is that person affiliated to ?
(Q362,P241,c(Q781132))
action filter_type
action find
entity Q1700565
relation P241
type Q781132
['Q362', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q1700565 property:P241 ?e . ?e rdf:type ontology:Q781132 }
John J. Bell
action filter_type
action find
entity John J. Bell
relation military branch
type military branch
['World War II', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:John_J._Bell property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q362,P241,c(Q781132))
action filter_type
action find
entity Q1700565
relation P241
type Q781132
That person is affiliated with [ANSWER]
['Q362', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q1700565 property:P241 ?e . ?e rdf:type ontology:Q781132 }
United States Army
That person is affiliated with United States Army
United States Army
action filter_type
action find
entity John J. Bell
relation military branch
type military branch
['World War II', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:John_J._Bell property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1700565
P39
Q12737077
USER
Which occupations were the positions occupied by that person ?
(Q9212,P39,c(Q12737077))
action filter_type
action find
entity Q1700565
relation P39
type Q12737077
['Q9212', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1700565 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
John J. Bell
action filter_type
action find
entity John J. Bell
relation position held
type occupation
['United States Army', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:John_J._Bell property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q13218630 Q18565274
SYSTEM
United States representative, member of the State Senate of Texas
Q13218630 Q18565274
(Q9212,P39,c(Q12737077))
action filter_type
action find
entity Q1700565
relation P39
type Q12737077
[ANSWERS] were the positions occupied by that person
['Q9212', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1700565 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
United States representative member of the State Senate of Texas
United States representative and member of the State Senate of Texas were the positions occupied by that person
United States representative member of the State Senate of Texas
action filter_type
action find
entity John J. Bell
relation position held
type occupation
['United States Army', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:John_J._Bell property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P39
Q502895
USER
How many people held the position of that occupation ?
(c(Q502895),P39,Q18565274)
[{'concept': 'Q502895'}, 'P39', 'Q18565274']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q18565274 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'position held', 'member of the State Senate of Texas']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:member_of_the_State_Senate_of_Texas . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q18565274
SYSTEM
Did you mean member of the State Senate of Texas ?
(c(Q502895),P39,Q13218630) (c(Q502895),P39,Q18565274)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q13218630'] [{'concept': 'Q502895'}, 'P39', 'Q18565274']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q18565274 . ?z rdf:type ontology:Q502895 }
Did you mean member of the State Senate of Texas ?
member of the State Senate of Texas
[{'concept': 'common name'}, 'position held', 'United States representative'] [{'concept': 'common name'}, 'position held', 'member of the State Senate of Texas']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:member_of_the_State_Senate_of_Texas . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P39,Q18565274)
[{'concept': 'Q502895'}, 'P39', 'Q18565274']
[{'concept': 'common name'}, 'position held', 'member of the State Senate of Texas']
[]
SYSTEM
209
Q6773585 Q8019101 Q7297463 Q6414562 Q4120868 Q5292901 Q1506971 Q214845 Q16105291 Q6847370 Q16647319 Q436952 Q1629347 Q6408394 Q774372 Q16062782 Q7303744 Q5361753 Q16742796 Q7177525 Q16059169 Q7356907 Q5607048 Q1903625 Q6795235 Q6415545 Q1238513 Q881013 Q10307863 Q7982632 Q880276 Q6175248 Q6385421 Q5443811 Q7613502 Q8017173 Q3938361 Q7348034 Q8006543 Q5488830 Q7812650 Q5006324 Q4120945 Q5081838 Q5307250 Q737918 Q13562489 Q6764682 Q6552598 Q8005626 Q7976115 Q16107535 Q5373711 Q363817 Q5724362 Q7846826 Q1676413 Q6263891 Q1611558 Q1638994 Q1554136 Q461526 Q6225244 Q1606461 Q709227 Q2157231 Q6182584 Q881073 Q1255439 Q6181904 Q6152586 Q6742262 Q1096484 Q6163770 Q5106795 Q4910158 Q5213877 Q5932233 Q5081599 Q4898699 Q16012790 Q5239775 Q16208257 Q2579042 Q2400022 Q346455 Q6293772 Q214812 Q16016457 Q328160 Q5568855 Q6205149 Q7820011 Q437158 Q966332 Q5361256 Q8012122 Q648147 Q6451206 Q7346543 Q7609457 Q2353927 Q6131254 Q7456597 Q5543668 Q1610970 Q6299989 Q16015752 Q5491296 Q5182894 Q7306678 Q1702044 Q4888439 Q1138504 Q6990783 Q7072062 Q4684479 Q6271140 Q883210 Q1577301 Q4710575 Q7410938 Q5019226 Q6387248 Q784037 Q6183531 Q4932275 Q461657 Q1738880 Q5042729 Q1677029 Q16856964 Q14947639 Q862428 Q880822 Q6408017 Q6491197 Q6186373 Q5568933 Q6256528 Q6396233 Q7698609 Q7377384 Q6257436 Q402676 Q6790540 Q1042735 Q4933342 Q16004009 Q458182 Q16213055 Q6391643 Q5336251 Q5042721 Q7965617 Q5180940 Q333430 Q330149 Q13562493 Q4793462 Q888195 Q1135672 Q1934641 Q1173614 Q438127 Q16196010 Q5199911 Q1702062 Q1066145 Q17486408 Q15997499 Q4648313 Q2578393 Q1064793 Q6250092 Q15522418 Q974316 Q584787 Q358916 Q5582170 Q8010667 Q21042340 Q1666802 Q6246570 Q7375186 Q16195101 Q4886328 Q6141377 Q5460780 Q5324801 Q6533388 Q1733011 Q15187310 Q1700565 Q6201060 Q1700349 Q16106361 Q5337220 Q539587 Q6243794 Q5543201 Q7698515 Q268290 Q16043748 Q5592125 Q542663 Q7790702 Q5214174 Q7610772
(c(Q502895),P39,Q18565274)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q18565274']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q18565274 . ?z rdf:type ontology:Q502895 }
Marshall Formby William T. Moore Ray Farabee Kip Averitt Barry Miller Don Kennard George Bernard Erath Gustav Schleicher J. E. "Buster" Brown Mike Jackson Asbury Bascom Davidson Earle Bradford Mayfield Kent Hance Kim Brimer Elisha M. Pease Robert Henry Guinn Red Berry Elisha Everett Lott W. E. "Pete" Snelson Peter W. Gray James R. Gough Rodney Ellis Gregory Luna Martin Dies, Jr. Max Sherman Kirk Watson Alexander W. Terrell Oscar Branch Colquitt John Lafayette Camp Wendy Davis James W. Throckmorton Jeff Wentworth Kel Seliger Ferdinand C. Weinert Steve Ogden William R. Baker Robert McAlpin Williamson Robert Nichols William Carey Graves Frank Owen, III Todd Staples C. C. Coppedge Thomas Whitfield Davidson Charles R. Floyd Drew Nixon Frank Tejeda Sylvia Garcia Mario Gallegos, Jr. Lindon Williams William Blassingame Wayne Connally Hector Uribe Emory Rains Lloyd Doggett Henry Kinney Troy Fraser J. T. Rutherford John Whitmire William Harrison Martin Jim Turner Guinn Williams Eddie Bernice Johnson John Carona Henry B. Gonzalez John Ireland Robert Gammage Jerome B. Robertson George Tyler Wood Pryor Lea John Lee Smith Jane Nelson Malcolm D. Graham Claude Benton Hudspeth Bill Ratliff Chris Harris Bill Meier David Catchings Dickson Hugh Parmer Charles Perry Betty Andujar Dorsey B. Hardeman David Sibley Brandon Creighton William H. Crain Teel Bivins Samuel Maverick José R. Rodríguez John O. Meusebach Henry Grover Fletcher Stockdale Glenn Hegar Joan Huffman Tommy Williams James W. Flanagan Ralph Hall Eliot Shapleigh William Henry Pope Lawrence Sullivan Ross Kyle Janek Robert L. Duncan Stephen Heard Darden Louis Wigfall James Charles Wilson Seth Shepard George R. Shannon William Neff Patman Juan Hinojosa J. Searcy Bracewell, Jr. Franklin Barlow Sexton Crawford Martin Reed N. Weisiger John W. Cranford Benjamin Cromwell Franklin Craig Washington Nelson Wolff O.H. "Ike" Harris Adolphus Sterne Jon Lindsay Joseph D. Sayers Horace Worth Vaughan Albert Jennings Fountain Samuel Bogart Caleb Claiborne Herbert Ken Armbrister Chet Edwards Jerry E. Patterson Bob Deuell Barbara Jordan Kenneth M. Regan Carlos Uresti Jack English Hightower William Henry Parsons José Antonio Navarro Bill Sarpalius Preston Smith Kilmer B. Corbin Larry Taylor Jesse Grimes Glenn Kothmann John Salmon Ford Kevin Eltife Temple Lea Houston Rudolph A. Weinert John Sharp Allan Shivers Matthew Gaines Carlos Bee Bob McFarland Vinson Allen Collins Samuel B. Maxey Charles Schwertner Kent Caperton Eddie Lucio, Jr. Carlos Truan Walter Mengden Craig Estes Charlie Wilson Abraham Kazen Judith Zaffirini Donna Campbell Bob Price Edward Burleson Miles Crowley David B. Culberson Rienzi Melville Johnston Michael Galloway Cyndi Taylor Krier John W. Lane Charles Stewart Charles Calhoun, Jr. John M. Henderson A. R. Schwartz William D. McFarlane Charles Henderson Yoakum John N. Leedom Henry Eustace McCulloch Ray Roberts Samuel B. Cooper Matthias Ward Gonzalo Barrientos William H. Wharton Brian Birdwell William R. Poage Walter Frank Woodul Royce West Kelly Hancock Ben Ramsey James Postell Douglas Florence Shapiro E L Short Leticia R. Van de Putte Nat Patton Archie Parr John J. Bell Jimmy Phillips John Hall Stephens John T. Montford Edgar E. Witt Gene Green John Lafayette Camp, Jr. George Parkhouse Temple Dickson David S. Kaufman Matthew Fielding Locke Grady Hazlewood Edward Clark Thomas Hinds Duggan Dan Patrick Stephen W. Perkins
209
[{'concept': 'common name'}, 'position held', 'member of the State Senate of Texas']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:member_of_the_State_Senate_of_Texas . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q331697
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of approximately the same number of occupations as Saint David ?
(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 Q331697
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?m = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q331697 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P417 ?h . ?h rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?h } }
Saint David
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint David
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?m = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Saint_David property:patron_saint ?t . ?t rdf:type ontology:common_name } } . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:patron_saint ?h . ?h rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?h } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q331697
relation P417
type Q502895
[ANSWERS] are the names of person who are the patron saints of approximately the same number of occupations as Saint David
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?m = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q331697 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P417 ?h . ?h rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?h } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the names of person who are the patron saints of approximately the same number of occupations as Saint David
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint David
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?m = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Saint_David property:patron_saint ?t . ?t rdf:type ontology:common_name } } . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:patron_saint ?h . ?h rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q244380
P417
Q502895 Q12737077
USER
And also tell me about Saint Denis?
(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 Q244380
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 . ?q property:P417 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q244380 property:P417 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?z = ?h ) }
Saint Denis
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Denis
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ontology:occupation . ?j rdf:type ontology:common_name . ?q property:patron_saint ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Saint_Denis property:patron_saint ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?z = ?h ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q244380
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 . ?q property:P417 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q244380 property:P417 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?z = ?h ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Denis
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ontology:occupation . ?j rdf:type ontology:common_name . ?q property:patron_saint ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Saint_Denis property:patron_saint ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?z = ?h ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P825
Q502895 Q811979 Q16970
USER
Which people are around the same number of architectural structures and churches dedicated to as that person ?
(c(Q811979)|c(Q16970),P825,c(Q502895))
[[{'concept': 'Q811979'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P825 ?y } UNION { ?x property:P825 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
[[{'concept': 'architectural structure'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:dedicated_to ?y } UNION { ?x property:dedicated_to ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]
common name architectural structure church
Comparative|More/Less|Mult. entity type|Clarification
Q9682
SYSTEM
Did you mean Elizabeth II ?
(c(Q811979)|c(Q16970),P825,c(Q502895))
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P825 ?y } UNION { ?x property:P825 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
Did you mean Elizabeth II ?
Elizabeth II
[[{'concept': 'architectural structure'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:dedicated_to ?y } UNION { ?x property:dedicated_to ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]
Comparative Reasoning (All)
USER
No, I meant Louis IX of France. Could you tell me the answer for that?
(c(Q811979)|c(Q16970),P825,c(Q502895))
Q346
[[{'concept': 'Q811979'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
[[{'concept': 'architectural structure'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
[]
Q44269 Q346 Q133704
SYSTEM
Saint Nicholas, Louis IX of France, Martin of Tours
Q44269 Q346 Q133704
(c(Q811979)|c(Q16970),P825,c(Q502895))
[ANSWERS] are around the same number of architectural structures and churches dedicated to as that person
[[{'concept': 'Q811979'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P825 ?y } UNION { ?x property:P825 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
Saint Nicholas Louis IX of France Martin of Tours
Saint Nicholas, Louis IX of France and Martin of Tours are around the same number of architectural structures and churches dedicated to as that person
Saint Nicholas Louis IX of France Martin of Tours
[[{'concept': 'architectural structure'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:dedicated_to ?y } UNION { ?x property:dedicated_to ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]