Simple Question (Direct)
Simple Question
Q16363330
P21
Q290
USER
Which sex does Jalmari Torikka possess ?
(Q16363330,P21,c(Q290))
action filter_type
action find
entity Q16363330
relation P21
type Q290
['Q16363330', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q16363330 property:P21 ?y . ?y rdf:type ontology:Q290 }
Jalmari Torikka
action filter_type
action find
entity Jalmari Torikka
relation gender
type sex
['Jalmari Torikka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Jalmari_Torikka property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16363330,P21,c(Q290))
action filter_type
action find
entity Q16363330
relation P21
type Q290
Jalmari Torikka possesses the [ANSWER]
['Q16363330', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q16363330 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Jalmari Torikka possesses the male
male
action filter_type
action find
entity Jalmari Torikka
relation gender
type sex
['Jalmari Torikka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Jalmari_Torikka property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16363330
P937
Q56061
USER
What is the location where Jalmari Torikka worked ?
(Q16363330,P937,c(Q56061))
action filter_type
action find
entity Q16363330
relation P937
type Q56061
['Q16363330', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q16363330 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Jalmari Torikka
action filter_type
action find
entity Jalmari Torikka
relation work location
type administrative territorial entity
['Jalmari Torikka', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jalmari_Torikka property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q16363330,P937,c(Q56061))
action filter_type
action find
entity Q16363330
relation P937
type Q56061
The location Jalmari Torikka worked is in [ANSWER]
['Q16363330', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q16363330 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Helsinki
The location Jalmari Torikka worked is in Helsinki
Helsinki
action filter_type
action find
entity Jalmari Torikka
relation work location
type administrative territorial entity
['Jalmari Torikka', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jalmari_Torikka property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15998793
Q56061
USER
And also tell me about Harry Cunningham Brodie?
(Q15998793,P937,c(Q56061))
action filter_type
action find
entity Q15998793
relation P937
type Q56061
['Q15998793', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q15998793 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Harry Cunningham Brodie
action filter_type
action find
entity Harry Cunningham Brodie
relation work location
type administrative territorial entity
['Harry Cunningham Brodie', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Harry_Cunningham_Brodie property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q15998793,P937,c(Q56061))
action filter_type
action find
entity Q15998793
relation P937
type Q56061
[ANSWER]
['Q15998793', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q15998793 property:P937 ?x . ?x rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Harry Cunningham Brodie
relation work location
type administrative territorial entity
['Harry Cunningham Brodie', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Harry_Cunningham_Brodie property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7393546
P532
Q56061 Q2235308
USER
How many ship types have less number of administrative territories as registry port than SS Empire Airman ?
(c(Q2235308),P532,c(Q56061))
action count
action less
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q7393546
relation P532
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q7393546 property:P532 ?o . ?o rdf:type ontology:Q56061 } } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?g ) WHERE { ?e property:P532 ?c . ?e rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?e } }
SS Empire Airman
action count
action less
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity SS Empire Airman
relation port of registry
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:SS_Empire_Airman property:port_of_registry ?o . ?o rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?g ) WHERE { ?e property:port_of_registry ?c . ?e rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } }
[]
administrative territorial entity ship type
SYSTEM
587
Q24027529 Q24027524 Q24027523 Q24027520 Q24027521 Q558338 Q24027098 Q5416 Q23935687 Q24027294 Q24027295 Q24027296 Q24027297 Q24027290 Q24027291 Q24027293 Q24027355 Q24027354 Q24027357 Q24027356 Q24027298 Q24027350 Q24027353 Q24027352 Q24027450 Q24027456 Q24027457 Q10659232 Q24027455 Q24027458 Q24027459 Q671137 Q24027390 Q24027188 Q24027189 Q23936292 Q24027181 Q24027183 Q24027184 Q24027185 Q24027186 Q24027187 Q24026972 Q21590707 Q24026970 Q24026971 Q24026976 Q24026974 Q24026975 Q24026978 Q24026979 Q24027078 Q24027079 Q24027075 Q24027076 Q24027077 Q24027070 Q24027071 Q24027072 Q24027073 Q24027175 Q24027174 Q24027177 Q24027279 Q24027171 Q24027170 Q24027173 Q24027172 Q24027272 Q24027270 Q24027179 Q24027178 Q24027274 Q24027275 Q24027269 Q24027009 Q24027008 Q24027001 Q24027000 Q24027003 Q24027386 Q24027005 Q24027004 Q24027007 Q24027006 Q24027467 Q24027418 Q24027416 Q24027414 Q24027412 Q24027413 Q24027410 Q3432142 Q21546160 Q7393645 Q24027302 Q24027303 Q24027300 Q24027301 Q24027306 Q24027307 Q24027304 Q24027305 Q24027359 Q24027308 Q24027309 Q24027358 Q25933427 Q64846 Q24027251 Q24027452 Q24027234 Q24027235 Q24027232 Q24027233 Q24027230 Q24027231 Q24027238 Q24027239 Q24027025 Q24027364 Q24026989 Q24026988 Q6720075 Q24026983 Q24026982 Q24026981 Q24026980 Q24026986 Q24026985 Q24026984 Q24027045 Q24027044 Q24027128 Q24027129 Q24027041 Q24027040 Q24027043 Q24027042 Q24027122 Q24027123 Q24027120 Q24027121 Q24027126 Q24027127 Q24027124 Q24027125 Q24026938 Q24026939 Q24026936 Q24026937 Q24027180 Q24026935 Q24026932 Q24026933 Q24026930 Q24026931 Q24027513 Q24027512 Q24027511 Q24027510 Q24027517 Q24027516 Q24027514 Q24027401 Q24027519 Q24027518 Q24027299 Q24027400 Q1376616 Q321512 Q24027118 Q24027349 Q24027346 Q24027347 Q24027344 Q24027345 Q24027343 Q24027340 Q24027112 Q7394354 Q24027466 Q24027465 Q24027464 Q24027463 Q24027462 Q24027461 Q24027460 Q24027059 Q24027469 Q24027468 Q26884343 Q24027438 Q24027439 Q2017178 Q24027249 Q23930851 Q24026947 Q24026946 Q24026945 Q24026943 Q24026942 Q24026941 Q24026940 Q24026949 Q24026948 Q24027081 Q24027080 Q24027083 Q24027082 Q24027085 Q24027084 Q24027087 Q24027086 Q24027088 Q24027050 Q24027166 Q24027167 Q24027164 Q24027162 Q24027163 Q24027160 Q24027161 Q24027247 Q24027246 Q24027245 Q24027244 Q24027243 Q24027242 Q24027168 Q24027240 Q23936293 Q24027051 Q24027237 Q24027437 Q24027018 Q24027019 Q887782 Q24027012 Q24027013 Q24026934 Q24027017 Q24683722 Q24027015 Q24027422 Q24027421 Q24027420 Q24027427 Q24027426 Q24027425 Q24027424 Q24027429 Q24027428 Q24027337 Q24027336 Q24027335 Q24027334 Q24027333 Q24027332 Q24027331 Q24027330 Q24027339 Q24027338 Q24027192 Q872070 Q24027328 Q56839 Q24027208 Q24027203 Q24027200 Q24027206 Q24027205 Q24027204 Q4922515 Q24026998 Q24026999 Q24026994 Q24026995 Q24026996 Q24026997 Q24026990 Q24026991 Q24026992 Q24026993 Q24027056 Q24027057 Q24027054 Q24027055 Q24027052 Q24027053 Q24027119 Q1926275 Q24027117 Q24027116 Q24027115 Q24027113 Q24027111 Q24027110 Q24027010 Q19896387 Q24027506 Q24027507 Q24027500 Q24027501 Q24027502 Q24027503 Q24027016 Q24027508 Q24027509 Q10659340 Q24027448 Q24027478 Q24027479 Q24027371 Q24027370 Q24027377 Q24027375 Q24027374 Q24027470 Q24027471 Q24027472 Q24027378 Q24027476 Q24027475 Q24027046 Q2714285 Q24027477 Q24027248 Q24027049 Q24027047 Q24027485 Q24027481 Q24027480 Q24027483 Q24027489 Q24027488 Q190542 Q19875522 Q24027278 Q24027092 Q24027093 Q24027090 Q24027091 Q24027096 Q24027097 Q24027094 Q24027095 Q24027153 Q24027152 Q24027151 Q24027150 Q24027157 Q24027156 Q24027155 Q24027154 Q24027398 Q24027252 Q24027253 Q24027254 Q24027256 Q24027257 Q24027391 Q24027259 Q24027393 Q24027392 Q24027395 Q24027394 Q24027397 Q24027396 Q1328104 Q23935690 Q24027276 Q24027277 Q24027029 Q24027027 Q24027026 Q24026973 Q24027024 Q24027023 Q24027022 Q24027021 Q24027020 Q24026958 Q24026959 Q3273204 Q24026950 Q24026951 Q24026952 Q24026953 Q24026954 Q24026955 Q24026956 Q24026957 Q24027434 Q24027435 Q24027436 Q24027241 Q24027430 Q24027433 Q24027531 Q24027227 Q24027533 Q24027226 Q24027408 Q24027197 Q15804931 Q24027222 Q24027218 Q24027283 Q24027281 Q24027280 Q24027287 Q24027285 Q24027284 Q24027320 Q24027321 Q24027322 Q24027288 Q24027324 Q24027326 Q24027327 Q24027441 Q24027440 Q24027443 Q24027442 Q24027444 Q24027447 Q24027446 Q24027449 Q644078 Q24027217 Q15806486 Q2859581 Q23936306 Q6717728 Q24027194 Q24027193 Q24027219 Q24027191 Q24027190 Q24027214 Q24027215 Q24027216 Q24027210 Q24027211 Q24027212 Q24027213 Q23930837 Q24026961 Q24026960 Q24026963 Q24026962 Q24026965 Q24026964 Q24026967 Q24026966 Q24026969 Q24027069 Q24027068 Q24027061 Q24027060 Q24027067 Q24027066 Q24027065 Q24027064 Q24027101 Q24027103 Q24027104 Q24027105 Q24027106 Q24027107 Q24027108 Q24027109 Q24027262 Q24027265 Q24027264 Q24027267 Q24027266 Q24026915 Q24026916 Q17374114 Q1094175 Q24026919 Q885761 Q19277222 Q10542891 Q24027365 Q24027366 Q24027367 Q24027360 Q24027361 Q24027362 Q24027363 Q24027405 Q24027404 Q24027407 Q24027368 Q24027369 Q24027402 Q7440002 Q10689319 Q6718072 Q4833112 Q24027030 Q1844689 Q24027138 Q24027342 Q24027311 Q24027310 Q24027313 Q24027312 Q24027315 Q24027314 Q24027317 Q24027316 Q24027319 Q24027318 Q24027341 Q10689326 Q10689324 Q24027497 Q24027494 Q24027495 Q24027493 Q24027490 Q24027491 Q24027037 Q24027498 Q24027499 Q24027038 Q24027039 Q24027134 Q24027148 Q24027144 Q24027145 Q24027146 Q24027147 Q24027140 Q24027141 Q24027142 Q24027143 Q24027225 Q24027224 Q24027388 Q24027389 Q24027221 Q24027220 Q24027223 Q23936316 Q24027382 Q24027380 Q24027381 Q24027229 Q24027387 Q24027384 Q24027385 Q24027100 Q24027268 Q469715 Q24027139 Q24027031 Q24027032 Q24027033 Q24027034 Q24027035 Q24027036 Q24027131 Q24027130 Q24027133 Q24027132 Q24027135 Q24027159 Q24027137 Q24027136 Q24027261 Q24027158 Q24026929 Q24026928 Q24027260 Q24026925 Q24026924 Q24026927 Q24026926 Q24026921 Q24026920 Q24026923 Q24026922
(c(Q2235308),P532,c(Q56061))
action count
action less
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q7393546
relation P532
type Q56061
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q7393546 property:P532 ?o . ?o rdf:type ontology:Q56061 } } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?g ) WHERE { ?e property:P532 ?c . ?e rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?e } }
Claverdale Cliftonian Florrie Glantivy Cheltonian RV Polarstern Eagle MS Isabelle Elizabeth Ann Catherine Anne Charlotte Pilgrim Martha Jane Alert Mary Retina Noah Rowland Evans Jane Maria Crusader Progress Solway Pleiades Fairy Owny Belle Dora Ann Adela S Hills S/S Blidösund Maglona Conovium Morning Star MV Brigitte Bardot Dovey Belle Dreadnought Jane Williams Agenoria Leander John James Lettice Catherine Farmers Lass Orcadia Anne Davies Diligence Ardmore Sealeader Salathiel Energy Urgent Letitia Brothers Ceres Aeron Lass Ellen Owen Mantura Urania Mary Anne Elizabeth Lewis George Ann Margaretta Friendship Catherine & Mary Equity Eagle Eyed Glenaros Mary Davies Queen of the Isles Prima Donna Thomas Confidence Hannah Nive Naomi Dewi Lass Anne Jane Helena Taliesin Cambrian Belle Atalanta Bee Mountain Lass William & Mary Turtle Dove Friends Ellen Adelaide Martha Lloyd Courier Lerry Claudia Ivanhoe Ina Lass Cecil Brindley Golar Spirit MV Maritec SS Empire Endurance Hind Fairlina Joan Cunllo Prince of Wales Aurora Ann Davies Montego Gertrude Ceredig Martha Lloyd William Landreth Retriever High Barbaree MS Skåne Panthea Ann Jones Killia Lass Jane Belem Alberta Agnes Fraser Main Volunteer Eunice Mary Hughes Lovina Bee Hope MV Spreewald Fair Hope Beryl Dovey Packet Candace Lydia Speculation Clara Nanteos Carn Brea Lady of the Forest Nathaniel Ontario Herald Anna Maria Margaret Jones Jane Gwynne Arica Jane Davies Hawendale Elizabeth & Margaret Rheidol Vale Candor Prince Llewelyn Clarissa Elizabeth Thomas New Diligence Ella Pacific Maria George Reynolds Mary Anna Argo Towy Santon Glanyrafon Harperly Glanhafren Venus Glanystwyth Pluvier J. Llewellyn Alton Towers Feliciana Catherine Morgan J.W.A. SS Norge Alster Sarah Bridget Castle Eden Walter J. Cummins Sea Queen Hetty Mary Zingara Ocean Dart Zulette Sarah SS Scharnhorst Eleanor & Jane Agenoria Maggie Phillips Rheidol Nerissa Caroline Spooner General Nott Adoram Lady Agnes George & Lizzie STI Poplar Plover Maggie Cummings Oker Glenara Capricorn Prudence Jane Adroit Primrose John & Ann Levant Ellen Eaglet Jane Ellen Dove Glynaeron Padarn Arcturus Edward John Eleanor Jane Jones Cwmsymlog John & Margaret Loyalty Maria & Ann Marmion Claudia Albion Mary Rees Two sisters Puella Berlin Nimrod Jane Elizabeth Anne Jenkins Credo Cricket Louisa Jane Morben Providence Anne & Mary Lima Agnes Cairnes Mary Lloyd Jane MY Bob Barker Jane Ellen Pyrenee Two Brothers Gwalia Cirrus Gowerian Champion Gipsy King John Ewing Cygnet P.M. Willcock Lorne Derby Ella Swallow Fanny Fothergill Catherine Acorn Albatross Isabella Julianna Oronsa John Elias General Nott Ellen Beatrice Maid of Meirion German frigate Lübeck Sarah Phillips USNS Puerto Rico Heather Bell Ocean Belle Maria Anna Aretas Ann & Margaret Syren Blackadder Orion Prima Dudgeon Margaret Ann Aeron Maid Reform Lovely Lass Conovium Major Nanney Amity Henry & Dora Heart of Oak Ann & Elizabeth Ruby Anne Jones Catherine Beatrice MY Steve Irwin Mary Jones Peerless Eliza & Hannah Eliza Jenkins All Right Jane Owens Viscata Asta av Smögen Porpoise Norseman Etonian Rugbeian Carthusian Breconian Victoria Crescent Blue & White S/S Storskär Desdemona Raymond Comet Dreadnought Napoleon Leah Swell Rheidol Queen Hero Isobel Queen's Cliff Hope Adrienne Pearl Ellen MS Rosella Lynwood Prairie Flower Active Egcrateia Glanwern Miss Hughes Advance Edith Eleanor Glanrheidol Cadwgan Costa Concordia Big Fish Susannah Knapp Philanthropist Magdalen Esther Eleanor Anne Warren Myra Union Packet Ellen Edwards Hagar Hedessa Messenger Spread Eagle Nymph Faithful Sister Caroline Maria Roseina Lizzie Jane Sarah Jane Wellington Bessie Messenger Bezaleel Jane Rowland Ann & Mary Antelope Jane Lois Henry E. Taylor Jane Catherine Alfa Nero Azorean J.W. James Bristol Packet Aeron Queen Melodia Malvina Velocity Jane & Mary Gleaner Dart Margaret Evans Martin Omnibus MV Barfleur Ospray Integrity Lively Lass Anne Elizabeth Waterloo John & Mary Faithful Mother Industry Eastward Ianthe Resolven Ionian Belle Alice & Eliza Fleetwing Erycina Utopia Mela Hetty Ellen Ethel Anne Eliza Jane Linzerin Thomas & Sons Elizabeth Jane Margaretta Bertie Squirrel Ann Eliza Emily Agnes Alicia Summer Cloud Ada & Alice Catherine Hendry George Evans Prince Cadwgan U. Larsing Annie Maude Sophia & Emily Nymph Cambrian Doris Shon Quilt Excelsior Martha & Harriet Lady Pryse Preußen Aeron Vale Dortmund Arawak Zouave MSC Geneva Heedful Emrys Eleanor Thomas Anne Catherine Ada Letitia Sarah Davies Eleanor Francis Margaret Jane John James Industry Marwood Rosina Jane Morriston Affines Excellent Nymph Mary Jane Alert Ann Sylph Bristol Trader Hope Enterprise Aeron Belle Fanny Taylor Ellen Express Brothers Castle Annsboro Drusus Jane Morgans Elizabeth Davies Meridian Strata Florida Majestic Mary Botwood Laura John William John William Keldhead Ceres Susanna Gwenllian Velocity M/S Elfkungen MV City of St. Petersburg Kate MV Blue Marlin Ceona Amazon Kalmarsund VIII Glad Tidings Star of Wales Sir Robert McClure Naomi Rheidol Queen Ellen Anne Levant Rosland Zenobia Clarita Patriot Priscilla M.A. Jones Sea Shepherd II T26 MS Gemini Azurite FDPSO Alice RV Farley Mowat Britannia Mela Kate Sophia Principality Elizabeth Gwladys Madona Native M. A. Evans Clarovine Annie Ramsay Maelota Isabel T56 T46 Johann Caradog Theodore Engels Glanystwyth General Picton Eleanor & Jane Ifor Firefly Jubilee Ceylon Susanna Nell Lois Mary Sarah Mary Jane Eigen Cambria Eugenia Battus Jane Griffiths Severn John Pierce Blue Jacket Mediterranean Triton Ann & Betsy Tirsah Jane Herbert Eliza Francis Rebecca Native Pearl Oneida Aberystwyth Emma Alice Rachel Lewis Sarah Ann Favourite Atlantic MV Colombo Express Sisters John & Mary Ellen Catherine Camden Marys Resolute MARY & ELLEN Truant Wasp Louisa Ann Countess of Lisburne Sarah & Mary Favourite Anne Bodotria Ystwyth Burncoose Exchange Honora Convoy Valentine Gambia Catherine & Jane Mair Perseverance Idea Pandora Ellen
587
action count
action less
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity SS Empire Airman
relation port of registry
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:SS_Empire_Airman property:port_of_registry ?o . ?o rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?g ) WHERE { ?e property:port_of_registry ?c . ?e rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36005
P163
Q15617994
USER
Which administrative territory has flag named flag of Lebanon ?
(c(Q15617994),P163,Q36005)
action filter_type
action find_reverse
entity Q36005
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q36005']
SELECT DISTINCT ?o WHERE { ?o property:P163 resource:Q36005 . ?o rdf:type ontology:Q15617994 }
flag of Lebanon
action filter_type
action find_reverse
entity flag of Lebanon
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of Lebanon']
SELECT DISTINCT ?o WHERE { ?o property:flag resource:flag_of_Lebanon . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q822
SYSTEM
Lebanon
Q822
(c(Q15617994),P163,Q36005)
action filter_type
action find_reverse
entity Q36005
relation P163
type Q15617994
[ANSWER] has flag named flag of [ANSWER]
[{'concept': 'Q15617994'}, 'P163', 'Q36005']
SELECT DISTINCT ?o WHERE { ?o property:P163 resource:Q36005 . ?o rdf:type ontology:Q15617994 }
Lebanon
Lebanon has flag named flag of Lebanon
Lebanon
action filter_type
action find_reverse
entity flag of Lebanon
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of Lebanon']
SELECT DISTINCT ?o WHERE { ?o property:flag resource:flag_of_Lebanon . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36005
P180
Q16521
USER
What is depcited in flag of Lebanon ?
(Q36005,P180,c(Q16521))
action filter_type
action find
entity Q36005
relation P180
type Q16521
['Q36005', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q36005 property:P180 ?q . ?q rdf:type ontology:Q16521 }
flag of Lebanon
action filter_type
action find
entity flag of Lebanon
relation depicts
type taxon
['flag of Lebanon', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:flag_of_Lebanon property:depicts ?q . ?q rdf:type ontology:taxon }
[]
taxon
Q61105
SYSTEM
Cedrus libani
Q61105
(Q36005,P180,c(Q16521))
action filter_type
action find
entity Q36005
relation P180
type Q16521
[ANSWER] is depcited in flag of Lebanon
['Q36005', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q36005 property:P180 ?q . ?q rdf:type ontology:Q16521 }
Cedrus libani
Cedrus libani is depcited in flag of Lebanon
Cedrus libani
action filter_type
action find
entity flag of Lebanon
relation depicts
type taxon
['flag of Lebanon', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:flag_of_Lebanon property:depicts ?q . ?q rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P1376
Q7275
USER
Which states have London have their first city ?
(Q84,P1376,c(Q7275))
action filter_type
action find
entity Q84
relation P1376
type Q7275
['Q84', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q84 property:P1376 ?p . ?p rdf:type ontology:Q7275 }
London
action filter_type
action find
entity London
relation capital of
type state
['London', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:London property:capital_of ?p . ?p rdf:type ontology:state }
[]
state
Q179876 Q174193 Q161885
SYSTEM
Kingdom of England, United Kingdom of Great Britain and Ireland, Kingdom of Great Britain
Q248452 Q161885 Q174193 Q110888 Q179876 Q330362
(Q84,P1376,c(Q7275))
action filter_type
action find
entity Q84
relation P1376
type Q7275
[ANSWERS] have London have their first city
['Q84', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q84 property:P1376 ?p . ?p rdf:type ontology:Q7275 }
British North America Kingdom of Great Britain United Kingdom of Great Britain and Ireland Kingdom of Essex Kingdom of England Commonwealth of England
Kingdom of England, United Kingdom of Great Britain and Ireland and Kingdom of Great Britain have London have their first city
Kingdom of England United Kingdom of Great Britain and Ireland Kingdom of Great Britain
action filter_type
action find
entity London
relation capital of
type state
['London', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:London property:capital_of ?p . ?p rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P127
Q33506
USER
Which museum is owned by London ?
(c(Q33506),P127,Q84)
action filter_type
action find_reverse
entity Q84
relation P127
type Q33506
[{'concept': 'Q33506'}, 'P127', 'Q84']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q84 . ?h rdf:type ontology:Q33506 }
London
action filter_type
action find_reverse
entity London
relation owned by
type museum
[{'concept': 'museum'}, 'owned by', 'London']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:London . ?h rdf:type ontology:museum }
[]
museum
Q1541098
SYSTEM
London Transport Museum
Q1541098
(c(Q33506),P127,Q84)
action filter_type
action find_reverse
entity Q84
relation P127
type Q33506
[ANSWER] is owned by London
[{'concept': 'Q33506'}, 'P127', 'Q84']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q84 . ?h rdf:type ontology:Q33506 }
London Transport Museum
London Transport Museum is owned by London
London Transport Museum
action filter_type
action find_reverse
entity London
relation owned by
type museum
[{'concept': 'museum'}, 'owned by', 'London']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:London . ?h rdf:type ontology:museum }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P1071
Q2088357
USER
Which musical ensemble has London as its finally place of assembly ?
(c(Q2088357),P1071,Q84)
action filter_type
action find_reverse
entity Q84
relation P1071
type Q2088357
[{'concept': 'Q2088357'}, 'P1071', 'Q84']
SELECT DISTINCT ?t WHERE { ?t property:P1071 resource:Q84 . ?t rdf:type ontology:Q2088357 }
London
action filter_type
action find_reverse
entity London
relation location of final assembly
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of final assembly', 'London']
SELECT DISTINCT ?t WHERE { ?t property:location_of_final_assembly resource:London . ?t rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q2274350
SYSTEM
Illusion
Q2274350
(c(Q2088357),P1071,Q84)
action filter_type
action find_reverse
entity Q84
relation P1071
type Q2088357
[ANSWER] has London as its finally place of assembly
[{'concept': 'Q2088357'}, 'P1071', 'Q84']
SELECT DISTINCT ?t WHERE { ?t property:P1071 resource:Q84 . ?t rdf:type ontology:Q2088357 }
Illusion
Illusion has London as its finally place of assembly
Illusion
action filter_type
action find_reverse
entity London
relation location of final assembly
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of final assembly', 'London']
SELECT DISTINCT ?t WHERE { ?t property:location_of_final_assembly resource:London . ?t rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P609
Q83620
USER
Which thoroughfare has London as its destination ?
(c(Q83620),P609,Q84)
action filter_type
action find_reverse
entity Q84
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q84']
SELECT DISTINCT ?c WHERE { ?c property:P609 resource:Q84 . ?c rdf:type ontology:Q83620 }
London
action filter_type
action find_reverse
entity London
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'London']
SELECT DISTINCT ?c WHERE { ?c property:terminus_location resource:London . ?c rdf:type ontology:thoroughfare }
[]
thoroughfare
Q4649283
SYSTEM
A41 road
Q4649283
(c(Q83620),P609,Q84)
action filter_type
action find_reverse
entity Q84
relation P609
type Q83620
[ANSWER] has London as its destination
[{'concept': 'Q83620'}, 'P609', 'Q84']
SELECT DISTINCT ?c WHERE { ?c property:P609 resource:Q84 . ?c rdf:type ontology:Q83620 }
A41 road
A41 road has London as its destination
A41 road
action filter_type
action find_reverse
entity London
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'London']
SELECT DISTINCT ?c WHERE { ?c property:terminus_location resource:London . ?c rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4649283
P17
Q15617994
USER
Which administrative territory is that thoroughfare situated in ?
(Q4649283,P17,c(Q15617994))
action filter_type
action find
entity Q4649283
relation P17
type Q15617994
['Q4649283', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q4649283 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
A41 road
action filter_type
action find
entity A41 road
relation country
type designation for an administrative territorial entity
['A41 road', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:A41_road property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4649283,P17,c(Q15617994))
action filter_type
action find
entity Q4649283
relation P17
type Q15617994
That thoroughfare is situated in [ANSWER]
['Q4649283', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q4649283 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
United Kingdom
That thoroughfare is situated in United Kingdom
United Kingdom
action filter_type
action find
entity A41 road
relation country
type designation for an administrative territorial entity
['A41 road', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:A41_road property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16363330
P27
Q15617994
USER
How many administrative territories are the native countriesof Jalmari Torikka ?
(Q16363330,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16363330
relation P27
type Q15617994
['Q16363330', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q16363330 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Jalmari Torikka
action count
action filter_type
action find
entity Jalmari Torikka
relation country of citizenship
type designation for an administrative territorial entity
['Jalmari Torikka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Jalmari_Torikka property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q33
(Q16363330,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16363330
relation P27
type Q15617994
[ANSWER]
['Q16363330', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q16363330 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Finland
1
action count
action filter_type
action find
entity Jalmari Torikka
relation country of citizenship
type designation for an administrative territorial entity
['Jalmari Torikka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Jalmari_Torikka property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16363330
P39
Q12737077
USER
What was the position held by that person ?
action filter_type
action find
entity Q16363330
relation P39
type Q12737077
SELECT DISTINCT ?i WHERE { resource:Q16363330 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Jalmari Torikka
action filter_type
action find
entity Jalmari Torikka
relation position held
type occupation
SELECT DISTINCT ?i WHERE { resource:Jalmari_Torikka property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q17592486
SYSTEM
member of the Parliament of Finland
Q17592486
action filter_type
action find
entity Q16363330
relation P39
type Q12737077
The position held by that person was a [ANSWER]
SELECT DISTINCT ?i WHERE { resource:Q16363330 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
member of the Parliament of Finland
The position held by that person was a member of the Parliament of Finland
member of the Parliament of Finland
action filter_type
action find
entity Jalmari Torikka
relation position held
type occupation
SELECT DISTINCT ?i WHERE { resource:Jalmari_Torikka property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17592486
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of that occupation ?
(Q17592486,P1001,c(Q15617994))
action filter_type
action find
entity Q17592486
relation P1001
type Q15617994
['Q17592486', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q17592486 property:P1001 ?e }
member of the Parliament of Finland
action filter_type
action find
entity member of the Parliament of Finland
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Parliament of Finland', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Parliament_of_Finland property:applies_to_jurisdiction ?e }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q17592486,P1001,c(Q15617994))
action filter_type
action find
entity Q17592486
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of that occupation
['Q17592486', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q17592486 property:P1001 ?e }
Finland
Finland comes under the jurisdiction of that occupation
Finland
action filter_type
action find
entity member of the Parliament of Finland
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Parliament of Finland', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Parliament_of_Finland property:applies_to_jurisdiction ?e }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q1048835 Q22676587 Q7275
USER
Which states have min number of political territories and monarchic systems as the form of government ?
(c(Q7275),P122,c(Q1048835)|c(Q22676587))
action argmin
action union
action find_tuple_counts
relation P122
type Q7275
type Q1048835
action find_tuple_counts
relation P122
type Q7275
type Q22676587
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q1048835'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?d WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q22676587 ) } } GROUP BY ?d } } . FILTER ( ?h = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?l WHERE { { ?l property:P122 ?f . ?l rdf:type ontology:Q7275 . ?f rdf:type ontology:Q1048835 } UNION { ?l property:P122 ?f . ?l rdf:type ontology:Q7275 . ?f rdf:type ontology:Q22676587 } } GROUP BY ?l } }
action argmin
action union
action find_tuple_counts
relation basic form of government
type state
type political territorial entity
action find_tuple_counts
relation basic form of government
type state
type monarchic system
[{'concept': 'state'}, 'basic form of government', [{'concept': 'political territorial entity'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?d WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:monarchic_system ) } } GROUP BY ?d } } . FILTER ( ?h = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?l WHERE { { ?l property:basic_form_of_government ?f . ?l rdf:type ontology:state . ?f rdf:type ontology:political_territorial_entity } UNION { ?l property:basic_form_of_government ?f . ?l rdf:type ontology:state . ?f rdf:type ontology:monarchic_system } } GROUP BY ?l } }
[]
political territorial entity monarchic system state
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q241748 Q211853 Q484104 Q180573 Q105092 Q210163 Q3185305 Q2340665 Q1538311 Q152115 Q285658 Q18285930 Q2414171 Q179876 Q2475921 Q218023 Q889374 Q798431 Q3456417 Q154401 Q174193 Q965174 Q282475 Q1269234 Q889394 Q48685 Q552157 Q229411 Q201038 Q761370 Q431731 Q175881 Q330988 Q1852345 Q1194329 Q533558 Q1423680 Q617218 Q2253783 Q13107370 Q986665 Q744042 Q209065 Q190513 Q10988528 Q631210 Q2308237 Q19801186 Q204920 Q1998866 Q207162 Q142417 Q834486 Q2006542 Q545205 Q131964 Q726798 Q133356 Q215530 Q150058 Q62589 Q161885 Q4461035 Q33946 Q150056 Q11876909 Q139319 Q191077 Q234009 Q271570 Q903779 Q841364 Q16957 Q558596 Q941881 Q1194765 Q514423 Q62623 Q870055 Q713750 Q544630 Q1057542 Q16949002 Q1789596 Q550374 Q1152126 Q44642 Q853348 Q203493 Q696908 Q147909 Q555994 Q980 Q652560 Q220167 Q2980623 Q1636212 Q737040 Q112558 Q124943 Q37024 Q317078 Q503623 Q940123 Q14934927 Q137766 Q172579 Q153128 Q867782 Q877579 Q551798 Q210036 Q1277557 Q186537 Q633573 Q1483430 Q200896 Q1068408 Q623751 Q49683 Q330362 Q736936 Q8146595 Q12557 Q2456191 Q310293 Q15864 Q212439 Q844250 Q1362278 Q267584 Q303421 Q207521 Q1658411 Q153015 Q2342822 Q1078602 Q75613 Q71092 Q1479726 Q15180 Q6083755 Q698089 Q1406298 Q179293 Q28278 Q157734 Q600093 Q170072 Q7382038 Q467864 Q76236 Q209857 Q1415585 Q953432 Q1115291 Q170174 Q4843701 Q212056 Q21005050 Q175276 Q210542 Q422065 Q7318 Q42585 Q170468 Q146328 Q487829 Q2365048 Q1138904 Q956451 Q27306 Q1493843 Q1508143 Q146713 Q156038 Q30623 Q736727 Q230407 Q940821 Q824489 Q157727 Q2088324 Q248572 Q189988 Q1192936 Q199841 Q71747 Q615902 Q1077630 Q1322229 Q173761 Q217196 Q16624774 Q23541302 Q199442 Q154195 Q10921634 Q13706 Q498735 Q1775277 Q173082 Q121932 Q680997 Q38872 Q4948 Q1152445 Q156020 Q16410 Q153660 Q1240096 Q1771831 Q70972 Q1986139 Q2145397 Q2353425 Q582861 Q1517772 Q1142179 Q12548 Q211274 Q158725 Q588672 Q6412664 Q6500954 Q1083009 Q391980 Q80211 Q1054184 Q1029847 Q832554 Q1155768 Q157367 Q427941 Q1044668 Q266923 Q1061488 Q5148517 Q41304 Q752662 Q797422 Q206411 Q2184 Q2578706 Q1885093 Q149805
(c(Q7275),P122,c(Q1048835)|c(Q22676587))
action argmin
action union
action find_tuple_counts
relation P122
type Q7275
type Q1048835
action find_tuple_counts
relation P122
type Q7275
type Q22676587
[ANSWERS] have min number of political territories and monarchic systems as the form of government
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q1048835'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?d WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q22676587 ) } } GROUP BY ?d } } . FILTER ( ?h = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?l WHERE { { ?l property:P122 ?f . ?l rdf:type ontology:Q7275 . ?f rdf:type ontology:Q1048835 } UNION { ?l property:P122 ?f . ?l rdf:type ontology:Q7275 . ?f rdf:type ontology:Q22676587 } } GROUP BY ?l } }
Kingdom of Serbia Republic of Serbian Krajina United States Army Military Government in Korea South Vietnam Kingdom of Mercia Astrakhan Khanate Kingdom of Israel Basutoland Travancore-Cochin Duchy of Warsaw First Mexican Empire German Empire of 1848/1849 First Brazilian Republic Kingdom of England Outer Mongolia Orange Free State Warsangali Sultanate Republic of Dahomey Republic of Saint-Malo Slovak Republic United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Kartli-Kakheti Stellaland Portuguese Mozambique Judah Nieuwe Republiek Delhi Sultanate Roman Kingdom Aro Confederacy Tanganyika Roman Republic Democratic Kampuchea Trucial States Nova Roma Kingdom of Croatia-Slavonia Gay and Lesbian Kingdom of the Coral Sea Islands Yamhad Kingdom of Glywysing Principality of Serbia First East Turkestan Republic Grand Duchy of Avram Kingdom of Greece Khanate of Sibir Second East Turkestan Republic Nogai Horde Ahom kingdom Liberland Crown of Aragon Czech and Slovak Federal Republic Bourbon Restoration Kingdom of Valencia Federation of South Arabia Dominion of Pakistan Transcaucasian Socialist Federative Soviet Republic Austrian Empire Tulunids Ukrainian Soviet Socialist Republic Kingdom of Ireland Travancore Union between Sweden and Norway Kingdom of Great Britain Akkadian empire Czechoslovakia Kingdom of Cochin State of Brazil Russian Republic Kingdom of Yugoslavia Magadha Kingdom of Araucanía and Patagonia United Kingdom of Portugal, Brazil and the Algarves Ayutthaya Kingdom East Germany Hadiya Kingdom Netherlands New Guinea Kamarupa Parthenopean Republic Kalmar Union Kingdom of Laos West Germany Republic of Maryland Republic of Hawaii Lordship of Brecknock Croatia in personal union with Hungary South African Republic People's Republic of the Congo Federation of Arab Republics Czechoslovak Socialist Republic Kingdom of Romania Kingdom of Poland Kingdom of Bulgaria Ag Qoyunlu Bavaria West Indies Federation Lydenburg Republic Kingdom of Bosnia Karabakh Khanate Islamic Courts Union Republic of Saugeais Kingdom of Egypt Serbia and Montenegro Pskov Republic Gold Coast Rustamid dynasty Murrawarri Republic Free Republic of Wendland Kingdom of Italy Independent State of Croatia Kingdom of Funan Kugelmugel Grand Duchy of Flandrensis Chechen Republic of Ichkeria Democratic Federal Yugoslavia Khanate of Kazan Kingdom of Rheged Principality of Kiev Slovak Soviet Republic Kuru Kingdom Kingdom of Bernicia Grand Duchy of Lithuania Commonwealth of England Lu Upingtonia Mongol Empire Kingdom of Seisyllwg Saar Protectorate United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland United States of Stellaland Yemen Arab Republic Kingdom of Galicia Abyssinia Kingdom of Sarawak Kingdom of Saxony West Pakistan Kingdom of Nepal Almoravid dynasty Second French Empire Federation of Malaya Soviet Union Islands of Refreshment Grand Duchy of Würzburg Serbian Empire Kingdom of Castile Provisional Government of the Republic of Korea Muscat and Oman Habsburg Spain Dutch Republic Imperial Throne People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Islamic State of Afghanistan Couto Misto Thonburi Kingdom Papal States Libyan Arab Jamahiriya Mongolian People's Republic Kingdom of Morgannwg Kingdom of León Second Brazilian Republic Sultanate of Sulu Nazi Germany Kingdom of Bohemia United Arab Republic Commonwealth of the Philippines Chagatai Khanate Adal Sultanate Kingdom of Afghanistan Kingdom of Dyfed Kingdom of Prussia Klein Vrystaat Ukrainian State Arab Federation Duchy of Courland and Semigallia Manchukuo Republic of Siena Kingdom of Israel People's Democratic Republic of Ethiopia Estado Novo Ifat Sultanate Colonial Brazil Sultanate of Maguindanao Central African Empire Kingdom of Burundi South Yemen Duchy of Brittany Kingdom of Finland Septinsular Republic Enlightenment in Spain Lithuanian Soviet Socialist Republic Crown of Castile Kingdom of Nicoya Kaluga Soviet Republic Kingdom of Aragon Kingdom of Bavaria Khoshut Khanate Principality of Sealand division of Korea Dominion of India Dacia People's Republic of Bulgaria Principality of Lower Pannonia Prussia Republic of Venice Aerican Empire State of the Teutonic Order People's Republic of Hungary Italian Social Republic Hyderabad State Kruševo Republic Kingdom of France Parthian Empire Goshen (South Africa) Talossa Marinid dynasty Protectorate of South Arabia Orange River Colony Holy Roman Empire People's Republic of Poland Tanganyika Territory Hammadid dynasty Realm of Stefan Dragutin Zaire Principality of Wy Free Territory of Trieste Lithuanian Soviet Socialist Republic Khmer Republic Natalia Republic Argentine Confederation Republic of Molossia Brandenburg-Prussia Islamic Emirate of Afghanistan Republic of Rose Island Kingdom of Mysore United States of Colombia Colony and Protectorate of Nigeria Weimar Republic Hafsid dynasty Republic of Upper Volta Democratic Republic of Azerbaijan Russian Soviet Federative Socialist Republic Kingdom of Ceredigion Mahra Sultanate Kingdom of Iraq
Czechoslovakia, Soviet Union and Bavaria have min number of political territories and monarchic systems as the form of government
Czechoslovakia Soviet Union Bavaria
action argmin
action union
action find_tuple_counts
relation basic form of government
type state
type political territorial entity
action find_tuple_counts
relation basic form of government
type state
type monarchic system
[{'concept': 'state'}, 'basic form of government', [{'concept': 'political territorial entity'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?d WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:monarchic_system ) } } GROUP BY ?d } } . FILTER ( ?h = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?l WHERE { { ?l property:basic_form_of_government ?f . ?l rdf:type ontology:state . ?f rdf:type ontology:political_territorial_entity } UNION { ?l property:basic_form_of_government ?f . ?l rdf:type ontology:state . ?f rdf:type ontology:monarchic_system } } GROUP BY ?l } }
[]