Simple Question (Direct)
Simple Question
Q123363
P102
Q7210356
USER
Which political organization is Corine Mauch a member of ?
(Q123363,P102,c(Q7210356))
action filter_type
action find
entity Q123363
relation P102
type Q7210356
['Q123363', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q123363 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Corine Mauch
action filter_type
action find
entity Corine Mauch
relation member of political party
type political organization
['Corine Mauch', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Corine_Mauch property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q303745
SYSTEM
Social Democratic Party of Switzerland
Q303745
(Q123363,P102,c(Q7210356))
action filter_type
action find
entity Q123363
relation P102
type Q7210356
The [ANSWER] is Corine Mauch a member of
['Q123363', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q123363 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Social Democratic Party of Switzerland
The Social Democratic Party of Switzerland is Corine Mauch a member of
Social Democratic Party of Switzerland
action filter_type
action find
entity Corine Mauch
relation member of political party
type political organization
['Corine Mauch', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Corine_Mauch property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q303745
P159
Q56061
USER
Where is the head office for that political organization located ?
(Q303745,P159,c(Q56061))
action filter_type
action find
entity Q303745
relation P159
type Q56061
['Q303745', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q303745 property:P159 ?e . ?e rdf:type ontology:Q56061 }
Social Democratic Party of Switzerland
action filter_type
action find
entity Social Democratic Party of Switzerland
relation headquarters location
type administrative territorial entity
['Social Democratic Party of Switzerland', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Social_Democratic_Party_of_Switzerland property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q303745,P159,c(Q56061))
action filter_type
action find
entity Q303745
relation P159
type Q56061
The head office for that political organization is located in [ANSWER]
['Q303745', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q303745 property:P159 ?e . ?e rdf:type ontology:Q56061 }
Bern
The head office for that political organization is located in Bern
Bern
action filter_type
action find
entity Social Democratic Party of Switzerland
relation headquarters location
type administrative territorial entity
['Social Democratic Party of Switzerland', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Social_Democratic_Party_of_Switzerland property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027308
P532
Q56061 Q2235308
USER
Which ship types have around the same number of administrative territories as their registry harbour as Martha Lloyd ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027308
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?i ) WHERE { ?r property:P532 ?j . ?r rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?r } . FILTER ( ?i = ?t ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q24027308 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } }
Martha Lloyd
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Martha Lloyd
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?i ) WHERE { ?r property:port_of_registry ?j . ?r rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?i = ?t ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Martha_Lloyd property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
Q558338 Q10689324 Q56839
SYSTEM
RV Polarstern, T46, USNS Puerto Rico
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 approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027308
relation P532
type Q2235308
[ANSWERS] have around the same number of administrative territories as their registry harbour as Martha Lloyd
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?i ) WHERE { ?r property:P532 ?j . ?r rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?r } . FILTER ( ?i = ?t ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q24027308 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } }
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
RV Polarstern, T46 and USNS Puerto Rico have around the same number of administrative territories as their registry harbour as Martha Lloyd
RV Polarstern T46 USNS Puerto Rico
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Martha Lloyd
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?i ) WHERE { ?r property:port_of_registry ?j . ?r rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?i = ?t ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Martha_Lloyd property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11880860 Q123363
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Corine Mauch or Margit von Schoultz-Frankenhaeuser ?
OR((Q123363,P27,c(Q15617994)), (Q11880860,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q123363
relation P27
action find
entity Q11880860
relation P27
type Q15617994
{'OR': [['Q123363', 'P27', {'concept': 'Q15617994'}], ['Q11880860', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?r ) { ( resource:Q123363 ) ( resource:Q11880860 ) } . ?r property:P27 ?n } . ?n rdf:type ontology:Q15617994 }
Margit von Schoultz-Frankenhaeuser Corine Mauch
action filter_type
action union
action find
entity Corine Mauch
relation country of citizenship
action find
entity Margit von Schoultz-Frankenhaeuser
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Corine Mauch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Margit von Schoultz-Frankenhaeuser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?r ) { ( resource:Corine_Mauch ) ( resource:Margit_von_Schoultz-Frankenhaeuser ) } . ?r property:country_of_citizenship ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q39 Q30
SYSTEM
Finland, Switzerland, United States of America
Q33 Q39 Q30
OR((Q123363,P27,c(Q15617994)), (Q11880860,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q123363
relation P27
action find
entity Q11880860
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Corine Mauch or Margit von Schoultz-Frankenhaeuser
{'OR': [['Q123363', 'P27', {'concept': 'Q15617994'}], ['Q11880860', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?r ) { ( resource:Q123363 ) ( resource:Q11880860 ) } . ?r property:P27 ?n } . ?n rdf:type ontology:Q15617994 }
Finland Switzerland United States of America
Finland, Switzerland and United States of America are the countries of citizenship of Corine Mauch or Margit von Schoultz-Frankenhaeuser
Finland Switzerland United States of America
action filter_type
action union
action find
entity Corine Mauch
relation country of citizenship
action find
entity Margit von Schoultz-Frankenhaeuser
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Corine Mauch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Margit von Schoultz-Frankenhaeuser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?r ) { ( resource:Corine_Mauch ) ( resource:Margit_von_Schoultz-Frankenhaeuser ) } . ?r property:country_of_citizenship ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4429632
P530
Q1048835
USER
Do Sosnivka have diplomatic relations with those administrative territories ?
(Q4429632,P530,Q33) (Q4429632,P530,Q39) (Q4429632,P530,Q30)
action is_in
entity prev_answer
action find
entity Q4429632
relation P530
['Q4429632', 'P530', 'Q33'] ['Q4429632', 'P530', 'Q39'] ['Q4429632', 'P530', 'Q30']
ASK WHERE { resource:Q4429632 property:P530 ?g . VALUES ( ?g ) { ( resource:Q33 ) ( resource:Q39 ) ( resource:Q30 ) } }
Sosnivka
action is_in
entity prev_answer
action find
entity Sosnivka
relation diplomatic relation
['Sosnivka', 'diplomatic relation', 'Finland'] ['Sosnivka', 'diplomatic relation', 'Switzerland'] ['Sosnivka', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Sosnivka property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Finland ) ( resource:Switzerland ) ( resource:United_States_of_America ) } }
[]
political territorial entity
SYSTEM
NO
(Q4429632,P530,Q33) (Q4429632,P530,Q39) (Q4429632,P530,Q30)
action is_in
entity prev_answer
action find
entity Q4429632
relation P530
[ANSWER]
['Q4429632', 'P530', 'Q33'] ['Q4429632', 'P530', 'Q39'] ['Q4429632', 'P530', 'Q30']
ASK WHERE { resource:Q4429632 property:P530 ?g . VALUES ( ?g ) { ( resource:Q33 ) ( resource:Q39 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity Sosnivka
relation diplomatic relation
['Sosnivka', 'diplomatic relation', 'Finland'] ['Sosnivka', 'diplomatic relation', 'Switzerland'] ['Sosnivka', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Sosnivka property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Finland ) ( resource:Switzerland ) ( resource:United_States_of_America ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q33
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have a diplomatic relationship with Finland ?
(Q33,P530,c(Q15617994)) (Q33,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q33
relation P530
type Q15617994
action filter_type
action find
entity Q33
relation P530
type Q1048835
['Q33', 'P530', {'concept': 'Q15617994'}] ['Q33', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { resource:Q33 property:P530 ?w . ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q1048835 . resource:Q33 property:P530 ?w } }
Finland
action count
action union
action filter_type
action find
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Finland
relation diplomatic relation
type political territorial entity
['Finland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { resource:Finland property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:political_territorial_entity . resource:Finland property:diplomatic_relation ?w } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
4
Q16 Q408 Q38 Q183
(Q33,P530,c(Q15617994)) (Q33,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q33
relation P530
type Q15617994
action filter_type
action find
entity Q33
relation P530
type Q1048835
[ANSWER]
['Q33', 'P530', {'concept': 'Q15617994'}] ['Q33', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { resource:Q33 property:P530 ?w . ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q1048835 . resource:Q33 property:P530 ?w } }
Canada Australia Italy Germany
4
action count
action union
action filter_type
action find
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Finland
relation diplomatic relation
type political territorial entity
['Finland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { resource:Finland property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:political_territorial_entity . resource:Finland property:diplomatic_relation ?w } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q667276 Q464980 Q502895
USER
Which people were displayed at approximately 1 art exhibitions or exhibitions ?
(c(Q502895),P608,c(Q667276)|c(Q464980))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q464980
value 1
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) ?p WHERE { { ?p property:P608 ?z . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q464980 } UNION { ?p property:P608 ?z . ?z rdf:type ontology:Q667276 . ?p rdf:type ontology:Q502895 } } GROUP BY ?p } . FILTER ( ?s = 1 ) }
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type exhibition
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) ?p WHERE { { ?p property:exhibition_history ?z . ?p rdf:type ontology:common_name . ?z rdf:type ontology:exhibition } UNION { ?p property:exhibition_history ?z . ?z rdf:type ontology:art_exhibition . ?p rdf:type ontology:common_name } } GROUP BY ?p } . FILTER ( ?s = 1 ) }
[]
art exhibition exhibition common name
Q3335569 Q16004451 Q70006
SYSTEM
Nancy Elizabeth Prophet, Jennifer Bolande, Lotte Jacobi
Q70006 Q16004451 Q16005428 Q9015308 Q3335569
(c(Q502895),P608,c(Q667276)|c(Q464980))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q464980
value 1
[ANSWERS] were displayed at approximately 1 art exhibitions or exhibitions
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) ?p WHERE { { ?p property:P608 ?z . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q464980 } UNION { ?p property:P608 ?z . ?z rdf:type ontology:Q667276 . ?p rdf:type ontology:Q502895 } } GROUP BY ?p } . FILTER ( ?s = 1 ) }
Lotte Jacobi Jennifer Bolande Andrea Bowers Juan Carlos Alom Nancy Elizabeth Prophet
Nancy Elizabeth Prophet, Jennifer Bolande and Lotte Jacobi were displayed at approximately 1 art exhibitions or exhibitions
Nancy Elizabeth Prophet Jennifer Bolande Lotte Jacobi
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type exhibition
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) ?p WHERE { { ?p property:exhibition_history ?z . ?p rdf:type ontology:common_name . ?z rdf:type ontology:exhibition } UNION { ?p property:exhibition_history ?z . ?z rdf:type ontology:art_exhibition . ?p rdf:type ontology:common_name } } GROUP BY ?p } . FILTER ( ?s = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2759489
P725
Q502895 Q2342494
USER
How many collectables did around the same number of people dub for as Muv-Luv ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q2759489
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?o ) WHERE { ?x property:P725 ?q . ?x rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a rdf:type ontology:Q2342494 . resource:Q2759489 property:P725 ?a } } . FILTER ( ?o = ?v ) }
Muv-Luv
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Muv-Luv
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?o ) WHERE { ?x property:voice_actor ?q . ?x rdf:type ontology:collectable . ?q rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a rdf:type ontology:collectable . resource:Muv-Luv property:voice_actor ?a } } . FILTER ( ?o = ?v ) }
[]
common name collectable
SYSTEM
12
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q2759489
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?o ) WHERE { ?x property:P725 ?q . ?x rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a rdf:type ontology:Q2342494 . resource:Q2759489 property:P725 ?a } } . FILTER ( ?o = ?v ) }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
12
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Muv-Luv
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?o ) WHERE { ?x property:voice_actor ?q . ?x rdf:type ontology:collectable . ?q rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a rdf:type ontology:collectable . resource:Muv-Luv property:voice_actor ?a } } . FILTER ( ?o = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1204015
P725
Q502895 Q2342494
USER
And what about Ōkami Kakushi?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q1204015
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?u ) WHERE { ?t property:P725 ?h . ?t rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q1204015 property:P725 ?b . ?b rdf:type ontology:Q2342494 } } . FILTER ( ?u = ?a ) }
Ōkami Kakushi
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ōkami Kakushi
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?u ) WHERE { ?t property:voice_actor ?h . ?t rdf:type ontology:collectable . ?h rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Ōkami_Kakushi property:voice_actor ?b . ?b rdf:type ontology:collectable } } . FILTER ( ?u = ?a ) }
[]
common name collectable
SYSTEM
14
Q50035 Q483263 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q5647726 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q1204015
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?u ) WHERE { ?t property:P725 ?h . ?t rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q1204015 property:P725 ?b . ?b rdf:type ontology:Q2342494 } } . FILTER ( ?u = ?a ) }
Nyaruko: Crawling with Love Baka and Test Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure Muv-Luv
14
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ōkami Kakushi
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?u ) WHERE { ?t property:voice_actor ?h . ?t rdf:type ontology:collectable . ?h rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Ōkami_Kakushi property:voice_actor ?b . ?b rdf:type ontology:collectable } } . FILTER ( ?u = ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P1376
Q56061
USER
What is the capital of Finland ?
(c(Q56061),P1376,Q33)
action filter_type
action find_reverse
entity Q33
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q33']
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q33 . ?t rdf:type ontology:Q56061 }
Finland
action filter_type
action find_reverse
entity Finland
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Finland']
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:Finland . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(c(Q56061),P1376,Q33)
action filter_type
action find_reverse
entity Q33
relation P1376
type Q56061
The capital of Finland is [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q33']
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q33 . ?t rdf:type ontology:Q56061 }
Helsinki
The capital of Finland is Helsinki
Helsinki
action filter_type
action find_reverse
entity Finland
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Finland']
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:Finland . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1757
P291
Q571
USER
Which books were published in that administrative territory ?
(c(Q571),P291,Q1757)
action filter_type
action find_reverse
entity Q1757
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q1757']
SELECT DISTINCT ?k WHERE { ?k property:P291 resource:Q1757 . ?k rdf:type ontology:Q571 }
Helsinki
action filter_type
action find_reverse
entity Helsinki
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Helsinki']
SELECT DISTINCT ?k WHERE { ?k property:place_of_publication resource:Helsinki . ?k rdf:type ontology:book }
[]
book
Q14334357 Q14385555
SYSTEM
Suomen historian pikkujättiläinen, Kivet
Q14334357 Q14385555
(c(Q571),P291,Q1757)
action filter_type
action find_reverse
entity Q1757
relation P291
type Q571
[ANSWERS] were published in that administrative territory
[{'concept': 'Q571'}, 'P291', 'Q1757']
SELECT DISTINCT ?k WHERE { ?k property:P291 resource:Q1757 . ?k rdf:type ontology:Q571 }
Suomen historian pikkujättiläinen Kivet
Suomen historian pikkujättiläinen and Kivet were published in that administrative territory
Suomen historian pikkujättiläinen Kivet
action filter_type
action find_reverse
entity Helsinki
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Helsinki']
SELECT DISTINCT ?k WHERE { ?k property:place_of_publication resource:Helsinki . ?k rdf:type ontology:book }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2221906 Q502895 Q15617994
USER
How many administrative territories have atleast 1 geographic locations and people as their namesake ?
(c(Q15617994),P138,c(Q2221906)|c(Q502895))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q502895
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?t WHERE { VALUES ( ?m ) { ( ontology:Q2221906 ) ( ontology:Q502895 ) } . ?k rdf:type ?m } GROUP BY ?t } }
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?t WHERE { VALUES ( ?m ) { ( ontology:geographic_location ) ( ontology:common_name ) } . ?k rdf:type ?m } GROUP BY ?t } }
[]
geographic location common name designation for an administrative territorial entity
SYSTEM
38
Q701 Q709 Q124000 Q21671144 Q12536 Q710 Q1817784 Q7408058 Q1465069 Q739 Q161258 Q676543 Q3563282 Q30 Q928 Q4336071 Q676178 Q238 Q4229407 Q621869 Q1042 Q683555 Q548396 Q811 Q4165945 Q694 Q750 Q160307 Q505607 Q6661829 Q760 Q770 Q8575586 Q1913193 Q4066675 Q599866 Q2938 Q1951
(c(Q15617994),P138,c(Q2221906)|c(Q502895))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q502895
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?t WHERE { VALUES ( ?m ) { ( ontology:Q2221906 ) ( ontology:Q502895 ) } . ?k rdf:type ?m } GROUP BY ?t } }
North Holland Marshall Islands Victoria Mezhetchina Abbasid caliphate Kiribati Leninkent, Makhachkala, Republic of Dagestan Sam Rayburn Independent School District Frise Colombia Clipperton Island Sankt Thomas Rumi District United States of America Philippines Ordzhonikidzevskiy raion of Zaporizhzhya Viereck San Marino Komarovsky, Orenburg Oblast Georgsdorf Seychelles Vyronas Pommerby Nicaragua Sheikh Zayed City South Holland Bolivia Fatimid caliphate Philippsreut Llanvaches Saint Lucia Friesland Umayyad Caliphate Chkalovsk Microdistrict Annino Lev Tolstoy Leverkusen Alberta
38
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?t WHERE { VALUES ( ?m ) { ( ontology:geographic_location ) ( ontology:common_name ) } . ?k rdf:type ?m } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P291
Q56061 Q571
USER
How many administrative territories were around 52 books published ?
(c(Q571),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
value 52
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P291 ?i . ?i rdf:type ontology:Q56061 . ?g rdf:type ontology:Q571 } GROUP BY ?i } . FILTER ( ?d = 52 ) }
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
value 52
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:book } GROUP BY ?i } . FILTER ( ?d = 52 ) }
[]
administrative territorial entity book
SYSTEM
2
Q90 Q60
(c(Q571),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
value 52
[ANSWER]
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P291 ?i . ?i rdf:type ontology:Q56061 . ?g rdf:type ontology:Q571 } GROUP BY ?i } . FILTER ( ?d = 52 ) }
Paris New York City
2
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
value 52
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:book } GROUP BY ?i } . FILTER ( ?d = 52 ) }
[]