Simple Question (Direct)
Simple Question
Q2976980
P69
Q1935049
USER
Which military school is the alma mater of William Woodville Rockhill ?
(Q2976980,P69,c(Q1935049))
action filter_type
action find
entity Q2976980
relation P69
type Q1935049
['Q2976980', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?j WHERE { resource:Q2976980 property:P69 ?j . ?j rdf:type ontology:Q1935049 }
William Woodville Rockhill
action filter_type
action find
entity William Woodville Rockhill
relation educated at
type military school
['William Woodville Rockhill', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?j WHERE { resource:William_Woodville_Rockhill property:educated_at ?j . ?j rdf:type ontology:military_school }
[]
military school
Q1132066
SYSTEM
Ecole Spéciale Militaire de Saint-Cyr
Q1132066
(Q2976980,P69,c(Q1935049))
action filter_type
action find
entity Q2976980
relation P69
type Q1935049
The [ANSWER] is the alma mater of William Woodville Rockhill
['Q2976980', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?j WHERE { resource:Q2976980 property:P69 ?j . ?j rdf:type ontology:Q1935049 }
Ecole Spéciale Militaire de Saint-Cyr
The Ecole Spéciale Militaire de Saint-Cyr is the alma mater of William Woodville Rockhill
Ecole Spéciale Militaire de Saint-Cyr
action filter_type
action find
entity William Woodville Rockhill
relation educated at
type military school
['William Woodville Rockhill', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?j WHERE { resource:William_Woodville_Rockhill property:educated_at ?j . ?j rdf:type ontology:military_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2976980
P20
Q5119
USER
Where did the expiration of William Woodville Rockhill occur ?
(Q2976980,P20,c(Q5119))
action filter_type
action find
entity Q2976980
relation P20
type Q5119
['Q2976980', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?z WHERE { resource:Q2976980 property:P20 ?z . ?z rdf:type ontology:Q5119 }
William Woodville Rockhill
action filter_type
action find
entity William Woodville Rockhill
relation place of death
type capital
['William Woodville Rockhill', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?z WHERE { resource:William_Woodville_Rockhill property:place_of_death ?z . ?z rdf:type ontology:capital }
[]
capital
Q18094
SYSTEM
Honolulu
Q18094
(Q2976980,P20,c(Q5119))
action filter_type
action find
entity Q2976980
relation P20
type Q5119
The expiration of William Woodville Rockhill occurred in [ANSWER]
['Q2976980', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?z WHERE { resource:Q2976980 property:P20 ?z . ?z rdf:type ontology:Q5119 }
Honolulu
The expiration of William Woodville Rockhill occurred in Honolulu
Honolulu
action filter_type
action find
entity William Woodville Rockhill
relation place of death
type capital
['William Woodville Rockhill', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?z WHERE { resource:William_Woodville_Rockhill property:place_of_death ?z . ?z rdf:type ontology:capital }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4890004
Q5119
USER
And what about Benny Kalama?
(Q4890004,P20,c(Q5119))
action filter_type
action find
entity Q4890004
relation P20
type Q5119
['Q4890004', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?w WHERE { resource:Q4890004 property:P20 ?w . ?w rdf:type ontology:Q5119 }
Benny Kalama
action filter_type
action find
entity Benny Kalama
relation place of death
type capital
['Benny Kalama', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?w WHERE { resource:Benny_Kalama property:place_of_death ?w . ?w rdf:type ontology:capital }
[]
capital
Q18094
SYSTEM
Honolulu
Q18094
(Q4890004,P20,c(Q5119))
action filter_type
action find
entity Q4890004
relation P20
type Q5119
[ANSWER]
['Q4890004', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?w WHERE { resource:Q4890004 property:P20 ?w . ?w rdf:type ontology:Q5119 }
Honolulu
Honolulu
action filter_type
action find
entity Benny Kalama
relation place of death
type capital
['Benny Kalama', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?w WHERE { resource:Benny_Kalama property:place_of_death ?w . ?w rdf:type ontology:capital }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P20
Q502895
USER
How many people expired at that capital ?
(c(Q502895),P20,Q18094)
action count
action filter_type
action find_reverse
entity Q18094
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q18094']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P20 resource:Q18094 . ?g rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Honolulu
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Honolulu']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:place_of_death resource:Honolulu . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
302
Q20128732 Q6350606 Q1706668 Q766106 Q5363052 Q2870916 Q327960 Q6306162 Q16015537 Q3517056 Q5363060 Q2856335 Q2133870 Q5082814 Q872887 Q594545 Q20809943 Q4885412 Q3530645 Q1426734 Q4700178 Q887354 Q743219 Q4704401 Q5559612 Q6284223 Q2740593 Q455795 Q1997730 Q5273058 Q6107182 Q13059258 Q5076649 Q7173494 Q653633 Q3528728 Q16018656 Q5338645 Q5403070 Q1574416 Q1608228 Q7411032 Q3938324 Q5940654 Q2426583 Q8003706 Q6382661 Q19881691 Q2676921 Q3259674 Q2412267 Q2638694 Q4720440 Q6231271 Q6289963 Q1316713 Q5250247 Q8014797 Q880606 Q7264864 Q23967041 Q7323779 Q1466553 Q333691 Q5312732 Q3075631 Q1508591 Q886085 Q1133170 Q6267396 Q719596 Q5353701 Q107634 Q2840308 Q19871701 Q3246977 Q6128165 Q17287341 Q1252367 Q23047483 Q6242802 Q6199337 Q1346192 Q5076355 Q8017111 Q5394003 Q432546 Q16007758 Q6531194 Q42180 Q1922675 Q4723389 Q1825747 Q5582349 Q1794916 Q5725568 Q7157679 Q8018727 Q1728647 Q5341460 Q2575717 Q7562018 Q5336098 Q16856084 Q432764 Q5258590 Q718625 Q6707644 Q2976980 Q3193965 Q6077932 Q7175075 Q3751867 Q4747954 Q21663971 Q7288215 Q4934461 Q5552582 Q25349999 Q508720 Q7343196 Q1391543 Q4212818 Q1040003 Q5097101 Q1319193 Q5486501 Q1065657 Q6348023 Q12060949 Q284049 Q4281509 Q3395329 Q171684 Q1354766 Q7146582 Q14981692 Q5235833 Q1311548 Q5542936 Q2856311 Q6355120 Q457450 Q238716 Q4958844 Q270296 Q295516 Q470827 Q6137504 Q21850546 Q5764319 Q28976 Q18921121 Q4722240 Q6257578 Q2865273 Q5817693 Q4710227 Q468350 Q5235834 Q1812196 Q23303623 Q4767436 Q1294693 Q7411463 Q5542383 Q715129 Q6414193 Q6070891 Q5740486 Q2639960 Q3734239 Q16576785 Q2218966 Q6485348 Q6529652 Q5623436 Q1871900 Q2040112 Q5481211 Q1577301 Q20984556 Q21897351 Q25293480 Q535757 Q6076220 Q1805236 Q5546870 Q5904371 Q6263978 Q6130952 Q499508 Q1680532 Q1463 Q8006711 Q6520845 Q6520848 Q4667691 Q1064998 Q8000236 Q6455234 Q5396143 Q1338602 Q4667692 Q4730477 Q7071566 Q6242441 Q1276727 Q20148 Q6265184 Q17425439 Q621106 Q187799 Q921349 Q5735045 Q704473 Q1363078 Q6249634 Q123688 Q705567 Q463114 Q16194297 Q3052499 Q8014617 Q6135521 Q11015299 Q3437678 Q7087804 Q7412289 Q7411894 Q1230296 Q7297707 Q20811102 Q46081 Q4931563 Q8017535 Q2233941 Q17181022 Q4293499 Q4909325 Q1335701 Q2446692 Q4890004 Q6255350 Q399235 Q19587880 Q1122231 Q353133 Q2581779 Q8016423 Q611518 Q448208 Q4667670 Q1396630 Q368536 Q7788340 Q3565746 Q1687803 Q2411024 Q796771 Q5415512 Q3709618 Q18927075 Q6385335 Q470398 Q16856976 Q18921120 Q1331285 Q107288 Q5944347 Q7152699 Q1443231 Q3018099 Q5591238 Q954601 Q3074028 Q6253005 Q1663271 Q4786513 Q6393050 Q7782871 Q166251 Q328857 Q6410211 Q3819807 Q328864 Q14574167 Q1385916 Q78631 Q6382135 Q5968748 Q2331562 Q6271898 Q7926816 Q5080817 Q16015316 Q12053536 Q5203576 Q557535 Q6240574 Q2918765 Q8014754
(c(Q502895),P20,Q18094)
action count
action filter_type
action find_reverse
entity Q18094
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q18094']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P20 resource:Q18094 . ?g rdf:type ontology:Q502895 }
John Beaumont Kalanipauahi Joseph Poindexter Ann Dunham Elizabeth Kahanu Kalanianaʻole Augie Colón Allan Riverstone McCulloch Julia Alapai Moe Keale Tobin Wolf Elizabeth Kekaaniau Stanley Armour Dunham Ray Bumatai Charles T. Gulick Henri Berger Marion McCarrell Scott Nancy Sumner Ben Chapman Tom Adair Samuel Kahanamoku Akaiko Akana Kamehameha V Kamanawa II Al Masini Gideon Kailipalaki Laanui Joseph J. Fern Kīnaʻu Kamehameha III John Halliday Dick Jensen J. T. Gulick Maqsudul Alam Charles D. Herron Peter Cushman Jones Ed Parker John Gould Moyer Mitsuo Aoki Edith Porada Ethel Azama William Paul Jarrett Herbert E. Gregory Samuel C. Damon Robert Kane Humehume Thomas Gill Willette Kershaw Keeaumoku II Walter Walker Roy Andrew Miller Lorrin A. Thurston Bobo Olson Albert S. Willis Alexander Young John Edward Bush Joshua Kaeo Victor S. K. Houston Kuini Liliha William Luther Moehonua John A. Burns Pākī Jules Dudoit Richard Armstrong Fritz Hart Sanford B. Dole Duke Bainum Thomas Jaggar George Whitfield Andrews George R. Carter Robert William Wilcox Johnny Noble Henry J. Kaiser Elbert D. Thomas Herman Koeckemann Harold St. John John E. Burch Arman Manookian James A. King Jack Joyce Douglas Kennedy Cecil Brown John Kendrick Jimmie Dodd Stuart Adamson Charles Coffin Harris William Proctor Wilson Ernest William Christmas Jean Charlot Neal Blaisdell Leslie Vincent Israel Kamakawiwoʻole Pisculichi Albert Charles Smith Alfred S. Hartwell Lincoln Loy McCandless Goo Kim Fui Kwan Hi Lim Henry Martyn Whitney Peaches Jackson William Stanley William Tufts Brigham Edward A. Kawānanakoa Wilhelm Wolters Sonny Chillingworth Eddie Hamada Richard Casey Kenneth Mees Dennis Kamakahi John Van Denburgh Lydia Liliuokalani Kawānanakoa William Woodville Rockhill Kate Field Isabella Abbott Peter Kaeo Frank Marshall Davis Amos Starr Cooke Donald Putnam Abbott Ralph Waldo Christie Bob Worthington Gerrit P. Judd Frederick William Kahapula Beckley Sr. Dorothy Mackaill Robert Crichton Wyllie Lawrence M. Judd Kapaakea Carl Passavant Chiefess Kapiolani Morris Fisher Frank Evans Charles Noyes Forbes Kaiminaauao Charles Kanaina Shizuya Hayashi Dado Marino Victoria Kamāmalu Rhee Syng-man Tommy Kono Patrick Gordon Taylor Lorrin Andrews David Kalākaua Kawānanakoa Lou Brero George Norton Wilcox Madelyn Dunham Kam Fong Chun Fletcher Knebel Georg von Békésy Jean King Aileen Riggin Joseph Campbell George Herbig James Kānehoa Manuel Nunes Hilo Hattie Alexander Cartwright Lucy Goodale Thurston Alfred Apaka John Shelton Curtiss Arthur Murray Alf Hurum Albert Francis Judd Barbara Cox Anthony David Kamehameha Thelma Kalama Lord James Blears Anna Rice Cooke Edwin Horace Bryan, Jr. Samuel Gardner Wilder George Mecham Oren E. Long Kinooleoliliha William S. Richardson Hermann A. Widemann Albrecht Schultz Eugene Landy Mary Foster Samuel Wilder King Lane Bradford Les Keiter Gwen Lux Louis P. Bénézet Otto Degener Francis Haar Horace Worth Vaughan Pedro C. Sanchez Gwen-Lin Goo Paul Kanoa Kenneth Emory Isaac Davis Heaton Wrenn Georges Phillipe Trousseau James Kealoha John Wilbur James Campbell Harold Sakata James Harrison Ferdinand Marcos William Charles Achi Leleiohoku I Leleiohoku II Abigail Kapiolani Kawānanakoa Charles J. McCarthy Wilbur Schramm Kōnia Erwin Jay Boydston Max Malini Abigail Kuaihelani Campbell Allan Beekman Nāhienaena John Kameaaloha Almeida Vladimir Ossipoff Zhang Xueliang John Young Ruth Tabrah Bill Smith Wally Yonamine Mariechen Wehselau Herbert Matayoshi Jack Lord Erwin Jaskulski John Mott-Smith Duke Kahanamoku William F. Quinn Ebbe Schwartz Tommy Rogers Queen Emma of Hawaii William Little Lee James Harbottle Boyd Kamokuiki Kalama Oliver S. Picher Samuel Northrup Castle Samuel Kamakau Ditlev Thaanum Ray Kinney J. R. Kealoha Charles Henry Hitchcock Boaz Mahune William Richards Corky Trinidad Juan B. Tudela Carl Miller Bill Harris Sailor Jerry Ben Lyon Benny Kalama John Roderick Patsy Mink Reyer Herman van Zwaluwenburg Walter F. Frear Raymond Cattell Kaumualii William Owen Smith Leon Edel Ann Dvorak Abigail Campbell Kawānanakoa Te Rangi Hīroa Frederick C. Weyand Thomas Charles Byde Rooke Walter Edwards Jerry Byrd King Curtis Iaukea Allen Stack Evan Peter Aurand W. Wesley Peterson Arran Hoffmann Kekauōnohi Kamehameha IV James J. Williams Asa Thurston Elizabeth P. Farrington Liliuokalani Hunter Harris, Jr. Paul Neumann Frank Fasi D. Howard Hitchcock Grace Kamaikui Frederick Hanley Seares Florence Rice John Piña Craven Ingram Stainback Archibald Scott Cleghorn Keoni Ana Theresa Laanui George Campbell Munro Cyril J. Mockridge Kimo Wilder McVay Don Francisco de Paula Marín Tosiwo Nakayama Bernard A. Clarey Warren Kealoha Joseph Rock Kealiiahonui T. J. Bass Peter Tali Coleman Jonah Kumalae Victoria Kinoiki Kekaulike Charles McEwen Hyde John Paul Thomas Larry C. Brewer Dilbert Elmo Hardy Martin Denny John Hyland Mabel Taliaferro William Lowthian Green
302
action count
action filter_type
action find_reverse
entity Honolulu
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Honolulu']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:place_of_death resource:Honolulu . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1289858
P417
Q502895 Q44539 Q12737077
USER
How many people are the patron saint of approximately the same number of temples and occupations as Saint Bassian ?
(c(Q44539)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1289858
relation P417
type Q44539
type Q12737077
[[{'concept': 'Q44539'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?z WHERE { { ?n property:P417 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q44539 } UNION { ?n rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q502895 . ?n property:P417 ?z } } GROUP BY ?z } . FILTER ( ?v = ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P417 resource:Q1289858 . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q44539 ) ( ontology:Q12737077 ) } } } } }
Saint Bassian
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Saint Bassian
relation patron saint
type temple
type occupation
[[{'concept': 'temple'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?z WHERE { { ?n property:patron_saint ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:temple } UNION { ?n rdf:type ontology:occupation . ?z rdf:type ontology:common_name . ?n property:patron_saint ?z } } GROUP BY ?z } . FILTER ( ?v = ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:patron_saint resource:Saint_Bassian . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:temple ) ( ontology:occupation ) } } } } }
[]
common name temple occupation
SYSTEM
301
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 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 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 Q188411 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 Q177903 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 Q15284282 Q360798 Q298845 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 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 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 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 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q44539)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1289858
relation P417
type Q44539
type Q12737077
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?z WHERE { { ?n property:P417 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q44539 } UNION { ?n rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q502895 . ?n property:P417 ?z } } GROUP BY ?z } . FILTER ( ?v = ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P417 resource:Q1289858 . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q44539 ) ( ontology:Q12737077 ) } } } } }
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 Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky 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 Bernard of Clairvaux 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 Stephen I of Hungary 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 Adolphus Saint Eligius Saint Florian 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 Mary Magdalene Stephen I Helena of Constantinople Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen 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 Henry Erasmus of Formiae 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 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 Gregory I 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 Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
301
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Saint Bassian
relation patron saint
type temple
type occupation
[[{'concept': 'temple'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?z WHERE { { ?n property:patron_saint ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:temple } UNION { ?n rdf:type ontology:occupation . ?z rdf:type ontology:common_name . ?n property:patron_saint ?z } } GROUP BY ?z } . FILTER ( ?v = ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:patron_saint resource:Saint_Bassian . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:temple ) ( ontology:occupation ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q128538
P417
Q502895 Q44539 Q12737077
USER
And what about Luke the Evangelist?
(c(Q44539)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q128538
relation P417
type Q44539
type Q12737077
[[{'concept': 'Q44539'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?s WHERE { { ?s rdf:type ontology:Q502895 . ?n rdf:type ontology:Q44539 . ?n property:P417 ?s } UNION { ?n property:P417 ?s . ?s rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { { ?e rdf:type ontology:Q44539 } UNION { ?e rdf:type ontology:Q12737077 } } . ?e property:P417 resource:Q128538 } } . FILTER ( ?k = ?u ) }
Luke the Evangelist
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Luke the Evangelist
relation patron saint
type temple
type occupation
[[{'concept': 'temple'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?s WHERE { { ?s rdf:type ontology:common_name . ?n rdf:type ontology:temple . ?n property:patron_saint ?s } UNION { ?n property:patron_saint ?s . ?s rdf:type ontology:common_name . ?n rdf:type ontology:occupation } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { { ?e rdf:type ontology:temple } UNION { ?e rdf:type ontology:occupation } } . ?e property:patron_saint resource:Luke_the_Evangelist } } . FILTER ( ?k = ?u ) }
[]
common name temple occupation
SYSTEM
311
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 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 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 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 Q188411 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 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 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 Q63070 Q134666 Q170164 Q43399 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 Q43999 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 Q445357 Q359878 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 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q44539)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q128538
relation P417
type Q44539
type Q12737077
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?s WHERE { { ?s rdf:type ontology:Q502895 . ?n rdf:type ontology:Q44539 . ?n property:P417 ?s } UNION { ?n property:P417 ?s . ?s rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { { ?e rdf:type ontology:Q44539 } UNION { ?e rdf:type ontology:Q12737077 } } . ?e property:P417 resource:Q128538 } } . FILTER ( ?k = ?u ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours 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 Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky 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 Bernard of Clairvaux 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 Stephen I of Hungary 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 Stephen 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 Mary Magdalene Stephen I Helena of Constantinople Andrew 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 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 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 Henry Erasmus of Formiae 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 Gregory I 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 Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
311
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Luke the Evangelist
relation patron saint
type temple
type occupation
[[{'concept': 'temple'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?s WHERE { { ?s rdf:type ontology:common_name . ?n rdf:type ontology:temple . ?n property:patron_saint ?s } UNION { ?n property:patron_saint ?s . ?s rdf:type ontology:common_name . ?n rdf:type ontology:occupation } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { { ?e rdf:type ontology:temple } UNION { ?e rdf:type ontology:occupation } } . ?e property:patron_saint resource:Luke_the_Evangelist } } . FILTER ( ?k = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18094
P190
Q515
USER
How many cities are twin cities of Honolulu ?
(Q18094,P190,c(Q515))
action count
action filter_type
action find
entity Q18094
relation P190
type Q515
['Q18094', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q18094 property:P190 ?e . ?e rdf:type ontology:Q515 }
Honolulu
action count
action filter_type
action find
entity Honolulu
relation sister city
type city
['Honolulu', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Honolulu property:sister_city ?e . ?e rdf:type ontology:city }
[]
city
SYSTEM
4
Q8684 Q1533 Q111739 Q845857
(Q18094,P190,c(Q515))
action count
action filter_type
action find
entity Q18094
relation P190
type Q515
[ANSWER]
['Q18094', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q18094 property:P190 ?e . ?e rdf:type ontology:Q515 }
Seoul Caracas Puerto Princesa Uwajima
4
action count
action filter_type
action find
entity Honolulu
relation sister city
type city
['Honolulu', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Honolulu property:sister_city ?e . ?e rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q23051
P190
Q515
USER
And also tell me about Swansea?
(Q23051,P190,c(Q515))
action count
action filter_type
action find
entity Q23051
relation P190
type Q515
['Q23051', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q23051 property:P190 ?q . ?q rdf:type ontology:Q515 }
Swansea
action count
action filter_type
action find
entity Swansea
relation sister city
type city
['Swansea', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Swansea property:sister_city ?q . ?q rdf:type ontology:city }
[]
city
SYSTEM
2
Q2119 Q57947
(Q23051,P190,c(Q515))
action count
action filter_type
action find
entity Q23051
relation P190
type Q515
[ANSWER]
['Q23051', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q23051 property:P190 ?q . ?q rdf:type ontology:Q515 }
Mannheim Nantong
2
action count
action filter_type
action find
entity Swansea
relation sister city
type city
['Swansea', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Swansea property:sister_city ?q . ?q rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q158064
Q515
USER
And what about Steglitz-Zehlendorf?
(Q158064,P190,c(Q515))
action count
action filter_type
action find
entity Q158064
relation P190
type Q515
['Q158064', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q158064 property:P190 ?v . ?v rdf:type ontology:Q515 }
Steglitz-Zehlendorf
action count
action filter_type
action find
entity Steglitz-Zehlendorf
relation sister city
type city
['Steglitz-Zehlendorf', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Steglitz-Zehlendorf property:sister_city ?v . ?v rdf:type ontology:city }
[]
city
SYSTEM
1
(Q158064,P190,c(Q515))
action count
action filter_type
action find
entity Q158064
relation P190
type Q515
[ANSWER]
['Q158064', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q158064 property:P190 ?v . ?v rdf:type ontology:Q515 }
1
action count
action filter_type
action find
entity Steglitz-Zehlendorf
relation sister city
type city
['Steglitz-Zehlendorf', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Steglitz-Zehlendorf property:sister_city ?v . ?v rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18094 Q12996
P504
Q2235308
USER
How many ship types have Honolulu or Ostend as their base harbour ?
(c(Q2235308),P504,Q18094) (c(Q2235308),P504,Q12996)
action count
action union
action filter_type
action find_reverse
entity Q18094
relation P504
type Q2235308
action filter_type
action find_reverse
entity Q12996
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q18094'] [{'concept': 'Q2235308'}, 'P504', 'Q12996']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { ?i rdf:type ontology:Q2235308 . ?i property:P504 resource:Q18094 } UNION { ?i rdf:type ontology:Q2235308 . ?i property:P504 resource:Q12996 } }
Honolulu Ostend
action count
action union
action filter_type
action find_reverse
entity Honolulu
relation home port
type ship type
action filter_type
action find_reverse
entity Ostend
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Honolulu'] [{'concept': 'ship type'}, 'home port', 'Ostend']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { ?i rdf:type ontology:ship_type . ?i property:home_port resource:Honolulu } UNION { ?i rdf:type ontology:ship_type . ?i property:home_port resource:Ostend } }
[]
ship type
SYSTEM
3
Q2555032 Q663536 Q674806
(c(Q2235308),P504,Q18094) (c(Q2235308),P504,Q12996)
action count
action union
action filter_type
action find_reverse
entity Q18094
relation P504
type Q2235308
action filter_type
action find_reverse
entity Q12996
relation P504
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P504', 'Q18094'] [{'concept': 'Q2235308'}, 'P504', 'Q12996']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { ?i rdf:type ontology:Q2235308 . ?i property:P504 resource:Q18094 } UNION { ?i rdf:type ontology:Q2235308 . ?i property:P504 resource:Q12996 } }
RV Zeeleeuw Falls of Clyde Mercator
3
action count
action union
action filter_type
action find_reverse
entity Honolulu
relation home port
type ship type
action filter_type
action find_reverse
entity Ostend
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Honolulu'] [{'concept': 'ship type'}, 'home port', 'Ostend']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { ?i rdf:type ontology:ship_type . ?i property:home_port resource:Honolulu } UNION { ?i rdf:type ontology:ship_type . ?i property:home_port resource:Ostend } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18094
P1376
Q7275
USER
Which state has that capital has its first city ?
action filter_type
action find
entity Q18094
relation P1376
type Q7275
SELECT DISTINCT ?a WHERE { resource:Q18094 property:P1376 ?a . ?a rdf:type ontology:Q7275 }
Honolulu
action filter_type
action find
entity Honolulu
relation capital of
type state
SELECT DISTINCT ?a WHERE { resource:Honolulu property:capital_of ?a . ?a rdf:type ontology:state }
[]
state
Q2593459
SYSTEM
Provisional Government of Hawaii
Q2593459
action filter_type
action find
entity Q18094
relation P1376
type Q7275
The [ANSWER] has that capital has its first city
SELECT DISTINCT ?a WHERE { resource:Q18094 property:P1376 ?a . ?a rdf:type ontology:Q7275 }
Provisional Government of Hawaii
The Provisional Government of Hawaii has that capital has its first city
Provisional Government of Hawaii
action filter_type
action find
entity Honolulu
relation capital of
type state
SELECT DISTINCT ?a WHERE { resource:Honolulu property:capital_of ?a . ?a rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18094
P19
Q502895
USER
How many people have location of birth at Honolulu ?
(c(Q502895),P19,Q18094)
action count
action filter_type
action find_reverse
entity Q18094
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q18094']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P19 resource:Q18094 . ?r rdf:type ontology:Q502895 }
Honolulu
action count
action filter_type
action find_reverse
entity Honolulu
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Honolulu']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:place_of_birth resource:Honolulu . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
479
Q6705573 Q2379965 Q2986219 Q8014128 Q577416 Q7279232 Q4102565 Q4980403 Q7702268 Q3183215 Q16207666 Q17423507 Q15622421 Q7964798 Q2870916 Q19666930 Q2655002 Q5607024 Q11465419 Q19520070 Q5431657 Q5372105 Q934108 Q11836799 Q910460 Q6163592 Q434132 Q37459 Q20809943 Q1426734 Q17427855 Q11485696 Q5393371 Q887354 Q5246414 Q2158024 Q4143106 Q4749416 Q3447923 Q16554252 Q23815354 Q6382142 Q16214514 Q3616783 Q653633 Q509742 Q5240622 Q4892746 Q6409887 Q5403070 Q1574416 Q4727563 Q24005515 Q456892 Q24450229 Q17715077 Q7365000 Q1700833 Q2426583 Q6733939 Q16019644 Q5491114 Q6911742 Q241530 Q3259674 Q442847 Q3481621 Q887563 Q2412267 Q11650278 Q6271925 Q286570 Q7825257 Q6446918 Q816457 Q499103 Q5702135 Q5682577 Q6237146 Q4796872 Q7373534 Q15069968 Q562917 Q3135681 Q4713069 Q3806668 Q15987802 Q2960863 Q1627513 Q5342852 Q13426921 Q4704244 Q6905742 Q333691 Q3171930 Q1157509 Q886085 Q6267396 Q3702254 Q7128906 Q7298738 Q1394654 Q16197299 Q20087388 Q17581444 Q290851 Q5365633 Q6127928 Q6409915 Q16192903 Q8354180 Q16886213 Q6771747 Q539432 Q16150107 Q7182128 Q2105733 Q16578192 Q24151039 Q240701 Q5495430 Q15633469 Q7831806 Q1148858 Q11558750 Q6522702 Q42180 Q1957683 Q3035609 Q20631192 Q1740284 Q3246701 Q3842065 Q321101 Q15922226 Q5939933 Q7381760 Q14950435 Q1420743 Q5235849 Q13560315 Q312845 Q24006480 Q5220956 Q21070408 Q2606332 Q5336098 Q5258590 Q14504648 Q573944 Q6849123 Q6389370 Q4767129 Q12497767 Q6707644 Q16222080 Q7175075 Q7831173 Q4766434 Q1391543 Q453743 Q16120157 Q232397 Q926441 Q506849 Q1320894 Q1907231 Q2454564 Q6348023 Q4281509 Q190631 Q3395329 Q2344456 Q3277319 Q774282 Q21064351 Q17208950 Q15964396 Q264377 Q7609642 Q11339622 Q6808022 Q18921685 Q1770446 Q6512344 Q2907955 Q5235833 Q1562015 Q1266560 Q3369104 Q8025878 Q6408504 Q16210745 Q23007681 Q8286 Q71107 Q1413852 Q4958844 Q271059 Q5539158 Q3935824 Q2400817 Q10306411 Q6209483 Q2326219 Q13476257 Q6244753 Q3130736 Q426265 Q1165899 Q16732700 Q4716934 Q3333454 Q3041153 Q4756865 Q5764319 Q999562 Q3952829 Q913186 Q608042 Q4722240 Q3984345 Q4710227 Q11835901 Q11567018 Q5495704 Q922700 Q6528895 Q3026363 Q5543034 Q1646476 Q7610490 Q5235834 Q2304834 Q6687548 Q1812196 Q6370028 Q4766493 Q17566621 Q6209899 Q6396900 Q5584989 Q5336179 Q6833992 Q6108746 Q6445407 Q359366 Q6391229 Q8004472 Q3543260 Q896793 Q4384934 Q1742005 Q5389177 Q6070891 Q601377 Q788503 Q3859348 Q228755 Q5077919 Q16576785 Q3514315 Q6446747 Q5648363 Q3704364 Q2218966 Q7412197 Q3814206 Q3329187 Q2216519 Q1177253 Q16242337 Q6758302 Q6214495 Q7799457 Q6382119 Q167696 Q2981325 Q18357807 Q1111593 Q21130280 Q533270 Q5995317 Q448305 Q297097 Q453222 Q6788915 Q5498514 Q11318146 Q450191 Q4958508 Q4738855 Q3815360 Q21897351 Q331136 Q4772865 Q352185 Q1367571 Q5077983 Q6176281 Q1755170 Q7456437 Q5263044 Q8006712 Q6520848 Q4667691 Q4723604 Q274127 Q6408424 Q16164857 Q16231244 Q236842 Q1737351 Q647207 Q434674 Q4667690 Q621106 Q3980945 Q329077 Q921349 Q5661330 Q7329097 Q6808707 Q3481437 Q1450 Q309835 Q6153507 Q16115410 Q469485 Q123688 Q7436898 Q1700634 Q6851866 Q6378518 Q26208495 Q5126597 Q3052499 Q5769048 Q16268461 Q2947885 Q5481585 Q933904 Q10834319 Q5233136 Q6260935 Q2346099 Q237220 Q551626 Q7488197 Q7288092 Q17145690 Q438144 Q11240087 Q5233987 Q555890 Q18612407 Q268069 Q3447891 Q3193130 Q768073 Q614774 Q2718472 Q16208982 Q5108512 Q16204086 Q511484 Q891096 Q3331804 Q7794346 Q6712996 Q5081041 Q16224945 Q7965613 Q4909325 Q331282 Q5372404 Q4732787 Q6289300 Q3374955 Q661591 Q8016403 Q3840918 Q6153466 Q5230753 Q11294444 Q7278599 Q257182 Q1027730 Q7609942 Q6276852 Q4710173 Q1453320 Q315271 Q231116 Q7823357 Q274385 Q11832272 Q1443244 Q15987664 Q7488128 Q3705891 Q8017540 Q8017544 Q16730729 Q4966049 Q92961 Q7650796 Q6795591 Q2273164 Q4667670 Q22920385 Q8025031 Q375715 Q6261381 Q15616536 Q17308784 Q3546384 Q6129768 Q6390570 Q5296478 Q3643723 Q3229188 Q2411024 Q5133323 Q3051062 Q969172 Q3101697 Q3157279 Q234329 Q2938849 Q16194770 Q1698757 Q7306111 Q7959690 Q3843918 Q6225957 Q1488078 Q3809532 Q470398 Q526273 Q5981877 Q20901722 Q339030 Q7138345 Q5110661 Q107288 Q5661401 Q5347681 Q7114277 Q7782871 Q19952912 Q18416513 Q21664606 Q1341937 Q6382106 Q314200 Q602218 Q1385916 Q288735 Q8007702 Q14948799 Q2351528 Q6181315 Q6271898 Q4974058 Q163080 Q548569 Q2170507 Q430600 Q6364204 Q11441907 Q7369652 Q3013453 Q2673327 Q507469 Q7302004 Q11929949 Q492432 Q6144547
(c(Q502895),P19,Q18094)
action count
action filter_type
action find_reverse
entity Q18094
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q18094']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P19 resource:Q18094 . ?r rdf:type ontology:Q502895 }
Luther Halsey Gulick, Sr. Thomas Beatie Heidi Swedberg William Kwai Sun Chow Bill Tapia Rachel Factor Tina Wiseman Bryan Suits Teresia Teaiwa Jon Moritsugu Ryan Yamane Joshua Kekaulahao Angelique Cabral Walter F. Dillingham Augie Colón Justin Eugene Evans Robin Olds Gregory L. Geoffroy Kano Omoda Blair Parry-Okeden Falaniko Vitale Emily Chang Kevin S. Tenney Maria Quiban Bret Garnett Jason Tam Mika Tan Nicole Kidman Nancy Sumner Samuel Kahanamoku Andrew Schenck Jun Hirota Ernest Kaʻai Kamehameha V Dean Pitchford Robert Leong Honolulu Strangler Amy Tong Keelikōlani Erik Shoji David Collins Kealoha Chris McKinney Angela Perez Baraquio Ed Parker Annie Montague Alexander David Vaudreuil Bern Brostek Kimberly-Rose Wolter Ethel Azama William Paul Jarrett Aliza Sherman Bri Morrnah Simeona Chelsea Hardin Aloha Dalire Ronald Jhun John Leslie Catterall Thomas Gill Mahi Beamer Rynn Berry Keoni Waxman Morgan Langley Keiko Agena Lorrin A. Thurston Katija Pevec Shawn Lauvao George Ariyoshi Bobo Olson Kenji Zenimura Jonah Ray Tia Carrere Tor Kamata Kurt Moylan Ben Cayetano Lunalilo Helen Desha Beamer Haunani Minn John H. Wilson Art Hoppe Roy Y. Suenaka Denice Kumagai Steve Case Tracie Ruiz Daniel Bess James Martinez Jon Mamoru Takagi Charlie Hough Lily Thai Edward Faaloloto Michele Rogers Al Kikume Montgomery Kaluhiokalani Sanford B. Dole Jean Erdman Dai-Keong Lee George R. Carter Johnny Noble Teila Tuli Pam Arciero Raymond E. Douglas James Mercer Mark Takai Ruthie Ann Miles Kevin O'Connor Clarissa Chun Elliott Cho Jamel Mitchell Kimberly Dozier Courtney Rogers David St. James Michael Tucker Marlene Sai Mike Starr Ikaika Anderson Phil Loadholt Austin Peck Micah Christenson MadeinTYO K. Megan McArthur Fred Hemmings Henry de Varigny Tracy Nakayama Tanoai Reed Emily Kaiho Lenn Sakata Israel Kamakawiwoʻole Pisculichi Bill Woolsey Taiyō Kea Marcus Hatley Kevin Wong Mikio Hasemoto Macel Wilson David Cass Larry Yaji Humbert Roque Versace Russell S. Kokubun Kili Lefotu Joanna Sotomura David Kaonohiokala Bray Elle McLemore Daniel Inouye Barbara Perry Danny Yamashiro Suzanne Mathis McQueen Keone Young Eddie Hamada Dennis Kamakahi Lo Chan Anthony Ruivivar Mike Ulufale Kenji Treschuk Anna Kaiulani Meilinda Soerjoko Lydia Liliuokalani Kawānanakoa Taylor Takata Peter Kaeo Tracee Tolentino Ann Harada Lawrence M. Judd Lena Yada Thomas O. Bales Jr. Shannyn Sossamon Hiram Fong Bobby Wood Don Ho Mason Jennings Charles Kalani Kaiminaauao Dado Marino Bette Midler Victoria Kamāmalu Stephany Lee Kaʻiulani Stein Metzger Samantha Hill Jiro Jay Moriguchi Rebecca Morris Erin Gray Stephen K. Yamashiro Mike Lum Meg Wyllie Caprice Dydasco Robyn Ah Mow-Santos Ling-Ai Li Bobby Holcomb David Kalākaua Kawānanakoa Jim Osborne James C. Kennedy Patricia Ford Winona Beamer Kim Coco Iwamoto Albert Cheng Kamalei Correa Dean Ho William Francis Hillebrand Maiola Kalili Jean King Mageina Tovah George F. Wright Riley McKibbin Teilor Grubbs Jasmine Aloha Joe Devance Dick Cleveland Meleana Shim John Lewis Lovieanne Jung Ryan Kurosaki Darin Brooks John Mizuno Alex Dreier Maile Flanagan Jared Murillo Andrew Dykstra Hilo Hattie James Miyaji Scott Coffey Brian Viloria Francys Arsentiev Alfred Apaka Teri Ann Linn Albert Francis Judd Laurette Luez Katsuhiko Haida Fred Kuhaulua Richard E. Cunha Leroy A. Mendonca Ron Darling George Onekea Agnes Lum Stephen Scott Young David Kamehameha Manuella Kalili Louis Keouli Thompson Thelma Kalama Karen Shelton Ann Kobayashi Nicholas Hormann Joe Francis Kevin McCollum Gordon Chung-Hoon Eddie Kamae Michael Rothwell JP Kupono Low Daniel Akaka Kenny Thorne William Ansel Kinney Jasmine Trias Brad Gillis Paul Pfeiffer "King" Bennie Nawahi Erin Lucas William S. Richardson Kayla Blake Pete Carpenter Misti Traya Lauren Graham Charles G. Cleveland Mary Foster Takeshi Fuji Kurt Gouveia Hank Hughes Debbye Turner Samuel Wilder King Samuel Mills Damon Kealoha Pilares David Kawānanakoa Sam Ku West David Wolstencroft Jason Tom Marcus Mariota Joey Meyer Thurston Twigg-Smith Keala O'Sullivan Nicole Scherzinger Coco Ho Henry Luning Allan Ohata William Alexander Stewart Gerry Lopez Ikaika Kahoano Anjani Jack Johnson Julie McCullough Matt Knudsen Frederick Pang Chad Nacapoy Stacy Kamano Braxton Olita Alésia Glidewell Kimo Proudfoot Gwen-Lin Goo Ehren Watada Anthony K. Roberts Sol Hoʻopiʻi Esera Tuaolo Charles Gaylord Jeffrey Silverthorne Samson Satele Seth Baczynski Derrick Kahala Watson William Charles Achi, Jr. Leleiohoku II Abigail Kapiolani Kawānanakoa Alfred Wellington Carter Mamo Clark Kim Campbell Tim Bartro Charlene Kaye Kelly Preston Kawika Shoji Alexis Crimes Anne Brigman Abigail Kinoiki Kekaulike Kawānanakoa Bill Smith Tanya Wilson Brian Gaskill Mariechen Wehselau Harold Kainalu Long Castle Richard Smart Megan McClung Shannon Nishi Bruno Mars Timothy Olyphant Janet Mock Randy Iwase Tumua Anae Duke Kahanamoku Scott Moore John John Florence Mililani Trask Katy Munger Benajah Jay Antrim Clarence Hyde Cooke Queen Emma of Hawaii Hiram Bingham II Joseph Kauliakamoa Jr. Evelyn Kawamoto Francis Judd Cooke Jake Shimabukuro Wally Jay David Dwight Baldwin John Tobia Carrie Ann Inaba Hiram Bingham III Clayton Stanley Shane Nelson Ralph Siu Jon de Mello Tamari Miyashiro Matt Corboy David Gallaher Don Stroud Randy Avon Melody Miyuki Ishikawa Kekāuluohi Karen Steele Tahj Mowry Maggie Q Michael W. Doyle Michael Graue Chris Woo Jeffrey Cobb Mr. Fuji Ford Konno Likelike Thomas Tamas M. Patton Echols Charles Montague Cooke Brock Granger Walter Meheula Heen Bill Harris Tadd Fujikawa Emily Turner Allison Lipsher Josh Rife Paul Avery Clyde Kusatsu William Ouchi Luther Gulick Janet Liang David Amerson Kanani Danielson Rabbit Kekai Yvonne Elliman Calvin Say Stephen McCarthy Jordan Norwood Albert F. Judd Mufi Hannemann Jason Momoa Kelly Hu Tony Scalzo Lindsey Berg Jennifer Billingsley Frank Ferera Dustin Kimura Shane Komine Derrick Low William Richards Castle William Richards Castle, Jr. Kenny Wesley Brickwood Galuteria Jordan Hubbard Suzanne Chun Oakland Maxim Knight Francis B. Wai Abigail Campbell Kawānanakoa Ron Nakahara Winfield W. Scott, Jr. Adriano Directo Emperado John Tuggle Titus Odell Makin Jr. Jim Bartels Tyson Alualu James Bicknell Castle Kenneth P. Moritsugu Donna Tanoue Brandon Rodd Leilani Bishop King Curtis Iaukea Clifton Sunada Elisa Au Enson Inoue George Kotaka Jack Mower Michelle Wie Carissa Moore Jessie Reid Olin Kreutz Redmond Burke Wah Chang Malia Hosaka John Chin Young Gabby Pahinui John Patrick Lowrie Kamehameha IV Andy Irons Maylana Martin Lina Fanene Michael Kearney Parker McLachlin Christie Abbott Liliuokalani Harold Kruger Egan Inoue Owana Salazar Theresa Laanui Keanu Asing Bradley Lawson Kini Kapahu Jason McCartney Keahu Kahuanui Mark Dacascos Kyla Ross Warren Kealoha Jerome Williams William DeWitt Alexander Chipman L. Flowers, Jr. Greg Beeman Jeremy Dunn Jonah Kumalae Bronson Sardinha Kalākaua Charles Montague Cooke, Jr. Terry Teruo Kawamura Amanda Schull Kanoa Leahey Isao Ōdate Ross T. Dwyer Dane Sardinha Christel Simms Guy Kawasaki Rebekah Kim Kristin Oppenheim Benny Agbayani Sid Fernandez
479
action count
action filter_type
action find_reverse
entity Honolulu
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Honolulu']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:place_of_birth resource:Honolulu . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q652539
P19
Q502895
USER
And how about Argyll?
(c(Q502895),P19,Q652539)
action count
action filter_type
action find_reverse
entity Q652539
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q652539']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P19 resource:Q652539 . ?x rdf:type ontology:Q502895 }
Argyll
action count
action filter_type
action find_reverse
entity Argyll
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Argyll']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:place_of_birth resource:Argyll . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q324269 Q5696848 Q1680800 Q11689927 Q6135382 Q17067736 Q6262700 Q7146204 Q4730815 Q5294794 Q1634238 Q4275635 Q6134866
(c(Q502895),P19,Q652539)
action count
action filter_type
action find_reverse
entity Q652539
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q652539']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P19 resource:Q652539 . ?x rdf:type ontology:Q502895 }
Alexander Thom Hector Mor Maclean, 16th Chief James McLachlan Charles Maclean James Haldane Stewart Lockhart John Gregorson Campbell John Walker Patrick Campbell Allan Maclean of Torloisk Donald Macnish Hugh Buchanan John of Argyll James Grant
13
action count
action filter_type
action find_reverse
entity Argyll
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Argyll']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:place_of_birth resource:Argyll . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q7275
USER
Which states have an anthem named around 1 literary works or hymns ?
(c(Q7275),P85,c(Q7725634)|c(Q484692))
action approx
action union
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action find_tuple_counts
relation P85
type Q7275
type Q484692
value 1
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?z ) WHERE { { ?g property:P85 ?p . ?p rdf:type ontology:Q7725634 . ?g rdf:type ontology:Q7275 } UNION { ?g property:P85 ?p . ?p rdf:type ontology:Q484692 . ?g rdf:type ontology:Q7275 } } GROUP BY ?g } . FILTER ( ?z = 1 ) }
action approx
action union
action find_tuple_counts
relation anthem
type state
type literary work
action find_tuple_counts
relation anthem
type state
type hymn
value 1
[{'concept': 'state'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?z ) WHERE { { ?g property:anthem ?p . ?p rdf:type ontology:literary_work . ?g rdf:type ontology:state } UNION { ?g property:anthem ?p . ?p rdf:type ontology:hymn . ?g rdf:type ontology:state } } GROUP BY ?g } . FILTER ( ?z = 1 ) }
[]
literary work hymn state
Q33946 Q980 Q16957
SYSTEM
Czechoslovakia, Bavaria, East Germany
Q241748 Q211853 Q180573 Q797527 Q1274468 Q2414171 Q218023 Q245160 Q25279 Q174193 Q965174 Q233263 Q1028835 Q330988 Q139670 Q27306 Q457167 Q533558 Q167360 Q1044536 Q209065 Q21203 Q713750 Q209062 Q1998866 Q207162 Q11196 Q2006542 Q131964 Q133356 Q2454585 Q33946 Q83572 Q191077 Q2638486 Q28278 Q16957 Q1649871 Q941881 Q870055 Q842794 Q1057542 Q652560 Q550374 Q178038 Q30623 Q203493 Q867778 Q147909 Q980 Q58202 Q1709185 Q154401 Q180393 Q112558 Q252580 Q518101 Q37024 Q16410 Q153128 Q83286 Q173761 Q207272 Q25227 Q15864 Q738144 Q36704 Q950644 Q153015 Q49910 Q386496 Q696242 Q71092 Q217230 Q170072 Q170174 Q212056 Q210542 Q7318 Q1072140 Q170468 Q146328 Q248452 Q8733 Q371334 Q853348 Q824489 Q2342822 Q189988 Q1192936 Q615902 Q708865 Q498735 Q491559 Q154195 Q1072362 Q1775277 Q121932 Q146761 Q153660 Q70972 Q497777 Q206411 Q12548 Q211274 Q6500954 Q26988 Q26273 Q139319 Q171150 Q487687 Q370736 Q541455 Q41304 Q797422 Q216173 Q178469
(c(Q7275),P85,c(Q7725634)|c(Q484692))
action approx
action union
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action find_tuple_counts
relation P85
type Q7275
type Q484692
value 1
[ANSWERS] have an anthem named around 1 literary works or hymns
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?z ) WHERE { { ?g property:P85 ?p . ?p rdf:type ontology:Q7725634 . ?g rdf:type ontology:Q7275 } UNION { ?g property:P85 ?p . ?p rdf:type ontology:Q484692 . ?g rdf:type ontology:Q7275 } } GROUP BY ?g } . FILTER ( ?z = 1 ) }
Kingdom of Serbia Republic of Serbian Krajina South Vietnam British Togoland Republic of Bosnia and Herzegovina First Brazilian Republic Orange Free State Democratic Republic of Georgia Curaçao United Kingdom of Great Britain and Ireland Coalition Provisional Authority Second Republic of South Korea British Cameroons Democratic Kampuchea Democratic Republic of Armenia Kingdom of Prussia West Ukrainian People's Republic Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Kingdom of Greece Aruba West Germany Socialist Republic of Croatia Czech and Slovak Federal Republic Bourbon Restoration Republika Srpska Dominion of Pakistan Austrian Empire Ukrainian Soviet Socialist Republic History of Czechoslovakia Czechoslovakia Sikh Empire Kingdom of Yugoslavia Kingdom of Cambodia Provisional Government of the Republic of Korea East Germany Kingdom of Poland Netherlands New Guinea Kingdom of Laos Socialist Republic of Romania Republic of Hawaii West Indies Federation South African Republic Second Spanish Republic Manchukuo Kingdom of Romania People's Republic of Kampuchea Kingdom of Bulgaria Bavaria July Monarchy Kingdom of Spain under Joseph Bonaparte Slovak Republic Kingdom of the Two Sicilies Republic of Saugeais Duchy of Modena and Reggio First Republic of Austria Serbia and Montenegro People's Republic of Hungary Independent State of Croatia Socialist Federal Republic of Yugoslavia Lithuanian Soviet Socialist Republic Second Polish Republic Netherlands Antilles United Kingdom of the Netherlands United Provinces of the Río de la Plata Yugoslavia Carpatho-Ukraine Kingdom of Saxony Colony of Aden Kingdom of Montenegro Reorganized National Government of China Second French Empire Empire of Brazil Dutch Republic Papal States Mongolian People's Republic Second Brazilian Republic Nazi Germany Roman Republic United Arab Republic Commonwealth of the Philippines British North America Qing dynasty Second Mexican Empire Czechoslovak Socialist Republic Estado Novo West Pakistan Central African Empire Kingdom of Burundi Kingdom of Finland Reformed Government of the Republic of China division of Korea First Republic of South Korea Kingdom of Bavaria Provisional Revolutionary Government of the Republic of South Vietnam Dominion of India People's Republic of Bulgaria Hatay State Italian Social Republic Kingdom of France First Spanish Republic Democratic Republic of Azerbaijan Holy Roman Empire People's Republic of Poland Zaire Cook Islands Sint Maarten Russian Republic Kingdom of Hungary Third Republic of South Korea Cape Colony Anglo-Egyptian Sudan Weimar Republic Republic of Upper Volta Free City of Danzig Biafra
Czechoslovakia, Bavaria and East Germany have an anthem named around 1 literary works or hymns
Czechoslovakia Bavaria East Germany
action approx
action union
action find_tuple_counts
relation anthem
type state
type literary work
action find_tuple_counts
relation anthem
type state
type hymn
value 1
[{'concept': 'state'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?z ) WHERE { { ?g property:anthem ?p . ?p rdf:type ontology:literary_work . ?g rdf:type ontology:state } UNION { ?g property:anthem ?p . ?p rdf:type ontology:hymn . ?g rdf:type ontology:state } } GROUP BY ?g } . FILTER ( ?z = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1376
Q7275 Q515 Q20667921
USER
How many states have lesser number of cities or french administrative divisions as their capital than that state ?
(c(Q515)|c(Q20667921),P1376,c(Q7275))
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1376 ?y } UNION { ?x property:P1376 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q7275 . ?x rdf:type ontology:Q20667921 }
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:capital_of ?y } UNION { ?x property:capital_of ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:state . ?x rdf:type ontology:type_of_french_administrative_division }
[]
state city type of french administrative division
Comparative|Count over More/Less|Mult. entity type|Clarification
Q33946
SYSTEM
Did you mean Czechoslovakia ?
(c(Q515)|c(Q20667921),P1376,c(Q7275))
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1376 ?y } UNION { ?x property:P1376 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q7275 . ?x rdf:type ontology:Q20667921 }
Did you mean Czechoslovakia ?
Czechoslovakia
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:capital_of ?y } UNION { ?x property:capital_of ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:state . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q515)|c(Q20667921),P1376,c(Q7275))
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
[]
SYSTEM
0
(c(Q515)|c(Q20667921),P1376,c(Q7275))
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1376 ?y } UNION { ?x property:P1376 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q7275 . ?x rdf:type ontology:Q20667921 }
0
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:capital_of ?y } UNION { ?x property:capital_of ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:state . ?x rdf:type ontology:type_of_french_administrative_division }
[]