Simple Question (Direct)
Simple Question
Q7114694
P21
Q290
USER
Which sex does Owen Williams have ?
(Q7114694,P21,c(Q290))
action filter_type
action find
entity Q7114694
relation P21
type Q290
['Q7114694', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q7114694 property:P21 ?l }
Owen Williams
action filter_type
action find
entity Owen Williams
relation gender
type sex
['Owen Williams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Owen_Williams property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7114694,P21,c(Q290))
action filter_type
action find
entity Q7114694
relation P21
type Q290
Owen Williams has a [ANSWER]
['Q7114694', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q7114694 property:P21 ?l }
male
Owen Williams has a male
male
action filter_type
action find
entity Owen Williams
relation gender
type sex
['Owen Williams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Owen_Williams property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7114694
P937
Q56061
USER
Which is the work location of Owen Williams ?
(Q7114694,P937,c(Q56061))
action filter_type
action find
entity Q7114694
relation P937
type Q56061
['Q7114694', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q7114694 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Owen Williams
action filter_type
action find
entity Owen Williams
relation work location
type administrative territorial entity
['Owen Williams', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Owen_Williams property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7114694,P937,c(Q56061))
action filter_type
action find
entity Q7114694
relation P937
type Q56061
Is the work location of Owen Williams [ANSWER]
['Q7114694', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q7114694 property:P937 ?k . ?k rdf:type ontology:Q56061 }
London
Is the work location of Owen Williams London
London
action filter_type
action find
entity Owen Williams
relation work location
type administrative territorial entity
['Owen Williams', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Owen_Williams property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q84 Q6509508 Q3561
P190
Q56061
USER
Is that administrative territory a sister city of Amirabad, Khatam and Algiers ?
(Q84,P190,Q6509508) (Q84,P190,Q3561)
action is_in
entity Q84
action intersection
action find_reverse
entity Q6509508
relation P190
action find_reverse
entity Q3561
relation P190
['Q84', 'P190', 'Q6509508'] ['Q84', 'P190', 'Q3561']
ASK WHERE { resource:Q84 property:P190 resource:Q6509508 . resource:Q84 property:P190 resource:Q3561 }
London Amirabad, Khatam Algiers
action is_in
entity London
action intersection
action find_reverse
entity Amirabad, Khatam
relation sister city
action find_reverse
entity Algiers
relation sister city
['London', 'sister city', 'Amirabad, Khatam'] ['London', 'sister city', 'Algiers']
ASK WHERE { resource:London property:sister_city resource:Amirabad,_Khatam . resource:London property:sister_city resource:Algiers }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q84,P190,Q6509508) (Q84,P190,Q3561)
action is_in
entity Q84
action intersection
action find_reverse
entity Q6509508
relation P190
action find_reverse
entity Q3561
relation P190
[ANSWER]
['Q84', 'P190', 'Q6509508'] ['Q84', 'P190', 'Q3561']
ASK WHERE { resource:Q84 property:P190 resource:Q6509508 . resource:Q84 property:P190 resource:Q3561 }
NO and YES respectively
action is_in
entity London
action intersection
action find_reverse
entity Amirabad, Khatam
relation sister city
action find_reverse
entity Algiers
relation sister city
['London', 'sister city', 'Amirabad, Khatam'] ['London', 'sister city', 'Algiers']
ASK WHERE { resource:London property:sister_city resource:Amirabad,_Khatam . resource:London property:sister_city resource:Algiers }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have their base port as min number of administrative territories ?
(c(Q2235308),P532,c(Q56061))
action argmin
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?i ) WHERE { ?a property:P532 ?x . ?a rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?q ) WHERE { ?n property:P532 ?l . ?l rdf:type ontology:Q56061 . ?n rdf:type ontology:Q2235308 } GROUP BY ?n } . FILTER ( ?q = ?t ) }
action argmin
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?i ) WHERE { ?a property:port_of_registry ?x . ?a rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?q ) WHERE { ?n property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:ship_type } GROUP BY ?n } . FILTER ( ?q = ?t ) }
[]
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 argmin
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWERS] have their base port as min number of administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?i ) WHERE { ?a property:P532 ?x . ?a rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?q ) WHERE { ?n property:P532 ?l . ?l rdf:type ontology:Q56061 . ?n rdf:type ontology:Q2235308 } GROUP BY ?n } . FILTER ( ?q = ?t ) }
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 their base port as min number of administrative territories
RV Polarstern T46 USNS Puerto Rico
action argmin
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?i ) WHERE { ?a property:port_of_registry ?x . ?a rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?q ) WHERE { ?n property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:ship_type } GROUP BY ?n } . FILTER ( ?q = ?t ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P532
Q515
USER
How many cities are the port of registry of that ship type ?
(Q558338,P532,c(Q515))
['Q558338', 'P532', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q558338 property:P532 ?z . ?z rdf:type ontology:Q7930989 }
['RV Polarstern', 'port of registry', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:RV_Polarstern property:port_of_registry ?z . ?z rdf:type ontology:city }
[]
city
Quantitative|Count|Single entity type|Clarification
Q56839
SYSTEM
Did you mean USNS Puerto Rico ?
(Q558338,P532,c(Q515)) (Q10689324,P532,c(Q515)) (Q56839,P532,c(Q515))
[ANSWER]
['Q558338', 'P532', {'concept': 'Q515'}] ['Q10689324', 'P532', {'concept': 'Q515'}] ['Q56839', 'P532', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q558338 property:P532 ?z . ?z rdf:type ontology:Q7930989 }
Did you mean USNS Puerto Rico ?
USNS Puerto Rico
['RV Polarstern', 'port of registry', {'concept': 'city'}] ['T46', 'port of registry', {'concept': 'city'}] ['USNS Puerto Rico', 'port of registry', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:RV_Polarstern property:port_of_registry ?z . ?z rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant RV Polarstern. Could you tell me the answer for that?
(Q558338,P532,c(Q515))
Q558338
['Q558338', 'P532', {'concept': 'Q515'}]
['RV Polarstern', 'port of registry', {'concept': 'city'}]
[]
SYSTEM
1
Q2706
(Q558338,P532,c(Q515))
[ANSWER]
['Q558338', 'P532', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q558338 property:P532 ?z . ?z rdf:type ontology:Q7930989 }
Bremerhaven
1
['RV Polarstern', 'port of registry', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:RV_Polarstern property:port_of_registry ?z . ?z rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q272560
P366
Q41176 Q336 Q2235308
USER
Which ship types have their main use as greater number of buildings or sciences than USS Missouri ?
(c(Q2235308),P366,c(Q41176)|c(Q336))
action greater
action union
action find_tuple_counts
relation P366
type Q2235308
type Q41176
action find_tuple_counts
relation P366
type Q2235308
type Q336
action count
action filter_multi_types
action find
entity Q272560
relation P366
type Q41176
type Q336
[{'concept': 'Q2235308'}, 'P366', [{'concept': 'Q41176'}, {'concept': 'Q336'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?t WHERE { { ?t property:P366 ?s . ?s rdf:type ontology:Q336 . ?t rdf:type ontology:Q2235308 } UNION { ?s rdf:type ontology:Q41176 . ?t rdf:type ontology:Q2235308 . ?t property:P366 ?s } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Q272560 property:P366 ?k . { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q41176 ) ( ontology:Q336 ) } } } } . FILTER ( ?n > ?c ) }
USS Missouri
action greater
action union
action find_tuple_counts
relation use
type ship type
type building
action find_tuple_counts
relation use
type ship type
type science
action count
action filter_multi_types
action find
entity USS Missouri
relation use
type building
type science
[{'concept': 'ship type'}, 'use', [{'concept': 'building'}, {'concept': 'science'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?t WHERE { { ?t property:use ?s . ?s rdf:type ontology:science . ?t rdf:type ontology:ship_type } UNION { ?s rdf:type ontology:building . ?t rdf:type ontology:ship_type . ?t property:use ?s } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:USS_Missouri property:use ?k . { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:building ) ( ontology:science ) } } } } . FILTER ( ?n > ?c ) }
[]
building science ship type
Q752939 Q391022 Q17003134
SYSTEM
RMS Queen Mary, research vessel, hotel barge
Q752939 Q391022 Q17003134
(c(Q2235308),P366,c(Q41176)|c(Q336))
action greater
action union
action find_tuple_counts
relation P366
type Q2235308
type Q41176
action find_tuple_counts
relation P366
type Q2235308
type Q336
action count
action filter_multi_types
action find
entity Q272560
relation P366
type Q41176
type Q336
[ANSWERS] have their main use as greater number of buildings or sciences than USS Missouri
[{'concept': 'Q2235308'}, 'P366', [{'concept': 'Q41176'}, {'concept': 'Q336'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?t WHERE { { ?t property:P366 ?s . ?s rdf:type ontology:Q336 . ?t rdf:type ontology:Q2235308 } UNION { ?s rdf:type ontology:Q41176 . ?t rdf:type ontology:Q2235308 . ?t property:P366 ?s } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Q272560 property:P366 ?k . { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q41176 ) ( ontology:Q336 ) } } } } . FILTER ( ?n > ?c ) }
RMS Queen Mary research vessel hotel barge
RMS Queen Mary, research vessel and hotel barge have their main use as greater number of buildings or sciences than USS Missouri
RMS Queen Mary research vessel hotel barge
action greater
action union
action find_tuple_counts
relation use
type ship type
type building
action find_tuple_counts
relation use
type ship type
type science
action count
action filter_multi_types
action find
entity USS Missouri
relation use
type building
type science
[{'concept': 'ship type'}, 'use', [{'concept': 'building'}, {'concept': 'science'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?t WHERE { { ?t property:use ?s . ?s rdf:type ontology:science . ?t rdf:type ontology:ship_type } UNION { ?s rdf:type ontology:building . ?t rdf:type ontology:ship_type . ?t property:use ?s } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:USS_Missouri property:use ?k . { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:building ) ( ontology:science ) } } } } . FILTER ( ?n > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3378551
P366
Q41176 Q336 Q2235308
USER
And how about HDMS Peder Skram?
(c(Q2235308),P366,c(Q41176)|c(Q336))
action greater
action union
action find_tuple_counts
relation P366
type Q2235308
type Q41176
action find_tuple_counts
relation P366
type Q2235308
type Q336
action count
action filter_multi_types
action find
entity Q3378551
relation P366
type Q41176
type Q336
[{'concept': 'Q2235308'}, 'P366', [{'concept': 'Q41176'}, {'concept': 'Q336'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?r WHERE { VALUES ( ?t ) { ( ontology:Q41176 ) ( ontology:Q336 ) } . ?x rdf:type ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q3378551 property:P366 ?k . { { ?k rdf:type ontology:Q336 } UNION { ?k rdf:type ontology:Q41176 } } } } . FILTER ( ?o > ?f ) }
HDMS Peder Skram
action greater
action union
action find_tuple_counts
relation use
type ship type
type building
action find_tuple_counts
relation use
type ship type
type science
action count
action filter_multi_types
action find
entity HDMS Peder Skram
relation use
type building
type science
[{'concept': 'ship type'}, 'use', [{'concept': 'building'}, {'concept': 'science'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?r WHERE { VALUES ( ?t ) { ( ontology:building ) ( ontology:science ) } . ?x rdf:type ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:HDMS_Peder_Skram property:use ?k . { { ?k rdf:type ontology:science } UNION { ?k rdf:type ontology:building } } } } . FILTER ( ?o > ?f ) }
[]
building science ship type
Q752939 Q391022 Q17003134
SYSTEM
RMS Queen Mary, research vessel, hotel barge
Q752939 Q391022 Q17003134
(c(Q2235308),P366,c(Q41176)|c(Q336))
action greater
action union
action find_tuple_counts
relation P366
type Q2235308
type Q41176
action find_tuple_counts
relation P366
type Q2235308
type Q336
action count
action filter_multi_types
action find
entity Q3378551
relation P366
type Q41176
type Q336
[ANSWERS]
[{'concept': 'Q2235308'}, 'P366', [{'concept': 'Q41176'}, {'concept': 'Q336'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?r WHERE { VALUES ( ?t ) { ( ontology:Q41176 ) ( ontology:Q336 ) } . ?x rdf:type ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q3378551 property:P366 ?k . { { ?k rdf:type ontology:Q336 } UNION { ?k rdf:type ontology:Q41176 } } } } . FILTER ( ?o > ?f ) }
RMS Queen Mary research vessel hotel barge
RMS Queen Mary research vessel hotel barge
action greater
action union
action find_tuple_counts
relation use
type ship type
type building
action find_tuple_counts
relation use
type ship type
type science
action count
action filter_multi_types
action find
entity HDMS Peder Skram
relation use
type building
type science
[{'concept': 'ship type'}, 'use', [{'concept': 'building'}, {'concept': 'science'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?r WHERE { VALUES ( ?t ) { ( ontology:building ) ( ontology:science ) } . ?x rdf:type ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:HDMS_Peder_Skram property:use ?k . { { ?k rdf:type ontology:science } UNION { ?k rdf:type ontology:building } } } } . FILTER ( ?o > ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have atleast 1 holidays or people as their patron saint ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action atleast
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?f ) WHERE { { ?m property:P417 ?d . ?m rdf:type ontology:Q56061 . ?d rdf:type ontology:Q1445650 } UNION { ?m property:P417 ?d . ?m rdf:type ontology:Q56061 . ?d rdf:type ontology:Q502895 } } GROUP BY ?m } . FILTER ( ?f >= 1 ) }
action atleast
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?f ) WHERE { { ?m property:patron_saint ?d . ?m rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:holiday } UNION { ?m property:patron_saint ?d . ?m rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:common_name } } GROUP BY ?m } . FILTER ( ?f >= 1 ) }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q220 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action atleast
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[ANSWERS] have atleast 1 holidays or people as their patron saint
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?f ) WHERE { { ?m property:P417 ?d . ?m rdf:type ontology:Q56061 . ?d rdf:type ontology:Q1445650 } UNION { ?m property:P417 ?d . ?m rdf:type ontology:Q56061 . ?d rdf:type ontology:Q502895 } } GROUP BY ?m } . FILTER ( ?f >= 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Brolo Kastritsa Platres Altrei Molista Mölten Rome Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow, Madrid and Milan have atleast 1 holidays or people as their patron saint
Moscow Madrid Milan
action atleast
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?f ) WHERE { { ?m property:patron_saint ?d . ?m rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:holiday } UNION { ?m property:patron_saint ?d . ?m rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:common_name } } GROUP BY ?m } . FILTER ( ?f >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2235308 Q17444909 Q5962346
USER
Which ship types are namesakes of around 1 astronomical object types and classification schemes ?
(c(Q17444909)|c(Q5962346),P138,c(Q2235308))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q5962346
value 1
[[{'concept': 'Q17444909'}, {'concept': 'Q5962346'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) ?d WHERE { { ?d rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q17444909 . ?c property:P138 ?d } UNION { ?c property:P138 ?d . ?c rdf:type ontology:Q5962346 . ?d rdf:type ontology:Q2235308 } } GROUP BY ?d } . FILTER ( ?y = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation named after
type ship type
type astronomical object type
action find_reverse_tuple_counts
relation named after
type ship type
type classification scheme
value 1
[[{'concept': 'astronomical object type'}, {'concept': 'classification scheme'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) ?d WHERE { { ?d rdf:type ontology:ship_type . ?c rdf:type ontology:astronomical_object_type . ?c property:named_after ?d } UNION { ?c property:named_after ?d . ?c rdf:type ontology:classification_scheme . ?d rdf:type ontology:ship_type } } GROUP BY ?d } . FILTER ( ?y = 1 ) }
[]
ship type astronomical object type classification scheme
Q1422739 Q5634350 Q2454760
SYSTEM
USS Ohio, HMS Sjöormen, Russian submarine Yury Dolgorukiy
Q2259226 Q827360 Q4993491 Q7391557 Q1422739 Q1047321 Q3614442 Q2301794 Q11416678 Q10515261 Q5971123 Q6141010 Q7198244 Q1971215 Q900379 Q5633568 Q2166261 Q4351305 Q3903735 Q1565629 Q32770 Q32771 Q5633971 Q6159079 Q5636029 Q2837649 Q2038001 Q16846235 Q820478 Q7870497 Q7391608 Q7391565 Q2709917 Q6141293 Q1479687 Q912950 Q2207272 Q10862679 Q3563939 Q496778 Q557286 Q4109990 Q7391649 Q2269717 Q16223597 Q2301492 Q820669 Q4571916 Q5633694 Q4346186 Q10884878 Q10862664 Q5632611 Q10862685 Q4386720 Q10884907 Q5634350 Q2208180 Q5972671 Q5629241 Q678015 Q1236027 Q11868642 Q13376303 Q10884889 Q10884888 Q3750543 Q10884884 Q9385256 Q3687436 Q15104547 Q11151506 Q10513165 Q5206186 Q2342404 Q1474340 Q2704642 Q19169440 Q10862600 Q2717194 Q15117029 Q3621539 Q3771903 Q11262560 Q4958923 Q1500360 Q3604134 Q10513227 Q3840157 Q13728696 Q10884898 Q10884899 Q10884891 Q1266647 Q6142192 Q4346742 Q1565648 Q5633942 Q5972684 Q3737315 Q2123826 Q2454760 Q10515187 Q449016 Q152179 Q7867597
(c(Q17444909)|c(Q5962346),P138,c(Q2235308))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q5962346
value 1
[ANSWERS] are namesakes of around 1 astronomical object types and classification schemes
[[{'concept': 'Q17444909'}, {'concept': 'Q5962346'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) ?d WHERE { { ?d rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q17444909 . ?c property:P138 ?d } UNION { ?c property:P138 ?d . ?c rdf:type ontology:Q5962346 . ?d rdf:type ontology:Q2235308 } } GROUP BY ?d } . FILTER ( ?y = 1 ) }
Japanese submarine I-15 USS Nautilus HMS Näcken SM U-151 USS Ohio USS Barracuda Italian submarine Ammiraglio Cagni USS George Washington Japanese submarine Ro-60 HMS Västergötland USS Sturgeon Japanese submarine I-201 Pisces V USS Seawolf HMS Bounty HMS Odin USS Los Angeles HMS Oberon Pietro Calvi submarine HMS Valiant HNLMS O 19 HNLMS Walrus HMS Rainbow Japanese submarine I-9 HMS Gotland ARA Salta (S-31) Russian submarine B-585 Saint Petersburg Japanese submarine I-12 SM U-27 USS James Madison SM U-93 SM U-20 Japanese submarine I-174 USS Benjamin Franklin USS Balao ORP Orzeł SM U-17 Japanese submarine I-400 Greek submarine Katsonis USS Permit Gorch Fock I Finnish submarine Vetehinen SM UB-43 HNLMS Dolfijn Yugoslav submarine Hrabri HNLMS K XI SM U-43 Japanese submarine I-7 HMS Parthian Japanese submarine I-52 Japanese submarine I-176 Japanese submarine I-373 HMS Grampus Japanese submarine I-153 Japanese submarine I-13 Japanese submarine I-46 HMS Sjöormen HNLMS O 2 INS Shishumar HDMS Narhvalen USS Virginia HMS Astute KNM Ula HMS Sjölejonet Japanese submarine I-165 Japanese submarine I-162 Yugoslav submarine Osvetnik Japanese submarine I-156 Japanese submarine I-121 Italian submarine Console Generale Liuzzi Aigrette Chinese Hai Lung submarine HMS Draken DSRV-1 Mystic Japanese submarine I-168 USS Ethan Allen Japanese submarine I-1 Consul Japanese submarine I-372 French submarine Triomphant Émeraude Archimede Glauco JS Oyashio Japanese submarine Brazilian submarine Tikuna Nautilus Italian submarine Acciaio HMS Hajen Luigi Settembrini submarine HNLMS Zwaardvis Japanese submarine I-5 Japanese submarine I-6 Japanese submarine I-16 French submarine Dupuy de Lôme I-54 Japanese submarine USS Lafayette HMS Vanguard (S28) HMS R1 INS Sindhughosh Circé Italian submarine Brin Russian submarine Yury Dolgorukiy HMS Södermanland DSV Alvin SM U-10 USS Barracuda
USS Ohio, HMS Sjöormen and Russian submarine Yury Dolgorukiy are namesakes of around 1 astronomical object types and classification schemes
USS Ohio HMS Sjöormen Russian submarine Yury Dolgorukiy
action approx
action union
action find_reverse_tuple_counts
relation named after
type ship type
type astronomical object type
action find_reverse_tuple_counts
relation named after
type ship type
type classification scheme
value 1
[[{'concept': 'astronomical object type'}, {'concept': 'classification scheme'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) ?d WHERE { { ?d rdf:type ontology:ship_type . ?c rdf:type ontology:astronomical_object_type . ?c property:named_after ?d } UNION { ?c property:named_after ?d . ?c rdf:type ontology:classification_scheme . ?d rdf:type ontology:ship_type } } GROUP BY ?d } . FILTER ( ?y = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2807
P190
Q56061
USER
How many administrative territories are sister towns of Madrid ?
(Q2807,P190,c(Q56061))
action count
action filter_type
action find
entity Q2807
relation P190
type Q56061
['Q2807', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q2807 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Madrid
action count
action filter_type
action find
entity Madrid
relation sister city
type administrative territorial entity
['Madrid', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Madrid property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
31
Q3070 Q3551 Q649 Q239 Q472 Q3274 Q3110 Q3579 Q1479 Q3766 Q34820 Q1524 Q956 Q1781 Q1489 Q1555 Q1563 Q518431 Q41211 Q3306 Q2868 Q8678 Q3238 Q270 Q597 Q3688 Q1335 Q64 Q1491 Q60 Q1085
(Q2807,P190,c(Q56061))
action count
action filter_type
action find
entity Q2807
relation P190
type Q56061
[ANSWER]
['Q2807', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q2807 property:P190 ?c . ?c rdf:type ontology:Q56061 }
San José Rabat Moscow Brussels Sofia Managua San Salvador Tripoli Bordeaux Damascus Santo Domingo Athens Beijing Budapest Mexico City Guatemala City Havana Chimbote San Juan Panama City Lima Rio de Janeiro Tegucigalpa Warsaw Lisbon Nouakchott Montevideo Berlin La Paz New York City Prague
31
action count
action filter_type
action find
entity Madrid
relation sister city
type administrative territorial entity
['Madrid', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Madrid property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q43301
P190
Q56061
USER
And also tell me about Fresno?
(Q43301,P190,c(Q56061))
action count
action filter_type
action find
entity Q43301
relation P190
type Q56061
['Q43301', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q43301 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Fresno
action count
action filter_type
action find
entity Fresno
relation sister city
type administrative territorial entity
['Fresno', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Fresno property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
8
Q486545 Q270821 Q200251 Q1800 Q152462 Q121157 Q243319 Q2028
(Q43301,P190,c(Q56061))
action count
action filter_type
action find
entity Q43301
relation P190
type Q56061
[ANSWER]
['Q43301', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q43301 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Taraz Baqubah Kōchi Kochi Afula Mashhad Morogoro Verona
8
action count
action filter_type
action find
entity Fresno
relation sister city
type administrative territorial entity
['Fresno', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Fresno property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3476
Q56061
USER
And what about L'Aquila?
(Q3476,P190,c(Q56061))
action count
action filter_type
action find
entity Q3476
relation P190
type Q56061
['Q3476', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q3476 property:P190 ?w . ?w rdf:type ontology:Q56061 }
L'Aquila
action count
action filter_type
action find
entity L'Aquila
relation sister city
type administrative territorial entity
["L'Aquila", 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:L'Aquila property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
7
(Q3476,P190,c(Q56061))
action count
action filter_type
action find
entity Q3476
relation P190
type Q56061
[ANSWER]
['Q3476', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q3476 property:P190 ?w . ?w rdf:type ontology:Q56061 }
7
action count
action filter_type
action find
entity L'Aquila
relation sister city
type administrative territorial entity
["L'Aquila", 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:L'Aquila property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7391565 Q2454760
P138
Q5962346
USER
Which classification schemes have Russian submarine Yury Dolgorukiy or SM U-20 as their toponym ?
OR((c(Q5962346),P138,Q2454760), (c(Q5962346),P138,Q7391565))
action filter_type
action union
action find_reverse
entity Q2454760
relation P138
action find_reverse
entity Q7391565
relation P138
type Q5962346
{'OR': [[{'concept': 'Q5962346'}, 'P138', 'Q2454760'], [{'concept': 'Q5962346'}, 'P138', 'Q7391565']]}
SELECT DISTINCT ?j WHERE { { { ?j property:P138 resource:Q2454760 } UNION { ?j property:P138 resource:Q7391565 } } . ?j rdf:type ontology:Q5962346 }
SM U-20 Russian submarine Yury Dolgorukiy
action filter_type
action union
action find_reverse
entity Russian submarine Yury Dolgorukiy
relation named after
action find_reverse
entity SM U-20
relation named after
type classification scheme
{'OR': [[{'concept': 'classification scheme'}, 'named after', 'Russian submarine Yury Dolgorukiy'], [{'concept': 'classification scheme'}, 'named after', 'SM U-20']]}
SELECT DISTINCT ?j WHERE { { { ?j property:named_after resource:Russian_submarine_Yury_Dolgorukiy } UNION { ?j property:named_after resource:SM_U-20 } } . ?j rdf:type ontology:classification_scheme }
[]
classification scheme
Q640482 Q7862868
SYSTEM
Borei-class submarine, U-20-class submarine
Q640482 Q7862868
OR((c(Q5962346),P138,Q2454760), (c(Q5962346),P138,Q7391565))
action filter_type
action union
action find_reverse
entity Q2454760
relation P138
action find_reverse
entity Q7391565
relation P138
type Q5962346
[ANSWERS] have Russian submarine Yury Dolgorukiy or SM U-20 as their toponym
{'OR': [[{'concept': 'Q5962346'}, 'P138', 'Q2454760'], [{'concept': 'Q5962346'}, 'P138', 'Q7391565']]}
SELECT DISTINCT ?j WHERE { { { ?j property:P138 resource:Q2454760 } UNION { ?j property:P138 resource:Q7391565 } } . ?j rdf:type ontology:Q5962346 }
Borei-class submarine U-20-class submarine
Borei-class submarine and U-20-class submarine have Russian submarine Yury Dolgorukiy or SM U-20 as their toponym
Borei-class submarine U-20-class submarine
action filter_type
action union
action find_reverse
entity Russian submarine Yury Dolgorukiy
relation named after
action find_reverse
entity SM U-20
relation named after
type classification scheme
{'OR': [[{'concept': 'classification scheme'}, 'named after', 'Russian submarine Yury Dolgorukiy'], [{'concept': 'classification scheme'}, 'named after', 'SM U-20']]}
SELECT DISTINCT ?j WHERE { { { ?j property:named_after resource:Russian_submarine_Yury_Dolgorukiy } UNION { ?j property:named_after resource:SM_U-20 } } . ?j rdf:type ontology:classification_scheme }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P289
Q5962346 Q2235308
USER
Which classification schemes do more number of ship types possess as their vessel class than that classification scheme ?
(c(Q2235308),P289,c(Q5962346))
[{'concept': 'Q2235308'}, 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?y WHERE { ?z property:Q19832479 ?y . ?z rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q5962346 }
[{'concept': 'ship type'}, 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?y WHERE { ?z property:vessel_class ?y . ?z rdf:type ontology:ship_type . ?y rdf:type ontology:classification_scheme }
[]
classification scheme ship type
Comparative|More/Less|Single entity type|Clarification
Q640482
SYSTEM
Did you mean Borei-class submarine ?
(c(Q2235308),P289,c(Q5962346))
[ANSWER]
[{'concept': 'Q2235308'}, 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?y WHERE { ?z property:Q19832479 ?y . ?z rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q5962346 }
Did you mean Borei-class submarine ?
Borei-class submarine
[{'concept': 'ship type'}, 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?y WHERE { ?z property:vessel_class ?y . ?z rdf:type ontology:ship_type . ?y rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
USER
No, I meant U-20-class submarine. Could you tell me the answer for that?
(c(Q2235308),P289,c(Q5962346))
Q7862868
[{'concept': 'Q2235308'}, 'P289', {'concept': 'Q5962346'}]
[{'concept': 'ship type'}, 'vessel class', {'concept': 'classification scheme'}]
[]
Q1070632 Q2707876 Q640482
SYSTEM
Sierra-class submarine, Sjöormen-class submarine, Borei-class submarine
Q2707876 Q2714941 Q19510619 Q2657561 Q633556 Q596164 Q16334444 Q861626 Q699842 Q7862878 Q2478091 Q19735222 Q640482 Q294566 Q2212420 Q4001385 Q864181 Q1224797 Q2663305 Q2599168 Q26721518 Q545685 Q2975881 Q864160 Q628759 Q15631817 Q10669459 Q1070632 Q3496128 Q2455100 Q6378043 Q1499693 Q1956921 Q1195377 Q17215128 Q5234874 Q2975771 Q3679320 Q18681313 Q16583941 Q11378714 Q1144934 Q1141901 Q11378713 Q10884810 Q3679483 Q24971236 Q16151071 Q3793687 Q1785063 Q1785843 Q10884942 Q1631370 Q2161866 Q16334445 Q1146715 Q16334439 Q15631872 Q4367169 Q4367162 Q3504745 Q4367165 Q531597 Q625467 Q736723 Q1324568 Q3545010 Q389149 Q18844667 Q1476763 Q3496182 Q24971281 Q2257275 Q2449695 Q719824 Q917315 Q2481447 Q992400 Q4001382 Q18759041 Q4367179 Q19623641 Q4367170 Q55520 Q167991 Q3503826 Q274841 Q5551294 Q3679466 Q955978 Q1782356 Q2975965 Q5009407 Q3679377 Q4367180 Q842423 Q16334497 Q2519345 Q5551289 Q1506792 Q1545043 Q5551283 Q231533 Q5551285 Q1124859 Q17478690 Q11797542 Q1800152 Q11797549 Q2596671 Q7108083 Q732680 Q2149669 Q1061181 Q10374571 Q10374570 Q665249 Q923572 Q2590674 Q2296558 Q1541289 Q869092 Q2145503 Q2299009 Q698417 Q1109767 Q2914356 Q656321 Q2915004 Q6134876 Q6134878 Q1626183 Q1997574 Q10374568 Q10374569 Q3087816 Q2117340 Q10374567 Q9080264 Q7862861 Q2455127 Q1462910 Q2257235 Q3679282 Q121982 Q7905814 Q404541 Q161331
(c(Q2235308),P289,c(Q5962346))
[ANSWERS] do more number of ship types possess as their vessel class than that classification scheme
[{'concept': 'Q2235308'}, 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?y WHERE { ?z property:Q19832479 ?y . ?z rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q5962346 }
Sjöormen-class submarine Tench-class submarine Narhvalen-class submarine British C-class submarine Virginia-class submarine Ethan Allen-class submarine German Type VIID submarine Seawolf-class submarine Balao-class submarine U-43-class submarine Dolfijn-class submarine Salta-class submarine Borei-class submarine Type AM submarine I-121-class submarine German Type UC I submarine Type C3 Japanese submarine Sturgeon-class submarine British U-class submarine Valiant-class submarine German Type U 17 submarine Cagni-class submarine British H-class submarine Type B3 submarine Trafalgar-class submarine German Type UE I submarine Sjölejonet-class submarine Sierra-class submarine Shishumar-class submarine Draken-class submarine Katsonis-class submarine Yankee-class submarine Mystic-class deep-submergence rescue vehicle Oyashio-class submarine Ro-33-class submarine United States Barracuda-class submarine British B-class submarine Glauco-class submarine German Type IID submarine German Type IXD-2 submarine I-153-class submarine Gato-class submarine Gotland-class submarine I-156-class submarine KD5-type Japanese submarine Settembrini-class submarine Amphitrite-class submarine Type J1 submarine Vetehinen-class submarine Grampus-class submarine British S-class submarine Type B2 submarine American Holland-class submarine I-201-class submarine German Type VIIF submarine I-400-class submarine German Type VIIC/41 submarine German Type UE II submarine Type J3 submarine I-162-class submarine German Type UB III submarine KD7-type Japanese submarine Odin-class submarine Circé-class submarine Benjamin Franklin-class submarine Type A1 submarine United States C-class submarine Ohio-class submarine Type D1 submarine Permit class submarine Sindhughosh-class submarine Bellone-class submarine British D-class submarine Type C1 Japanese submarine James Madison-class submarine Brin-class submarine British A-class submarine Brumaire-class submarine German Type U 151 submarine Type C2 Japanese submarine Hajen-class submarine Oscar-I-class submarine Ro-60-class submarine Kilo-class submarine German Type VII submarine German Type UB II submarine Émeraude-class submarine Type U 93 Consul class submersible Marcello-class submarine Delta IV-class submarine Pluviôse-class submarine CC-class submarine Liuzzi-class submarine Hrabri-class submarine Foxtrot-class submarine Type IXC/40 submarine Archimede-class submarine German Type UC II submarine George Washington class submarine Delta-class submarine Type IXA submarine Zwaardvis-class submarine Type IXB submarine Oberon-class submarine Draken II-class submarine Oscar-II-class submarine Lafayette-class submarine Type IXD-1 submarine Type B1 submarine Osvetnik-class submarine British R-class submarine K XI-class submarine Triomphant-class submarine German Type VIIC submarine German Type VIIB submarine Los Angeles-class submarine Redoutable-class submarine British E-class submarine British K-class submarine Västergötland-class submarine Kaidai-class submarine Requin-class submarine British T-class submarine German Type XIV submarine Collins-class submarine O 2-class submarine Calvi-class submarine Potvis-class submarine KD6a-type Japanese submarine KD6b-type Japanese submarine Ro-100-class submarine Orzeł-class submarine Type IXC submarine German Type VIIA submarine German Type U 31 submarine Södermanland-class submarine German Type IIB submarine Spanish C-class submarine U-10-class submarine Näcken-class submarine Amphion-class submarine German Type UB I submarine Dupuy de Lôme-class submarine Astute-class submarine V-boat Aigrette-class submarine Type XXI submarine
Sierra-class submarine, Sjöormen-class submarine and Borei-class submarine do more number of ship types possess as their vessel class than that classification scheme
Sierra-class submarine Sjöormen-class submarine Borei-class submarine
[{'concept': 'ship type'}, 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?y WHERE { ?z property:vessel_class ?y . ?z rdf:type ontology:ship_type . ?y rdf:type ontology:classification_scheme }
[]