Simple Question (Direct)
Simple Question
Q10515269
P176
Q43229
USER
Which organization is the producer of HMS Wasa ?
(Q10515269,P176,c(Q43229))
action filter_type
action find
entity Q10515269
relation P176
type Q43229
['Q10515269', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q10515269 property:P176 ?b . ?b rdf:type ontology:Q43229 }
HMS Wasa
action filter_type
action find
entity HMS Wasa
relation manufacturer
type organization
['HMS Wasa', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:HMS_Wasa property:manufacturer ?b . ?b rdf:type ontology:organization }
[]
organization
Q1417678
SYSTEM
Finnboda Shipyard
Q1417678
(Q10515269,P176,c(Q43229))
action filter_type
action find
entity Q10515269
relation P176
type Q43229
[ANSWER] is the producer of HMS Wasa
['Q10515269', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q10515269 property:P176 ?b . ?b rdf:type ontology:Q43229 }
Finnboda Shipyard
Finnboda Shipyard is the producer of HMS Wasa
Finnboda Shipyard
action filter_type
action find
entity HMS Wasa
relation manufacturer
type organization
['HMS Wasa', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:HMS_Wasa property:manufacturer ?b . ?b rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10515269
P520
Q15688633
USER
Which ship elements are used as weapons by HMS Wasa ?
(Q10515269,P520,c(Q15688633))
action filter_type
action find
entity Q10515269
relation P520
type Q15688633
['Q10515269', 'P520', {'concept': 'Q15688633'}]
SELECT DISTINCT ?w WHERE { resource:Q10515269 property:P520 ?w . ?w rdf:type ontology:Q15688633 }
HMS Wasa
action filter_type
action find
entity HMS Wasa
relation armament
type ship element
['HMS Wasa', 'armament', {'concept': 'ship element'}]
SELECT DISTINCT ?w WHERE { resource:HMS_Wasa property:armament ?w . ?w rdf:type ontology:ship_element }
[]
ship element
Q10397099 Q10397216 Q10397340
SYSTEM
Bofors 152 mm gun m/98, Bofors 210 mm gun m/98, 57 mm gun m/89
Q10397099 Q10397216 Q10397340
(Q10515269,P520,c(Q15688633))
action filter_type
action find
entity Q10515269
relation P520
type Q15688633
[ANSWERS] are used as weapons by HMS Wasa
['Q10515269', 'P520', {'concept': 'Q15688633'}]
SELECT DISTINCT ?w WHERE { resource:Q10515269 property:P520 ?w . ?w rdf:type ontology:Q15688633 }
Bofors 152 mm gun m/98 Bofors 210 mm gun m/98 57 mm gun m/89
Bofors 152 mm gun m/98, Bofors 210 mm gun m/98 and 57 mm gun m/89 are used as weapons by HMS Wasa
Bofors 152 mm gun m/98 Bofors 210 mm gun m/98 57 mm gun m/89
action filter_type
action find
entity HMS Wasa
relation armament
type ship element
['HMS Wasa', 'armament', {'concept': 'ship element'}]
SELECT DISTINCT ?w WHERE { resource:HMS_Wasa property:armament ?w . ?w rdf:type ontology:ship_element }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10515269
P289
Q2235308
USER
Which ship type represents the vessel classification of HMS Wasa ?
(Q10515269,P289,c(Q2235308))
action filter_type
action find
entity Q10515269
relation P289
type Q2235308
['Q10515269', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?i WHERE { resource:Q10515269 property:P289 ?i . ?i rdf:type ontology:Q2235308 }
HMS Wasa
action filter_type
action find
entity HMS Wasa
relation vessel class
type ship type
['HMS Wasa', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?i WHERE { resource:HMS_Wasa property:vessel_class ?i . ?i rdf:type ontology:ship_type }
[]
ship type
Q3211336
SYSTEM
Äran-class coastal defence ship
Q3211336
(Q10515269,P289,c(Q2235308))
action filter_type
action find
entity Q10515269
relation P289
type Q2235308
[ANSWER] represents the vessel classification of HMS Wasa
['Q10515269', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?i WHERE { resource:Q10515269 property:P289 ?i . ?i rdf:type ontology:Q2235308 }
Äran-class coastal defence ship
Äran-class coastal defence ship represents the vessel classification of HMS Wasa
Äran-class coastal defence ship
action filter_type
action find
entity HMS Wasa
relation vessel class
type ship type
['HMS Wasa', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?i WHERE { resource:HMS_Wasa property:vessel_class ?i . ?i rdf:type ontology:ship_type }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7869750
Q2235308
USER
And also tell me about USS Glennon?
(Q7869750,P289,c(Q2235308))
action filter_type
action find
entity Q7869750
relation P289
type Q2235308
['Q7869750', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?h WHERE { resource:Q7869750 property:P289 ?h . ?h rdf:type ontology:Q2235308 }
USS Glennon
action filter_type
action find
entity USS Glennon
relation vessel class
type ship type
['USS Glennon', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?h WHERE { resource:USS_Glennon property:vessel_class ?h . ?h rdf:type ontology:ship_type }
[]
ship type
Q1376625
SYSTEM
Gearing-class destroyer
Q1376625
(Q7869750,P289,c(Q2235308))
action filter_type
action find
entity Q7869750
relation P289
type Q2235308
[ANSWER]
['Q7869750', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?h WHERE { resource:Q7869750 property:P289 ?h . ?h rdf:type ontology:Q2235308 }
Gearing-class destroyer
Gearing-class destroyer
action filter_type
action find
entity USS Glennon
relation vessel class
type ship type
['USS Glennon', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?h WHERE { resource:USS_Glennon property:vessel_class ?h . ?h rdf:type ontology:ship_type }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P289
Q2235308 Q2235308
USER
Which ship types are the vessel classes of less number of ship types than that ship type ?
(c(Q2235308),P289,c(Q2235308))
action less
action find_reverse_tuple_counts
relation P289
type Q2235308
type Q2235308
action count
action filter_type
action find_reverse
entity Q1376625
relation P289
type Q2235308
[{'concept': 'Q2235308'}, 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?o ) WHERE { ?w rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q2235308 . ?i property:P289 ?w } GROUP BY ?w } . FILTER ( ?o < ?t ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P289 resource:Q1376625 . ?f rdf:type ontology:Q2235308 } } }
action less
action find_reverse_tuple_counts
relation vessel class
type ship type
type ship type
action count
action filter_type
action find_reverse
entity Gearing-class destroyer
relation vessel class
type ship type
[{'concept': 'ship type'}, 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?o ) WHERE { ?w rdf:type ontology:ship_type . ?i rdf:type ontology:ship_type . ?i property:vessel_class ?w } GROUP BY ?w } . FILTER ( ?o < ?t ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:vessel_class resource:Gearing-class_destroyer . ?f rdf:type ontology:ship_type } } }
[]
ship type ship type
Q521029 Q928457 Q1053842
SYSTEM
Kirov-class battlecruiser, Kiev-class aircraft carrier, Tarawa-class amphibious assault ship
Q816023 Q10689111 Q10406832 Q382875 Q10690966 Q3792290 Q5251312 Q3792294 Q1130988 Q432231 Q674909 Q3792357 Q493274 Q769640 Q1287664 Q16038852 Q1328005 Q959834 Q6468587 Q2975929 Q4802151 Q941699 Q8055798 Q2975927 Q15628647 Q1053842 Q3793053 Q915138 Q1048362 Q1144920 Q497160 Q701202 Q4253323 Q3495999 Q10543422 Q3496124 Q928631 Q4700077 Q601535 Q2519278 Q2117332 Q419525 Q767166 Q780329 Q5427695 Q553215 Q1033613 Q498779 Q7380176 Q19361732 Q770449 Q521029 Q1314382 Q2975819 Q618938 Q177286 Q910649 Q2975810 Q560335 Q807763 Q3662906 Q2099267 Q3210746 Q4545857 Q2406192 Q633082 Q673098 Q72268 Q259174 Q1022326 Q11880097 Q3210586 Q5611821 Q2257543 Q1433093 Q11229656 Q358940 Q21717749 Q917639 Q5274902 Q11058763 Q10418071 Q2161384 Q14875868 Q2487815 Q383949 Q702891 Q2572014 Q909578 Q7268963 Q15919349 Q2975863 Q387932 Q7454857 Q1781645 Q358930 Q1453497 Q132297 Q1190779 Q3679305 Q9562 Q3094253 Q1347899 Q9566 Q1352960 Q1475040 Q1578209 Q971960 Q1630259 Q229770 Q1045896 Q3679390 Q390454 Q19831431 Q2500278 Q10682784 Q19843192 Q587007 Q3793015 Q2975749 Q1127612 Q571372 Q915178 Q19356847 Q652385 Q245662 Q5641191 Q2264270 Q31550 Q6082946 Q1982411 Q971192 Q11334722 Q3791903 Q2267988 Q19758697 Q6151598 Q1254216 Q1274285 Q2304124 Q24262163 Q2587107 Q1575626 Q706063 Q1652860 Q1432966 Q12015851 Q2975911 Q179955 Q304299 Q19758670 Q945916 Q928457 Q1734868 Q19758676 Q2975884 Q702128 Q688322 Q261767 Q5026422 Q536123 Q3093193 Q637426 Q1563735 Q21735938 Q999831 Q2976025 Q1360863 Q702304 Q2976021 Q572980 Q498683 Q2976022 Q2291760 Q2519269 Q5562179 Q680972 Q15942183 Q15621121 Q6664858 Q287632 Q2975982 Q2036560 Q2975828 Q2351048 Q7107382 Q303762 Q2274121 Q2107083 Q3094097 Q5606761 Q4819643 Q873688 Q2614648 Q2975985 Q1360973 Q2659419 Q3274323 Q179471 Q3793581 Q2194997 Q1187366 Q11703966 Q15622073 Q5679190 Q948959 Q11703034 Q4443132 Q2658159 Q18918140 Q2299357 Q571089 Q373893 Q3792987 Q6459969 Q2975754 Q1052123 Q15942266 Q16039460 Q7292743 Q1498818 Q3679336 Q5439454 Q1546914 Q324200 Q3792349 Q3494949 Q602387 Q5696501 Q1058502 Q1266749 Q1124097 Q262732 Q2160070 Q301073 Q10417840 Q932417 Q2336772 Q1137269 Q19429783 Q11680025 Q1434909 Q783457 Q475926 Q2065867 Q689588 Q2472379 Q15836103 Q5188076 Q974939 Q1969326 Q6794250 Q15622089 Q2519311 Q2975989 Q483260 Q19833896 Q15942166 Q2975952 Q2975777 Q993960 Q1532254 Q2460336 Q196735 Q1537188 Q117473 Q2275202 Q412201 Q2042622 Q1627891 Q19401749 Q780866 Q3264869 Q1264384 Q1141749 Q3093706 Q636353 Q948494 Q520178 Q275807 Q2701330 Q450196 Q19356844 Q4027435 Q3211375 Q4870147 Q19356849 Q15942287 Q1210639 Q18762604 Q2039052 Q535148 Q3558427 Q358956 Q2099736 Q2062283 Q4874510 Q3792637 Q320399 Q929294 Q2976016 Q1337723 Q762384 Q2976013 Q16334482 Q5190011 Q707045 Q11899889 Q246916 Q2975878 Q2257952 Q2000315 Q1128562 Q647330 Q2975876 Q1063383 Q2031040 Q367533 Q2095741 Q2630219 Q7278990 Q11707468 Q16144335 Q605961 Q1359363 Q2491939 Q677268 Q615528 Q701003 Q180571 Q335886 Q3791980 Q1117781 Q3274408 Q287978 Q2982377 Q10712140 Q3793619 Q15942235 Q1118229 Q805739 Q1073186 Q10526917 Q763181 Q452495 Q559657 Q5120084 Q277821 Q4683722 Q2038068 Q3211627 Q2037933 Q10587223 Q1179475 Q1785303 Q2975739 Q2299728 Q11706144 Q147625 Q1577502 Q2975831 Q2381340 Q6672265 Q3791913 Q17173244 Q2240070 Q20642325 Q752208 Q19831393 Q1588981 Q4121227 Q4188962 Q476928 Q477432 Q15942155 Q3211336 Q15942152 Q11198620 Q753161 Q5628625 Q592235 Q1935410 Q138894 Q309336 Q6827692 Q5179033 Q10548373 Q5380271 Q353926 Q2511835 Q1537883 Q3792614 Q19828430 Q19355099 Q2621735 Q3496336 Q2975836 Q456033 Q268761 Q2975830 Q4253393 Q206562 Q4266917 Q5316366 Q1046856 Q3390966 Q1509658 Q644561 Q11328602 Q18713142 Q656992 Q11227230 Q11660251 Q2990110 Q962041 Q3272608 Q599038 Q250801 Q3793595 Q1263318 Q553902 Q1111230 Q10720669 Q6731760 Q1202394 Q1126574 Q2658149 Q1200438 Q1025895 Q6731053 Q6800264 Q331743 Q1784290 Q2596131 Q17109249 Q165759 Q1852705 Q298395 Q14759225 Q2623271 Q527214 Q1159253 Q6724345 Q8034140 Q11707981 Q922727 Q4253289 Q639007 Q3024396 Q16985347 Q3791952 Q2975787 Q2975786 Q1121833 Q9542 Q6722781 Q552830 Q2975789 Q668485 Q1586054 Q4708380 Q21716925 Q2118184 Q3211065 Q16144371 Q4273037 Q626469 Q2975763 Q12317111 Q3487293 Q4780256 Q554037 Q11230681 Q19836819 Q1810588 Q6458993 Q5034755 Q2519420 Q1297289 Q9249721 Q4295155 Q4295156 Q843988 Q1032851 Q123794 Q1115239 Q10517501 Q7569093 Q1146814 Q5192372 Q18086862 Q11705857 Q1545471 Q758686 Q1061474 Q175472 Q2377603 Q16039394 Q3662927 Q688303 Q823329 Q1710979 Q1283740 Q11318115 Q553945 Q2266210 Q955928 Q2975868 Q604977 Q358966 Q19352592 Q5872751 Q492815 Q2196567 Q463072 Q2587234 Q553198 Q322510 Q15621142 Q685555 Q2599585 Q4759485 Q2975844 Q1053355 Q4159162 Q2495323 Q16391413 Q286526 Q1699022 Q10723800 Q888838 Q1089238 Q7230017 Q2975867 Q1254271 Q10495781 Q776645 Q3486758 Q1381563 Q4253277 Q1089464 Q761869 Q2983759 Q3442423 Q338135 Q6512523 Q2510952 Q166083 Q1070297 Q7864757 Q818175 Q156966 Q7575713 Q4353270 Q495389 Q3792367 Q1925211 Q259223 Q623689 Q673835 Q1884796 Q812056 Q2345016 Q697124 Q21712063 Q4253295 Q5299424 Q3793629 Q4684540 Q559243 Q3793663 Q11288469 Q4672336 Q11195149 Q177552 Q250108 Q3211324 Q2114492 Q3793064 Q295840 Q11328482 Q3211329 Q941069 Q795112 Q282411 Q3093782 Q15545687 Q223238 Q94560 Q2914068 Q4815648 Q3792342 Q608725 Q2118193 Q7357967 Q4857207 Q554520 Q5048257 Q3793610 Q2975808 Q2975802 Q2655255 Q2458374 Q4253365 Q616062 Q7242052 Q1889709 Q2256923 Q1072650 Q750365 Q1232848 Q10538814 Q384628 Q1393006 Q11300840 Q19312060 Q3791893 Q1263322 Q5771312 Q391061 Q581627 Q634024 Q5683641 Q257069 Q3094119 Q205637 Q3268210 Q1755976 Q5393564 Q7208992 Q1329840 Q262189 Q11290664 Q2502546 Q2975803 Q665289 Q1536906 Q1437952 Q2464628 Q928759 Q15545658 Q1627712 Q1190744 Q701062 Q7647052 Q903700 Q500329 Q4787720 Q11294838 Q3114654 Q1739268 Q1485677 Q3211071 Q263976 Q5943859 Q7307978 Q3492108 Q1256121 Q359276 Q1111863 Q1816732 Q2975972 Q674675 Q975371 Q2975614 Q2975756 Q2975757 Q2975978 Q1537501 Q2975752 Q932027 Q1165902 Q373197 Q5445321 Q2975980 Q2538489 Q1559709 Q15628650 Q15628655 Q15628654 Q203482 Q1367224 Q6658646 Q611328 Q768734 Q305398 Q962967 Q1186236 Q24256 Q472175 Q4805180 Q1059492 Q2975776 Q3662954 Q1152472 Q1856793 Q1017665 Q1063156 Q2001742 Q1202610 Q2301393 Q609563 Q734034 Q3493468 Q1397083 Q6458992 Q496838 Q2257319 Q4267740 Q10480344 Q3792674 Q10546078 Q421999 Q285301 Q1092301 Q693517 Q2664154 Q971506 Q2975852 Q11237019 Q3663562 Q2975859 Q3210499 Q2975992 Q2975962 Q11679489 Q701715 Q11681510 Q1053026 Q733506 Q6819868 Q566498 Q690298 Q1781042 Q4813431 Q2592357 Q705175 Q19573932 Q13415411 Q474352 Q2646328 Q1027949 Q4027334 Q819167 Q11049745 Q2062306 Q3784920 Q19831448 Q1374478
(c(Q2235308),P289,c(Q2235308))
action less
action find_reverse_tuple_counts
relation P289
type Q2235308
type Q2235308
action count
action filter_type
action find_reverse
entity Q1376625
relation P289
type Q2235308
[ANSWERS] are the vessel classes of less number of ship types than that ship type
[{'concept': 'Q2235308'}, 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?o ) WHERE { ?w rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q2235308 . ?i property:P289 ?w } GROUP BY ?w } . FILTER ( ?o < ?t ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P289 resource:Q1376625 . ?f rdf:type ontology:Q2235308 } } }
Bellona-class ship of the line Sökaren-class minesweeper Altair class training ship Helgoland-class tug Tapper-class patrol craft Fervent-class destroyer Defender-class torpedo boat Handy-class destroyer Buque de Acción Marítima Sovetsky Soyuz-class battleship Arleigh Burke-class destroyer Sturgeon-class destroyer Andrea Doria-class cruiser Bisson-class destroyer Edsall-class destroyer escort French Chastang-class destroyer Valerian Kuybyshev-class motorship Tosa-class battleship Sentinel-class cutter London-class ship of the line Arun class lifeboat Kagerō-class destroyer Yorktown-class gunboat Linois-class protected cruiser LSM(R)-188 class Landing Ship Medium (Rocket) Tarawa-class amphibious assault ship Rocket-class destroyer Kongō-class destroyer Cassin-class destroyer Montana-class battleship Pohang-class corvette Scharnhorst-class battleship Fame-class ship of the line Ham-class minesweeper Kaparen-class patrol boat Leopard-class frigate Caldwell-class destroyer Akademik Shuleykin-class oceanographic research vessel Petropavlovsk-class battleship Espora-class corvette Stockholm class corvette Akizuki-class destroyer Olympic-class ocean liner River-class destroyer Fabian Wrede-class training ship Cöln-class cruiser Canopus-class battleship Wicher-class destroyer Ruotsinsalmi-class minelayer Colorado-class frigate Bogue-class escort carrier Kirov-class battlecruiser Nevada-class battleship Océan class ship of the line Apollo-class cruiser Independence-class littoral combat ship Thetis-class ocean patrol vessel Claymore-class destroyer Graf Zeppelin-class aircraft carrier Barbarossa-class ocean liner Acheron-class destroyer Plejad-class torpedo boat Pearl-class cruiser 1.-class torpedo boat C-class destroyer Lion-class battlecruiser Alaska-class cruiser Admiralty type flotilla leader Inflexible-class ship of the line C and D-class destroyer M-class destroyer Swiftsure-class ironclad Großes Torpedoboot 1913-class torpedo boat Pennsylvania-class cruiser Landsort-class mine countermeasures vessel Landing Ship, Tank Admiral Hipper-class cruiser LST(1) Boxer class Cannon-class destroyer escort Mærsk E-class container ship Shikishima-class battleship Arkö-class minesweeper Roebuck-class ship Patrol craft type 60 Aggressive-class minesweeper Type 1934 class destroyer Knox-class frigate Kearsarge-class battleship Karel Doorman-class frigate Quantum-class cruise ship Boulder Victory-class cargo ship Forbin-class protected cruiser Graudenz-class cruiser Seringapatam-class frigate Kongō-class battlecruiser Admiral Gorshkov-class frigate Freedom-class littoral combat ship TI class supertanker Centaur-class aircraft carrier Formidabile-class ironclad Rivadavia-class battleship Wave-class tanker Tennessee class battleship Almirante Latorre-class battleship Maksim Gorkiy class motorship Moma-class Peresvet-class battleship Alger-class protected cruiser Santa María-class frigate Zumwalt-class destroyer Forrestal-class aircraft carrier Maracaibo class Agano-class cruiser R-class cruise ship River-class frigate Styrbjörn-class minesweeper Ness-class combat stores ship Belknap-class cruiser Restigouche-class Arras-class aviso Ivan Franko-class passenger ship Dresden-class cruiser Spruance-class destroyer G7-class destroyer Durand de la Penne-class destroyer Gipsy-class destroyer Halcyon-class minesweeper Invincible class battlecruiser Prinz Adalbert-class cruiser Island-class patrol vessel New Mexico class battleship Kasuga-class cruiser Bristol-class light cruiser Ikazuchi-class destroyer U and V-class destroyer Achomawi-class fleet tug No.1-class submarine chaser Enns-class river monitor Garcia-class frigate Tromp-class frigate Sassaba-class harbor tug Monmouth-class cruiser King George V-class battleship Nassau-class battleship I-class destroyer Montecuccoli-class cruiser Explorer-class container ship L'Adroit-class coastal escort ship Chungmugong Yi Sun-sin-class destroyer Wasp-class amphibious assault ship Cherokee-class fleet tug Mitscher-class destroyer Kiev-class aircraft carrier Kashin-class destroyer Bannock-class fleet tug Holiday-class cruise ship Newport-class tank landing ship König class battleship Wodnik-class training ship Cameron class steamer Bouclier-class destroyer Fort Victoria-class replenishment oiler Cleveland class cruiser Smith-class destroyer LST(3) Buckley-class destroyer escort Voyager-class cruise ship Wielingen class frigate Scharnhorst class cruiser Vision-class cruise ship Portland-class cruiser Lublin-class minelayer-landing ship Voltigeur-class destroyer Courbet-class battleship Connecticut-class battleship Gilliam-class attack transport Tegetthoff class battleship Padma-class patrol vessel Otra-class minesweeper Loch-class frigate Gerald R. Ford-class aircraft carrier Canadian River-class destroyer Annapolis-class D'Assas-class protected cruiser Liberté-class battleship Osprey-class sloop Anton Chekhov-class motorship Cyclops-class monitor Powhatan-class fleet ocean tug Re Umberto-class ironclad Gregorio del Pilar-class frigate Audacious-class ironclad Ticonderoga-class cruiser Truxtun-class destroyer River-class torpedo-boat destroyer Vikrant-class aircraft carrier Draug-class destroyer Whitby-class frigate Helgoland-class battleship Colony-class frigate Tennessee-class cruiser Type 1936A-class destroyer Janus-class destroyer Century-class cruise ship Haskell-class attack transport Körös-class monitor Achelous-class repair ship Mirna-class patrol boat Asama-class cruiser Essex-class aircraft carrier - short hull Spica-class torpedo boat Bremen-class cruiser King Edward VII-class battleship Moudge-class frigate LSM-1-class landing ship medium Arrogant-class ship of the line Udaloy-class destroyer Lirica class Tachibana class destroyer Ranger-class tanker SC-1-class submarine chaser Indomito-class destroyer Fearless-class patrol vessel Grimsby-class sloop Almirante Cervera-class cruiser Hardy-class destroyer Knud Rasmussen-class patrol vessel Rochefortais-class destroyer Hecla-class survey vessel Mistral class amphibious assault ship Durandal-class destroyer Concordia-class cruise ship Implacable-class aircraft carrier Spahi-class destroyer Spica-class torpedo boat Arholma-class minesweeper St. Vincent class battleship Vasco da Gama-class frigate County-class destroyer Kronprinz class Archer-class patrol vessel Rivers-class ocean liner Trento-class cruiser Sachsen-class ironclad Pearl-class corvette Kaiser Friedrich III-class battleship C class cruiser NAOS P270-class ro-pax cargo ship Crosley-class high speed transport Kortenaer-class frigate Pensacola class cruiser Katsuragi-class corvette Musica-class cruise ship Regina Elena-class battleship Solstice-class cruise ship Dokdo-class amphibious assault ship F-class destroyer Blitz-class aviso Oceanic class transatlantic liner Barfleur-class ship of the line Diadem-class cruiser Hunt-class mine countermeasures vessel Porter-class destroyer Type 1936-class destroyer Iroquois-class Admiral-class battleship La Galissonnière-class ironclad Ajax-class ironclad Kasagi-class cruiser Paulding-class destroyer Kanawha-class fleet replenishment oiler Austin-class amphibious transport dock Tre Kronor-class cruiser Type 23 frigate Crown Colony-class cruiser Fort Rosalie-class replenishment ship Königsberg-class cruiser Queen Elizabeth-class aircraft carrier Wyoming-class battleship Bayan-class cruiser Albion-class landing platform dock River-class patrol vessel V1-class destroyer Castle-class trawler Belorussiya-class cruiseferry Battle class S13-class destroyer Cormorant-class gunvessel Dido-class cruiser K-class destroyer Bathurst-class corvette Mississippi-class battleship Saryu-class patrol vessel Admiral-class battlecruiser Warrior-class ironclad Sangamon class escort carrier Bayfield class attack transport Harusame-class destroyer Oste-class fleet service ship Brooklyn-class cruiser Troude-class protected cruiser Emir Bucharski-class destroyer Visby class corvette Sverige-class coastal defence ship Corinthic-class liner Cruizer-class brig-sloop Bismarck-class battleship German V105-class torpedo boat Kidd-class destroyer Gowind-class corvette Type 1936B destroyer North Carolina-class battleship Conte di Cavour-class battleship Giussano-class cruiser Gloire class ironclads Charles F. Adams-class destroyer Blas de Lezo-class cruiser Maros-class river monitor Satsuma-class battleship Boston-class cruiser Racecourse-class minesweeper Lillian Ngoyi-class environmental inshore patrol vessel Ticonderoga class aircraft carrier Virginia-class battleship Slava class cruiser Sampson-class destroyer Majestic-class battleship Aoba class cruiser Derfflinger-class battlecruiser Greyhound-class destroyer Armidale-class patrol boat O'Brien-class destroyer Royal Sovereign-class battleship Galaxy-class starship County-class heavy cruiser Tiger-class cruiser Valas-class Göteborg-class destroyer Felicity-class water tractor Lord Nelson-class battleship Baltimore class cruiser Type 45 destroyer Hugin-class patrol boat Spearhead-class joint high speed vessel Amagi-class battlecruiser Gabbiano-class corvette Cimarron-class oiler A-class destroyer Admiral Ushakov-class coastal defense battleship Type 1934A-class destroyer Royal-class cruise ship Havock-class destroyer Mode-class destroyer De Zeven Provinciën-class frigate Takao class cruiser Algerine-class minesweeper Swiftsure-class battleship Dryad-class torpedo gunboat Zara class cruiser Tribal-class Courageous-class battlecruiser Gauloise-class ironclad Long Beach-class cruiser Etorofu-class escort ship Terrebonne Parish-class tank landing ship Téméraire-class ship of the line Hind class sloop Iowa-class battleship Statendam-class cruise ship Hatsuyuki-class destroyer Albion-class ship of the line Andrei Pervozvanny-class battleship Curtatone-class destroyer Brummer-class cruiser Pégase-class ship of the line Äran-class coastal defence ship Minerve class frigate E-class destroyer Atago-class destroyer Lapwing-class minesweeper Aylwin-class destroyer Millennium-class cruise ship Cressy-class cruiser Nimitz-class aircraft carrier Miantonomoh-class monitor Coventry-class frigate Koster-class mine countermeasures vessel Enterprise-class frigate Adelaide-class frigate Vegesack-class minesweeper Gorch Fock-class training ship St. Laurent-class destroyer Vestal-class sixth-rate frigate German A1-class torpedo boat Sandown class minehunter Öland-class destroyer Descartes-class protected cruiser Type 21 frigate MEKO 200 D-class destroyer Atle-class icebreaker Kotlin-class destroyer Vanguard-class ship of the line Durg-class corvette Kitty Hawk-class aircraft carrier Tacoma-class frigate Gepard-class Leipzig-class cruiser Birmingham-class light cruiser Aquitaine class Tátra-class destroyer J-class destroyer Echo-class survey ship (2002) York class cruiser Halland-class destroyer Gleaves-class destroyer Minekaze-class destroyer Álvaro de Bazán class frigate Captain-class frigate Duca degli Abruzzi-class cruiser Magdeburg-class cruiser Colorado-class battleship Wrangel-class destroyer Magnifique-class ship of the line Iron Duke class battleship Conquest-class cruise ship Katori-class battleship Des Moines-class cruiser Andrea Doria-class battleship Magicienne-class frigate McCawley-class attack transport Absalon-class support ship Pisa-class cruiser Hawkins-class cruiser Drache-class ironclad Mermaid-class destroyer Town-class cruiser Östergötland-class destroyer Type 82 destroyer Quintino Sella-class destroyer Köln-class frigate Danae-class cruiser Mackenzie-class destroyer Worcester-class ship of the line Active-class patrol boat Type 22 frigate Canada-class ship of the line Ardent-class destroyer Round Table-class landing ship logistics Huszár-class destroyer Wild Beast-class destroyer Branlebas-class destroyer Boyne-class ship of the line Shiratsuyu-class destroyer Minas Geraes-class battleship Macaé-class patrol vessel Elbing-class torpedo boat Boyne-class ship of the line Cadorna-class cruiser Harpers Ferry-class dock landing ship Alarm-class torpedo gunboat LST-491 class tank landing ship Chidori-class torpedo boat Svea-class coastal defence ship Perth-class light cruiser Edinburgh-class cruiser Fargo-class cruiser Attacker-class escort carrier Holm-class multi-purpose vessel Anchorage-class dock landing ship Apollo-class frigate Victoria Louise-class cruiser L-class destroyer Léopard-class training ship Leahy-class cruiser German A80-class torpedo boat Cape Ducato-class vehicle cargo ship Battle-class destroyer San Antonio-class amphibious transport dock Snake-class junk Russian Tsiklon-class torpedo boat Hayabusa-class torpedo boat Hyūga class helicopter destroyer Canberra class landing helicopter dock Königsberg-class cruiser Commencement Bay-class escort carrier Hanö-class minesweeper Southampton-class frigate Oliver Hazard Perry-class frigate Cuckoo-class schooner Lougen-class coastal minelayer Fantome-class sloop Type 42 destroyer Audacious-class aircraft carrier Invincible-class aircraft carrier Baptista de Andrade-class corvette Bergamini-class frigate Rageot de la Touche-class destroyer Avon-class destroyer Kaiser-class battleship Styrsö class mine countermeasures vessel Rodina-class motorship Edgar-class cruiser Chatham-class light cruiser Königsberg-class cruiser Koningin Regentes class coastal defense ship Bretagne-class battleship Framée-class destroyer Bahia-class cruiser Kuznetsov-class aircraft carrier German H145-class destroyer Hiuchi class support ship Roma-class frigate Wind class icebreaker America-class amphibious assault ship Hiyō class aircraft carrier Gazelle-class cruiser Abnaki-class fleet ocean tug McArthur-class hydrographic survey ship Illustrious-class aircraft carrier Type 071 amphibious transport dock Andromeda-class attack cargo ship Duke-class ship of the line Midway-class aircraft carrier Ashland class dock landing ship Huon-class minehunter Papenburg Siblings-class ferry Protecteur class replenishment oiler John C. Butler-class destroyer escort Ystad-class missile boat Russian Bobr-class gunboat Pallada-class cruiser Porcupine-class post ship Friant-class protected cruiser Temes-class monitor Gåssten class minesweeper Nairana-class escort carrier Blackwood-class frigate Evarts-class destroyer escort Royal Oak-class ship of the line Whidbey Island class dock landing ship Grisha class corvette Minotaur class cruiser Končar-class missile boat Acasta-class destroyer Leda-class frigate Flores-class gunboats Erebus-class monitor Cherokee-class brig-sloop UKBF 42m Customs Cutter Benson-class destroyer Deutschland-class cruiser Speedy-class brig Hastings-class sloop Sejong the Great-class destroyer Conflict-class destroyer Meteor-class aviso Belleisle-class ironclad Arabe-class destroyer Arktika-class icebreaker Mahan-class destroyer Bay-class landing ship Fubuki-class destroyer Moltke class battlecruiser LST Mk 2 class Intrepid-class ship of the line Doterel-class sloop Swordfish-class destroyer Adonis class schooner Sleipner-class destroyer Visby-class destroyer Weymouth-class light cruiser Accentor-class minesweeper C-class destroyer Halifax-class frigate Blonde class cruiser Oden-class coastal defence ship Tucker-class destroyer Zebra-class destroyer Anzac class frigate Birkenhead-class light cruiser Castle-class corvette C-class destroyer B-class destroyer Hunt-class destroyer Wichita-class replenishment oiler Michitsuki-class destroyer Perth-class destroyer Victoria-class battleship Taiyō-class escort carrier Atholl-class corvette Salmon-class destroyer Izumo-class helicopter carrier Somers-class destroyer FPB-57 Banterer-class post ship Yamato-class battleship Casco-class monitor Sunfish-class destroyer Chasseur-class destroyer Caledonia-class ship of the line New Orleans class cruiser Tsingtau-class river gunboat Albion-class ship of the line Bainbridge-class destroyer Prestonian-class Ōtori-class torpedo boat V and W-class destroyer Chikuma-class cruiser Astraea-class cruiser Dmitriy Furmanov-class motorship J-class torpedo boat Long Island class escort carrier Fremantle-class patrol boat Gloucester-class cruiser B 97-class destroyer Admiral Grigorovich-class frigate Duca d'Aosta-class cruiser Furor class Kirov-class cruiser G and H-class destroyer Yorktown-class aircraft carrier Haven-class hospital ship Boadicea class cruiser Bob Hope-class vehicle cargo ship Krivak-class frigate Hamilton-class cutter Lion-class battleship Thornycroft type destroyer leader Polar-class icebreaker Nelson-class battleship Deutschland-class battleship Evstafi-class battleship Yūgumo-class destroyer Catinat-class protected cruiser Panther class protected cruiser Renown-class battlecruiser Forrest Sherman-class destroyer S and T-class destroyer Brooke class frigate Fuyutsuki-class destroyer Rossiya-class motorship Littorio-class battleship Bayern-class battleship Surveillante-class frigate King George V-class battleship Mercy-class hospital ship Arcturus-class attack cargo ship Camelion-class sloop Grand-class cruise ship Norrköping-class missile boat Saipan-class aircraft carrier Turunmaa-class gunboat Le Hardi-class destroyer Hunt-class minesweeper Regatta-class cruise ship Katanpää Dream-class cruise ship Admiralty M-class destroyer Colossus-class light fleet carrier De Zeven Provinciën-class cruiser Patrulleros de Zona Marítima Bourrasque-class destroyer Chitose class aircraft carrier Powerful-class cruiser Asheville-class gunboat Aventurier-class destroyer Radiance-class cruise ship Moskva-class helicopter carrier Arquebuse-class destroyer Gangut class battleship Daring-class destroyer Iwo Jima class amphibious assault ship Ferret-class destroyer Reina Regente-class protected cruiser Wacht-class aviso Göteborg-class corvette LSM(R)-401 Class Landing Ship Medium (Rocket) LSM(R)-501-class landing ship medium (rocket) Gypsy-class salvage lifting vessel Avenger-class mine countermeasures ship Pennsylvania-class battleship Liverpool class lifeboat Clemenceau-class aircraft carrier Hydra-class ironclad Hydra class frigate Rhein-class supply vessel Cheng Kung-class frigate Le Normand-class frigate Amiral Charner-class cruiser Ashizuri class combat support ship Lexington-class aircraft carrier Bayard-class ironclad Charger-class destroyer Zuihō-class aircraft carrier Tenryū-class cruiser Bussard-class cruiser Avenger class escort carrier Sverdlov-class cruiser La Fayette class frigate Allen M. Sumner-class destroyer Delaware class battleship Northampton class cruiser Southampton-class cruiser Farragut-class destroyer German A56 class torpedo boat Formidable-class battleship Weapon-class destroyer Vengeur-class ship of the line Ehrensköld class destroyer Murakumo-class destroyer Klas-class destroyer Elizabeth-class ship of the line Shirane-class destroyer Unryū class aircraft carrier Brandenburg class battleship South Dakota-class battleship Grom-class destroyer Enseigne Roux-class destroyer N-class destroyer Banshee-class destroyer Fantasia-class cruise ship Veer-class corvette Sovereign-class cruise ship Oasis-class cruise ship Tolland-class attack cargo ship Braunschweig-class battleship Cherokee-class fleet tug Maersk Triple E class Leander-class cruiser Mermaid class frigate Berlin-class replenishment ship Wittelsbach class battleship Rudderow-class destroyer escort Athenic-class ocean liner Emerald class cruiser Fuji-class battleship D-class destroyer Drake-class cruiser Frankenthal-class minehunter Alkmaar-class minehunter Cameleon-class steam gunboat Casa Grande-class dock landing ship Riga-class frigate K class sloop Talwar-class frigate Henry J. Kaiser-class oiler Viking Star-class Asagiri-class destroyer
Kirov-class battlecruiser, Kiev-class aircraft carrier and Tarawa-class amphibious assault ship are the vessel classes of less number of ship types than that ship type
Kirov-class battlecruiser Kiev-class aircraft carrier Tarawa-class amphibious assault ship
action less
action find_reverse_tuple_counts
relation vessel class
type ship type
type ship type
action count
action filter_type
action find_reverse
entity Gearing-class destroyer
relation vessel class
type ship type
[{'concept': 'ship type'}, 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?o ) WHERE { ?w rdf:type ontology:ship_type . ?i rdf:type ontology:ship_type . ?i property:vessel_class ?w } GROUP BY ?w } . FILTER ( ?o < ?t ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:vessel_class resource:Gearing-class_destroyer . ?f rdf:type ontology:ship_type } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q521029
P138
Q2235308
USER
How many ship types are Kirov-class battlecruiser named after ?
(Q521029,P138,c(Q2235308))
action count
action filter_type
action find
entity Q521029
relation P138
type Q2235308
['Q521029', 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q521029 property:P138 ?y . ?y rdf:type ontology:Q2235308 }
Kirov-class battlecruiser
action count
action filter_type
action find
entity Kirov-class battlecruiser
relation named after
type ship type
['Kirov-class battlecruiser', 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Kirov-class_battlecruiser property:named_after ?y . ?y rdf:type ontology:ship_type }
[]
ship type
SYSTEM
1
Q2573281
(Q521029,P138,c(Q2235308))
action count
action filter_type
action find
entity Q521029
relation P138
type Q2235308
[ANSWER]
['Q521029', 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q521029 property:P138 ?y . ?y rdf:type ontology:Q2235308 }
Soviet battlecruiser Kirov
1
action count
action filter_type
action find
entity Kirov-class battlecruiser
relation named after
type ship type
['Kirov-class battlecruiser', 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Kirov-class_battlecruiser property:named_after ?y . ?y rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q524666
Q2235308
USER
And what about San Giorgio class cruiser?
(Q524666,P138,c(Q2235308))
action count
action filter_type
action find
entity Q524666
relation P138
type Q2235308
['Q524666', 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q2235308 . resource:Q524666 property:P138 ?d }
San Giorgio class cruiser
action count
action filter_type
action find
entity San Giorgio class cruiser
relation named after
type ship type
['San Giorgio class cruiser', 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:ship_type . resource:San_Giorgio_class_cruiser property:named_after ?d }
[]
ship type
SYSTEM
1
(Q524666,P138,c(Q2235308))
action count
action filter_type
action find
entity Q524666
relation P138
type Q2235308
[ANSWER]
['Q524666', 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q2235308 . resource:Q524666 property:P138 ?d }
1
action count
action filter_type
action find
entity San Giorgio class cruiser
relation named after
type ship type
['San Giorgio class cruiser', 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:ship_type . resource:San_Giorgio_class_cruiser property:named_after ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2975989 Q521029
P289
Q2235308
USER
Which ship types have Kirov-class battlecruiser or Solstice-class cruise ship as vessel class ?
OR((c(Q2235308),P289,Q521029), (c(Q2235308),P289,Q2975989))
action filter_type
action union
action find_reverse
entity Q521029
relation P289
action find_reverse
entity Q2975989
relation P289
type Q2235308
{'OR': [[{'concept': 'Q2235308'}, 'P289', 'Q521029'], [{'concept': 'Q2235308'}, 'P289', 'Q2975989']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P289 resource:Q2975989 } UNION { ?y property:P289 resource:Q521029 } } . ?y rdf:type ontology:Q2235308 }
Solstice-class cruise ship Kirov-class battlecruiser
action filter_type
action union
action find_reverse
entity Kirov-class battlecruiser
relation vessel class
action find_reverse
entity Solstice-class cruise ship
relation vessel class
type ship type
{'OR': [[{'concept': 'ship type'}, 'vessel class', 'Kirov-class battlecruiser'], [{'concept': 'ship type'}, 'vessel class', 'Solstice-class cruise ship']]}
SELECT DISTINCT ?y WHERE { { { ?y property:vessel_class resource:Solstice-class_cruise_ship } UNION { ?y property:vessel_class resource:Kirov-class_battlecruiser } } . ?y rdf:type ontology:ship_type }
[]
ship type
Q2371 Q1052819 Q504292 Q1052827 Q945572 Q3052778 Q5057758 Q2573281 Q1052839
SYSTEM
Celebrity Solstice, Celebrity Eclipse, Russian battlecruiser Admiral Nakhimov, Celebrity Equinox, Russian battlecruiser Admiral Lazarev, Petr Velikiy, Celebrity Reflection, Soviet battlecruiser Kirov, Celebrity Silhouette
Q2371 Q1052819 Q504292 Q1052827 Q945572 Q3052778 Q5057758 Q2573281 Q1052839
OR((c(Q2235308),P289,Q521029), (c(Q2235308),P289,Q2975989))
action filter_type
action union
action find_reverse
entity Q521029
relation P289
action find_reverse
entity Q2975989
relation P289
type Q2235308
[ANSWERS] have Kirov-class battlecruiser or Solstice-class cruise ship as vessel class
{'OR': [[{'concept': 'Q2235308'}, 'P289', 'Q521029'], [{'concept': 'Q2235308'}, 'P289', 'Q2975989']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P289 resource:Q2975989 } UNION { ?y property:P289 resource:Q521029 } } . ?y rdf:type ontology:Q2235308 }
Celebrity Solstice Celebrity Eclipse Russian battlecruiser Admiral Nakhimov Celebrity Equinox Russian battlecruiser Admiral Lazarev Petr Velikiy Celebrity Reflection Soviet battlecruiser Kirov Celebrity Silhouette
Celebrity Solstice, Celebrity Eclipse, Russian battlecruiser Admiral Nakhimov, Celebrity Equinox, Russian battlecruiser Admiral Lazarev, Petr Velikiy, Celebrity Reflection, Soviet battlecruiser Kirov and Celebrity Silhouette have Kirov-class battlecruiser or Solstice-class cruise ship as vessel class
Celebrity Solstice Celebrity Eclipse Russian battlecruiser Admiral Nakhimov Celebrity Equinox Russian battlecruiser Admiral Lazarev Petr Velikiy Celebrity Reflection Soviet battlecruiser Kirov Celebrity Silhouette
action filter_type
action union
action find_reverse
entity Kirov-class battlecruiser
relation vessel class
action find_reverse
entity Solstice-class cruise ship
relation vessel class
type ship type
{'OR': [[{'concept': 'ship type'}, 'vessel class', 'Kirov-class battlecruiser'], [{'concept': 'ship type'}, 'vessel class', 'Solstice-class cruise ship']]}
SELECT DISTINCT ?y WHERE { { { ?y property:vessel_class resource:Solstice-class_cruise_ship } UNION { ?y property:vessel_class resource:Kirov-class_battlecruiser } } . ?y rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q15324
USER
How many bodies of water come from approximately 2 ship types ?
(c(Q15324),P138,c(Q2235308))
action count
action approx
action find_tuple_counts
relation P138
type Q15324
type Q2235308
value 2
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { ?v property:P138 ?s . ?v rdf:type ontology:Q15324 . ?s rdf:type ontology:Q2235308 } GROUP BY ?v } . FILTER ( ?l = 2 ) }
action count
action approx
action find_tuple_counts
relation named after
type body of water
type ship type
value 2
[{'concept': 'body of water'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { ?v property:named_after ?s . ?v rdf:type ontology:body_of_water . ?s rdf:type ontology:ship_type } GROUP BY ?v } . FILTER ( ?l = 2 ) }
[]
ship type body of water
SYSTEM
1
Q141061
(c(Q15324),P138,c(Q2235308))
action count
action approx
action find_tuple_counts
relation P138
type Q15324
type Q2235308
value 2
[ANSWER]
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { ?v property:P138 ?s . ?v rdf:type ontology:Q15324 . ?s rdf:type ontology:Q2235308 } GROUP BY ?v } . FILTER ( ?l = 2 ) }
Erebus and Terror Gulf
1
action count
action approx
action find_tuple_counts
relation named after
type body of water
type ship type
value 2
[{'concept': 'body of water'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { ?v property:named_after ?s . ?v rdf:type ontology:body_of_water . ?s rdf:type ontology:ship_type } GROUP BY ?v } . FILTER ( ?l = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1124859 Q521029
P138
Q2235308
USER
Which ship types are Kirov-class battlecruiser or Oberon-class submarine named after ?
OR((Q521029,P138,c(Q2235308)), (Q1124859,P138,c(Q2235308)))
action filter_type
action union
action find
entity Q521029
relation P138
action find
entity Q1124859
relation P138
type Q2235308
{'OR': [['Q521029', 'P138', {'concept': 'Q2235308'}], ['Q1124859', 'P138', {'concept': 'Q2235308'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q521029 property:P138 ?j } UNION { resource:Q1124859 property:P138 ?j } } . ?j rdf:type ontology:Q2235308 }
Oberon-class submarine Kirov-class battlecruiser
action filter_type
action union
action find
entity Kirov-class battlecruiser
relation named after
action find
entity Oberon-class submarine
relation named after
type ship type
{'OR': [['Kirov-class battlecruiser', 'named after', {'concept': 'ship type'}], ['Oberon-class submarine', 'named after', {'concept': 'ship type'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Kirov-class_battlecruiser property:named_after ?j } UNION { resource:Oberon-class_submarine property:named_after ?j } } . ?j rdf:type ontology:ship_type }
[]
ship type
Q4351305 Q2573281
SYSTEM
HMS Oberon, Soviet battlecruiser Kirov
Q4351305 Q2573281
OR((Q521029,P138,c(Q2235308)), (Q1124859,P138,c(Q2235308)))
action filter_type
action union
action find
entity Q521029
relation P138
action find
entity Q1124859
relation P138
type Q2235308
[ANSWERS] are Kirov-class battlecruiser or Oberon-class submarine named after
{'OR': [['Q521029', 'P138', {'concept': 'Q2235308'}], ['Q1124859', 'P138', {'concept': 'Q2235308'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q521029 property:P138 ?j } UNION { resource:Q1124859 property:P138 ?j } } . ?j rdf:type ontology:Q2235308 }
HMS Oberon Soviet battlecruiser Kirov
HMS Oberon and Soviet battlecruiser Kirov are Kirov-class battlecruiser or Oberon-class submarine named after
HMS Oberon Soviet battlecruiser Kirov
action filter_type
action union
action find
entity Kirov-class battlecruiser
relation named after
action find
entity Oberon-class submarine
relation named after
type ship type
{'OR': [['Kirov-class battlecruiser', 'named after', {'concept': 'ship type'}], ['Oberon-class submarine', 'named after', {'concept': 'ship type'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Kirov-class_battlecruiser property:named_after ?j } UNION { resource:Oberon-class_submarine property:named_after ?j } } . ?j rdf:type ontology:ship_type }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5315441
P138
Q2235308 Q15700808
USER
Which urban unit definitions are the eponym of approximately the same number of ship types as Dunlop ?
(c(Q15700808),P138,c(Q2235308))
action approx
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
action count
action filter_type
action find
entity Q5315441
relation P138
type Q15700808
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q5315441 property:P138 ?v . ?v rdf:type ontology:Q15700808 } } . FILTER ( ?h = ?b ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?h ) WHERE { ?d property:P138 ?l . ?d rdf:type ontology:Q15700808 . ?l rdf:type ontology:Q2235308 } GROUP BY ?d } }
Dunlop
action approx
action find_tuple_counts
relation named after
type urban unit definition
type ship type
action count
action filter_type
action find
entity Dunlop
relation named after
type urban unit definition
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Dunlop property:named_after ?v . ?v rdf:type ontology:urban_unit_definition } } . FILTER ( ?h = ?b ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?h ) WHERE { ?d property:named_after ?l . ?d rdf:type ontology:urban_unit_definition . ?l rdf:type ontology:ship_type } GROUP BY ?d } }
[]
ship type urban unit definition
Q7989345 Q7626934 Q1421389
SYSTEM
Weston, Stuart Park, Fitzroy
Q1594002 Q1421389 Q7026520 Q5377277 Q14935141 Q692763 Q7338840 Q2896400 Q4476251 Q949824 Q7989345 Q7626934 Q6391446 Q7641406 Q6271274 Q673418 Q1012058 Q6722652 Q4894915 Q7185600 Q22525629 Q763513 Q2651034 Q2918153 Q6480572 Q5167620 Q660135 Q1521059 Q4999948 Q482055 Q2918803 Q2918802 Q7810475 Q1160037 Q5184107 Q5598698 Q516923 Q5148151 Q7002958 Q1003684 Q5102084 Q2900456 Q256948 Q291305 Q12060435 Q4977003 Q5455716 Q5125861 Q4942699 Q5315441 Q2236090 Q256629 Q443946 Q7244455 Q1001743 Q17007340 Q6938213 Q1011478 Q7330307 Q905081 Q5679492 Q910857 Q7968787 Q2975743 Q6813667 Q4530072 Q617029 Q3764261 Q1004189 Q652017 Q7899493 Q5135073 Q12736886 Q1228554 Q24239665 Q4976165 Q257618 Q5048437 Q2895133 Q538592 Q1109698 Q4455973 Q8026553 Q591771 Q860086 Q7617547 Q4972237 Q532284 Q2918677 Q7798372 Q1200355 Q1109824 Q4155281 Q6933244 Q994135 Q848872 Q520022 Q5166874 Q1012076 Q13420360 Q5211219 Q7141839
(c(Q15700808),P138,c(Q2235308))
action approx
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
action count
action filter_type
action find
entity Q5315441
relation P138
type Q15700808
[ANSWERS] are the eponym of approximately the same number of ship types as Dunlop
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q5315441 property:P138 ?v . ?v rdf:type ontology:Q15700808 } } . FILTER ( ?h = ?b ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?h ) WHERE { ?d property:P138 ?l . ?d rdf:type ontology:Q15700808 . ?l rdf:type ontology:Q2235308 } GROUP BY ?d } }
Heidelberg Fitzroy Nicholls Enfield Fawkner Bonner Rivett Chifley Watson Sturt Weston Stuart Park Kensington Gardens Sunshine Tempe Bondi Beach Williamstown Macarthur Berserker Phillip Gillen Cremorne Alphington La Perouse Lalor Coombs Florey Tullamarine Burnley Acton Potts Point Camperdown Tiwi Lyons Cremorne Great Barr Evatt Colonel Light Gardens Neutral Bay Fraser Chisholm Darling Point Hackett Banks Holroyd Bruce Fitzroy North Clapham Bonython Dunlop Bankstown Scullin Altona Princes Hill Fisher Denman Prospect Murdoch Darlinghurst Richardson Dickson Hassall Grove Duffy Waramanga Kingsford Melrose Park Ainslie Holder Gilberton Frösön Crace Upwey Clontarf Normanhurst Palmerston Eaton Brown Hill Creek Waterloo Casey Phillip Bay Curtin Collingwood Turner Winthrop Albert Park Chapman Stirling Broadmeadows Chifley Waverley Throsby Derrimut Collinsvale Downer Muirhead Brunswick Braddon Forde Cook Richmond Barton Dallas Pascoe Vale
Weston, Stuart Park and Fitzroy are the eponym of approximately the same number of ship types as Dunlop
Weston Stuart Park Fitzroy
action approx
action find_tuple_counts
relation named after
type urban unit definition
type ship type
action count
action filter_type
action find
entity Dunlop
relation named after
type urban unit definition
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Dunlop property:named_after ?v . ?v rdf:type ontology:urban_unit_definition } } . FILTER ( ?h = ?b ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?h ) WHERE { ?d property:named_after ?l . ?d rdf:type ontology:urban_unit_definition . ?l rdf:type ontology:ship_type } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q6938213
P138
Q2235308 Q15700808
USER
And also tell me about Murdoch?
(c(Q15700808),P138,c(Q2235308))
action approx
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
action count
action filter_type
action find
entity Q6938213
relation P138
type Q15700808
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?a ) WHERE { ?b property:P138 ?n . ?b rdf:type ontology:Q15700808 . ?n rdf:type ontology:Q2235308 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q6938213 property:P138 ?d . ?d rdf:type ontology:Q15700808 } } . FILTER ( ?a = ?o ) }
Murdoch
action approx
action find_tuple_counts
relation named after
type urban unit definition
type ship type
action count
action filter_type
action find
entity Murdoch
relation named after
type urban unit definition
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?a ) WHERE { ?b property:named_after ?n . ?b rdf:type ontology:urban_unit_definition . ?n rdf:type ontology:ship_type } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Murdoch property:named_after ?d . ?d rdf:type ontology:urban_unit_definition } } . FILTER ( ?a = ?o ) }
[]
ship type urban unit definition
Q7989345 Q7626934 Q1421389
SYSTEM
Weston, Stuart Park, Fitzroy
Q1594002 Q1421389 Q7026520 Q5377277 Q14935141 Q692763 Q7338840 Q2896400 Q4476251 Q949824 Q7989345 Q7626934 Q6391446 Q7641406 Q6271274 Q673418 Q1012058 Q6722652 Q4894915 Q7185600 Q22525629 Q763513 Q2651034 Q2918153 Q6480572 Q5167620 Q660135 Q1521059 Q4999948 Q482055 Q2918803 Q2918802 Q7810475 Q1160037 Q5184107 Q5598698 Q516923 Q5148151 Q7002958 Q1003684 Q5102084 Q2900456 Q256948 Q291305 Q12060435 Q4977003 Q5455716 Q5125861 Q4942699 Q5315441 Q2236090 Q256629 Q443946 Q7244455 Q1001743 Q17007340 Q6938213 Q1011478 Q7330307 Q905081 Q5679492 Q910857 Q7968787 Q2975743 Q6813667 Q4530072 Q617029 Q3764261 Q1004189 Q652017 Q7899493 Q5135073 Q12736886 Q1228554 Q24239665 Q4976165 Q257618 Q5048437 Q2895133 Q538592 Q1109698 Q4455973 Q8026553 Q591771 Q860086 Q7617547 Q4972237 Q532284 Q2918677 Q7798372 Q1200355 Q1109824 Q4155281 Q6933244 Q994135 Q848872 Q520022 Q5166874 Q1012076 Q13420360 Q5211219 Q7141839
(c(Q15700808),P138,c(Q2235308))
action approx
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
action count
action filter_type
action find
entity Q6938213
relation P138
type Q15700808
[ANSWERS]
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?a ) WHERE { ?b property:P138 ?n . ?b rdf:type ontology:Q15700808 . ?n rdf:type ontology:Q2235308 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q6938213 property:P138 ?d . ?d rdf:type ontology:Q15700808 } } . FILTER ( ?a = ?o ) }
Heidelberg Fitzroy Nicholls Enfield Fawkner Bonner Rivett Chifley Watson Sturt Weston Stuart Park Kensington Gardens Sunshine Tempe Bondi Beach Williamstown Macarthur Berserker Phillip Gillen Cremorne Alphington La Perouse Lalor Coombs Florey Tullamarine Burnley Acton Potts Point Camperdown Tiwi Lyons Cremorne Great Barr Evatt Colonel Light Gardens Neutral Bay Fraser Chisholm Darling Point Hackett Banks Holroyd Bruce Fitzroy North Clapham Bonython Dunlop Bankstown Scullin Altona Princes Hill Fisher Denman Prospect Murdoch Darlinghurst Richardson Dickson Hassall Grove Duffy Waramanga Kingsford Melrose Park Ainslie Holder Gilberton Frösön Crace Upwey Clontarf Normanhurst Palmerston Eaton Brown Hill Creek Waterloo Casey Phillip Bay Curtin Collingwood Turner Winthrop Albert Park Chapman Stirling Broadmeadows Chifley Waverley Throsby Derrimut Collinsvale Downer Muirhead Brunswick Braddon Forde Cook Richmond Barton Dallas Pascoe Vale
Weston Stuart Park Fitzroy
action approx
action find_tuple_counts
relation named after
type urban unit definition
type ship type
action count
action filter_type
action find
entity Murdoch
relation named after
type urban unit definition
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?a ) WHERE { ?b property:named_after ?n . ?b rdf:type ontology:urban_unit_definition . ?n rdf:type ontology:ship_type } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Murdoch property:named_after ?d . ?d rdf:type ontology:urban_unit_definition } } . FILTER ( ?a = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q847233
P138
Q2235308 Q271669 Q83620
USER
How many ship types are lesser number of landforms and thoroughfares named after than HMS Discovery ?
(c(Q271669)|c(Q83620),P138,c(Q2235308))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q271669
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q847233
relation P138
type Q271669
type Q83620
[[{'concept': 'Q271669'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?b ) { ( ontology:Q271669 ) ( ontology:Q83620 ) } . ?o rdf:type ?b } GROUP BY ?n } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P138 resource:Q847233 . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:Q271669 ) ( ontology:Q83620 ) } } } } }
HMS Discovery
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type ship type
type landform
action find_reverse_tuple_counts
relation named after
type ship type
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity HMS Discovery
relation named after
type landform
type thoroughfare
[[{'concept': 'landform'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?b ) { ( ontology:landform ) ( ontology:thoroughfare ) } . ?o rdf:type ?b } GROUP BY ?n } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:named_after resource:HMS_Discovery . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:landform ) ( ontology:thoroughfare ) } } } } }
[]
ship type landform thoroughfare
SYSTEM
558
Q1548116 Q574079 Q1752985 Q5634305 Q389965 Q13422371 Q1564757 Q2290619 Q2259226 Q4383934 Q2557165 Q1032062 Q1778372 Q1483548 Q1254229 Q9364230 Q827360 Q2371 Q3940407 Q155222 Q4993491 Q749820 Q194096 Q1469689 Q558429 Q1812747 Q7391557 Q2258930 Q1422739 Q6158554 Q74858 Q10513230 Q1968832 Q911858 Q2448527 Q1047321 Q3614442 Q18760824 Q5634951 Q3273486 Q2301794 Q820879 Q978671 Q2703331 Q19303904 Q609925 Q5632411 Q554838 Q11416678 Q10515261 Q5971123 Q6109002 Q1887991 Q5631498 Q6141010 Q10513085 Q2573043 Q7198244 Q1971215 Q900379 Q10513243 Q5633568 Q2166261 Q5632178 Q4351305 Q4040220 Q3903735 Q1564571 Q52901 Q5634182 Q1565629 Q32770 Q32771 Q19801858 Q75035 Q283452 Q2506862 Q3424471 Q280710 Q5633971 Q6138862 Q5632563 Q390455 Q255306 Q6159079 Q4351939 Q5636029 Q2837649 Q12766634 Q562674 Q137256 Q10513104 Q2038001 Q16846235 Q4352977 Q2490432 Q820478 Q18760862 Q523960 Q7870497 Q14852061 Q464370 Q7391608 Q7391565 Q2709917 Q339124 Q262899 Q7870667 Q3798336 Q7277328 Q5631590 Q26674641 Q6141293 Q1479687 Q10515280 Q3427401 Q1138094 Q5228097 Q201639 Q912950 Q729875 Q2384053 Q2981505 Q7604010 Q2094314 Q686751 Q925439 Q19799542 Q19800534 Q661264 Q588644 Q4040143 Q4057885 Q1668136 Q2207272 Q5634498 Q10862679 Q498614 Q5601951 Q1881850 Q1602430 Q10706637 Q1351895 Q2557371 Q2494128 Q804091 Q14493958 Q10515073 Q10513290 Q324809 Q3563939 Q496778 Q1141369 Q574063 Q388075 Q18162952 Q557286 Q43464 Q2608583 Q1136398 Q4109990 Q7432747 Q960276 Q959845 Q1419883 Q18713207 Q827424 Q1078399 Q1483636 Q7391649 Q9332479 Q5634817 Q2654409 Q1062925 Q705804 Q681339 Q2273174 Q1545526 Q11457293 Q5634082 Q4347031 Q3839602 Q2269717 Q16223597 Q2008029 Q1152088 Q1258451 Q46266 Q2301492 Q46264 Q1052831 Q820669 Q838148 Q752939 Q2283194 Q1408520 Q1797485 Q4571916 Q2704292 Q920520 Q5631940 Q21152409 Q10515256 Q11269215 Q10515155 Q10515285 Q2206996 Q702335 Q6158589 Q150857 Q1475511 Q10515026 Q7866735 Q3007443 Q1303926 Q1564997 Q10493454 Q7872159 Q1372001 Q5630713 Q7870889 Q5633694 Q1500444 Q477173 Q10513279 Q221796 Q4346186 Q10884878 Q705582 Q512615 Q372672 Q3947217 Q655030 Q5397127 Q446316 Q18921160 Q2573281 Q476096 Q1139653 Q615525 Q210651 Q3124982 Q5631537 Q7277388 Q3544577 Q10862664 Q730273 Q1129569 Q18762809 Q7874569 Q5632611 Q2543125 Q10862685 Q4290731 Q4040071 Q2070201 Q659894 Q11707944 Q1431226 Q4386720 Q7871181 Q3395651 Q10712138 Q5630245 Q10884907 Q5634350 Q228680 Q2208180 Q677346 Q1262390 Q210223 Q3237833 Q4346763 Q3061861 Q1065337 Q8408069 Q2859286 Q16496700 Q14950169 Q3225605 Q4355074 Q19013671 Q1373432 Q116335 Q19364025 Q311245 Q15444128 Q5631274 Q5972671 Q7867565 Q10513231 Q175437 Q5629241 Q678015 Q839203 Q1236027 Q5632025 Q5632924 Q5632389 Q11868642 Q155159 Q475540 Q1564604 Q5631471 Q1572254 Q5633629 Q2468207 Q1232851 Q2638679 Q7866115 Q13376303 Q5634553 Q5633707 Q11660152 Q312224 Q10884889 Q10884888 Q5632418 Q331745 Q3750543 Q10515060 Q4353591 Q10884884 Q1032037 Q16109063 Q7277387 Q141667 Q656632 Q9385256 Q2992278 Q1881852 Q3544580 Q6319364 Q3687436 Q3411691 Q4801479 Q10515162 Q175967 Q18760894 Q5730112 Q694474 Q15104547 Q11151506 Q9367948 Q5502108 Q5634804 Q2252131 Q704128 Q1324247 Q7866980 Q3699672 Q5630379 Q10513165 Q1258270 Q9353884 Q5206186 Q2377914 Q18760809 Q907779 Q477460 Q548745 Q1476140 Q2207152 Q4291176 Q567416 Q9284810 Q5635044 Q3013847 Q9137721 Q7408497 Q1564158 Q10515051 Q1708772 Q2707962 Q2342404 Q727245 Q543302 Q46195 Q7867304 Q5632696 Q2311446 Q2713873 Q15621165 Q289870 Q7869595 Q1474340 Q21735946 Q1930867 Q321007 Q3314897 Q11679476 Q158427 Q730305 Q4052218 Q673840 Q11707318 Q2704642 Q5472679 Q25653 Q888842 Q10513296 Q2349208 Q648831 Q2623266 Q7875718 Q156962 Q19169440 Q4290724 Q1473375 Q9364207 Q4040064 Q27454 Q4358483 Q1761672 Q1502183 Q10513127 Q4351910 Q2116259 Q10862600 Q2717194 Q15117029 Q10515173 Q3621539 Q3771903 Q680257 Q11262560 Q18760843 Q1473898 Q119397 Q7866572 Q1071182 Q2829090 Q4958923 Q1500360 Q3604134 Q576829 Q6011826 Q15179941 Q11707534 Q10513226 Q10513227 Q10513221 Q4882507 Q3840157 Q838125 Q1552451 Q18760834 Q3278681 Q513634 Q4410121 Q1125602 Q4040126 Q10515274 Q4040081 Q16573 Q10515272 Q7868365 Q1546204 Q5473685 Q2008002 Q6144457 Q4300728 Q755358 Q167085 Q5631646 Q10513099 Q5631645 Q5631640 Q13728696 Q4352699 Q1324124 Q7024076 Q428341 Q2469372 Q10884898 Q10884899 Q5631243 Q10884891 Q5495178 Q4206524 Q1266647 Q1328905 Q6142192 Q4346742 Q4369538 Q765514 Q824787 Q7868281 Q1347693 Q7871779 Q505312 Q1565648 Q5633942 Q3927914 Q179246 Q5631836 Q1117730 Q5972684 Q1920904 Q1046629 Q3748278 Q274924 Q3737315 Q2116640 Q14509227 Q7867003 Q2123826 Q7867000 Q2454760 Q1444474 Q190542 Q2029488 Q2121074 Q15275627 Q4352629 Q10515189 Q10515188 Q4386686 Q10515187 Q449016 Q215010 Q6127462 Q934571 Q3274010 Q168165 Q187622 Q4352812 Q623070 Q3224180 Q688532 Q152179 Q358971 Q192381 Q4442824 Q3905677 Q5630820 Q463161 Q7866225 Q857891 Q2712235 Q4727706 Q4301093 Q698414 Q14565078 Q4026798 Q128472 Q812102 Q82257 Q3015138 Q819361 Q2060512 Q18691244 Q7867597 Q118203 Q4273218 Q1117331 Q698468 Q689046
(c(Q271669)|c(Q83620),P138,c(Q2235308))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q271669
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q847233
relation P138
type Q271669
type Q83620
[ANSWER]
[[{'concept': 'Q271669'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?b ) { ( ontology:Q271669 ) ( ontology:Q83620 ) } . ?o rdf:type ?b } GROUP BY ?n } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P138 resource:Q847233 . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:Q271669 ) ( ontology:Q83620 ) } } } } }
HMS Dido SMS Deutschland MS Voyager of the Seas HMS Shannon Discovery Japanese torpedo boat Tomozuru HMS Gloucester Italian cruiser Duca degli Abruzzi Japanese submarine I-15 USS Brooke Antarctic HMS Nelson USS Bainbridge USS Wasp SMS Huszár USS Wasp USS Nautilus Celebrity Solstice Roma German battleship Scharnhorst HMS Näcken Russian submarine TK-208 Dmitri Donskoi HMS Greyhound USS Tennessee SMS Kronprinz Erzherzog Rudolf Japanese cruiser Takao SM U-151 HMS Speedy USS Ohio Japanese destroyer Tachibana HMS Attacker HMS Halland RMS Oceanic Endurance USS Portland USS Barracuda Italian submarine Ammiraglio Cagni FS Catinat HMS Whitby USS Kearsarge USS George Washington HNoMS Otra USS Boston MS Sovereign SMS Temes HMS Warrior HMS Ferret SMS Prinz Adalbert Japanese submarine Ro-60 HMS Västergötland USS Sturgeon JS Hiuchi USS Long Beach HMS Banshee Japanese submarine I-201 HMS Altair HMS Avenger Pisces V USS Seawolf HMS Bounty HMS Hugin HMS Odin USS Los Angeles HMS Doterel HMS Oberon HMS Royal Oak Pietro Calvi submarine HMS Daring HMS Sverige HMS Salmon HMS Valiant HNLMS O 19 HNLMS Walrus Rhein Japanese cruiser Asama HMS Canada USS Colorado USS Baltimore HMS Invincible HMS Rainbow Spanish frigate Santa María HMS Gipsy Japanese cruiser Agano Japanese battleship Kongō Japanese submarine I-9 HMS King Edward VII HMS Gotland ARA Salta (S-31) HMS Lion USS Essex HMS Erebus HMS Arkö Russian submarine B-585 Saint Petersburg Japanese submarine I-12 USS Cannon Italian cruiser Raimondo Montecuccoli SM U-27 FS Forbin SMS Kaiser Friedrich III USS James Madison Karel Doorman USS Nautilus SM U-93 SM U-20 Japanese submarine I-174 USS New Mexico Italian battleship Littorio USS Kanawha Indomito ROCS Cheng Kung HMS Blackwood Amsterdam USS Benjamin Franklin USS Balao HMS Öland Italian cruiser Cesare Rossarol Japanese battleship Tosa USS Anchorage USS Kidd ORP Orzeł HMS Chatham Russian battleship Peresvet French ship Mistral Statendam Italian battleship Andrea Doria French armoured cruiser Amiral Charner HMAS Canberra HMS Cherokee SMS Maros HMAS Perth Anton Chekhov HMS London Russian frigate Admiral Gorshkov Russian cruiser Pallada SM U-17 HMS Sturgeon Japanese submarine I-400 French frigate Hermione Greek frigate Hydra MSC Lirica Helgoland Turunmaa USS Gerald R. Ford Japanese battleship Satsuma HMAS Adelaide Russian cruiser Bayan Mærsk Mc-Kinney Møller HMS Plejad HMS Koster SMS Graudenz Greek submarine Katsonis USS Permit USS Forrestal SMS Kaiserin HMS Ardent HMS Vestal Gorch Fock I HNLMS De Zeven Provinciën USS Brooklyn USS Mahan Finnish submarine Vetehinen Schooner Te Vega Russian battleship Evstafi SMS Sachsen SMS Königsberg FS Friant USS San Antonio USS Arleigh Burke USS New Orleans SM UB-43 SMS S13 HMS Vengeur Japanese destroyer Yūgumo Italian cruiser Luigi Cadorna Japanese battleship Shikishima HMAS Perth USS Colorado USS Ticonderoga HMS Sunfish HMS Rocket HMS Tre Kronor Luigi Durand de la Penne HNLMS Dolfijn Yugoslav submarine Hrabri ORP Wicher USS Tarawa USS Charles F. Adams HNLMS De Zeven Provinciën HNLMS K XI HNLMS Tromp Celebrity Millennium SM U-43 USS Lexington RMS Queen Mary INS Vikrant HMS Foxhound USS Freedom Japanese submarine I-7 Japanese destroyer Fubuki USS Kearsarge HMS Conflict R. H. Fauntleroy HMS Visby JS Shirane HMS Stockholm HMS Östergötland SMS Meteor (1890) HMS Edinburgh Japanese escort ship Etorofu Bismarck USS Oliver Hazard Perry HMS Mode USNS Spearhead HMS Hecla USS Saipan HMS King George V Fabian Wrede USS Navajo Russian battleship Petropavlovsk HMCS Athabaskan USS LSM(R)-188 HMS Parthian HMS Lion Emma Mærsk HMS Kaparen SMS Helgoland Japanese submarine I-52 Japanese submarine I-176 SMS Königsberg HMS Erebus Granma Italian cruiser San Giorgio Celebrity Century HMS Klas Uggla HNoMS Draug HDMS Lougen Soviet battlecruiser Kirov SMS V116 HMS King George V HMS Express HMS Eagle HMS Boyne HMS Belleisle ROKS Dokdo USS Truxtun Japanese submarine I-373 HMS Weymouth USS Cleveland FS Gauloise ironclad USS Tacoma HMS Grampus Japanese cruiser Kasuga Japanese submarine I-153 USS Cassin HMS Duke Hr. Ms. Alkmaar HMS Southampton Lillian Ngoyi USS Kitty Hawk Japanese submarine I-13 USS Lawrence Spanish cruiser Almirante Cervera Valas HMAS Armidale Japanese submarine I-46 HMS Sjöormen Japanese aircraft carrier Zuihō HNLMS O 2 USS Wasp RV Atlantis sloop French battleship Liberté ORP Mazur HMS Worcester Italian cruiser Emanuele Filiberto Duca d'Aosta ROKS Sejong the Great FS Aquitaine NRP Baptista de Andrade Viking Star Atle HMS Tiger SMS Panther Reina Regente MSC Musica TI Asia USS Yorktown (CV-5) French destroyer Le Hardi HMS Alert INS Shishumar USS Bannock HMS Hanö SS Vega HDMS Narhvalen USS Virginia HMS Birmingham HMS Astute HMS Cuckoo HMS Janus HMS Fantome KNM Ula SMS Cöln USS Pensacola HMS Discovery HMS Avon USS Bonhomme Richard HMS Osprey USNS Powhatan Dmitriy Furmanov Soviet helicopter carrier Moskva USCGC Itasca HMS Sjölejonet HMS Swordfish HMS Pearl Japanese destroyer Ikazuchi HMS Endeavour Japanese submarine I-165 Japanese submarine I-162 HMS Fervent HDMS Absalon Yugoslav submarine Osvetnik HMS Oden ORP Podhalanin Japanese submarine I-156 HMS Implacable Končar ROKS Chungmugong Yi Sun-sin HMS Terror SMS Nassau Japanese submarine I-121 Russian cruiser Moskva MSC Fantasia USS Smith (DD-17) Jymy motor torpedo boat Italian submarine Console Generale Liuzzi French ship Pégase French battleship Courbet HMS Styrbjörn INS Talwar FS Linois Blas de Lezo SMS Bayern Aigrette Chinese Hai Lung submarine SMS V1 French cruiser Troude HMS Vanguard Trento SMS Derfflinger SMS Blitz USS Abnaki Curtatone HMAS Huon HMS Draken USS Long Island SMS G7 DSRV-1 Mystic Soviet cruiser Kirov FS Alger USS Midway USS Sangamon SMS Braunschweig French submarine Gymnote SMS Wacht USS Tucker SMS Brandenburg SMS H145 HMS Zebra French ship Astrolabe SMS A1 USS America HMCS Halifax HMS Norrköping Japanese destroyer Fuyutsuki USS Northampton Japanese submarine I-168 USS North Carolina SMS Dresden HMS Nairana USS Andromeda HMS Hardy HMS Fury USS Belknap HMS Pearl HMS Mermaid USS Gearing USS Ethan Allen Terrebonne Parish tank landing ship USS Iwo Jima RMS Olympic French frigate Minerve USS Merrick German cruiser Deutschland HMS Birkenhead USS Farragut Arktika Italian battleship Regina Elena Japanese submarine I-1 Fortitude ferry Bobr Russian gunboat HMS Landsort Hr. Ms. Kortenaer HMS Bristol Italian cruiser Alberto da Giussano USS Yorktown German aircraft carrier Graf Zeppelin Consul USS Aylwin USS Fletcher USS South Dakota HMS Cyclops German cruiser Admiral Hipper USS Wickes USS Montana HMS Victoria HMS Blixt HMS Royal Sovereign USS Avenger Japanese submarine I-372 French submarine Triomphant Émeraude HMS Svea Archimede Glauco HMS Havock JS Oyashio Japanese submarine FS Descartes USS Ticonderoga HMS Challenger USNS Henry J. Kaiser Japanese battleship Katori Japanese destroyer Akizuki Brazilian submarine Tikuna Nautilus Italian submarine Acciaio Soviet aircraft carrier Kiev Meteoro Valerian Kuybyshev Kunlun Shan HMS Göteborg HMS Hajen HMS Gåssten Belgian frigate Wielingen Luigi Settembrini submarine USS Hornet HMS Comet FS D’Assas USS Zumwalt HMS Boadicea Sverdlov SMS Körös HMS Intrepid HMS Ystad HMS Elizabeth Shiratsuyu HMS Wrangel USS Cimarron SMS Brummer HMS Göteborg ORP Wodnik Japanese corvette Katsuragi USS Sampson SS Athenic SMS Magdeburg HMS Boyne HMS Arholma HMS Boxer HMS Boxer HNLMS Zwaardvis HMS Visby HMS Renown Niantic Spanish frigate Álvaro de Bazán USS Garcia Japanese submarine I-5 Japanese submarine I-6 HMS Ajax Japanese submarine I-16 HMS Handy USS O'Brien (DD-51) French submarine Dupuy de Lôme USS Nevada I-54 Japanese submarine USS Lafayette USCGC Polar Star USS Pennsylvania SMS Gazelle USS Cherokee French ironclad Gloire USS Miantonomoh SMS Wittelsbach HMS Vanguard (S28) HMS R1 Quintino Sella kayak HMS Charger Italian cruiser Andrea Doria INS Sindhughosh Hr. Ms. Tromp French submarine Casabianca Formidabile Russian aircraft carrier Admiral Kuznetsov Circé USS Connecticut JS Izumo USS Achomawi Italian submarine Brin USS Achelous Russian submarine Yury Dolgorukiy HMS Queen Elizabeth Costa Concordia USS Porter HMS Powerful Ra HMS Ehrensköld HMS Tapper HMS Sökaren USS Clemson HMS Södermanland DSV Alvin Yamato USS Pennsylvania HMS Blonde USS Mississippi NOAAS McArthur French aircraft carrier Clemenceau HMS Äran USS Knox French ship Magnifique Italian battleship Conte di Cavour SM U-10 Russian coast defense ship Admiral Ushakov MS Oasis of the Seas HMS Spica Italian cruiser Pisa HMCS Huron USS Nimitz USCGC Polar Sea USS Monitor Russian battleship Andrei Pervozvanny Alkimos USS Caldwell SMS Kaiser INS Vikrant HMS Inflexible SMS Victoria Louise French battleship Bayard RRS Discovery Pen Duick SMS König USS Independence MHC Katanpää USS Barracuda ORP Grom USS Paulding Nimrod German cruiser Leipzig German cruiser Königsberg
558
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type ship type
type landform
action find_reverse_tuple_counts
relation named after
type ship type
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity HMS Discovery
relation named after
type landform
type thoroughfare
[[{'concept': 'landform'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?b ) { ( ontology:landform ) ( ontology:thoroughfare ) } . ?o rdf:type ?b } GROUP BY ?n } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:named_after resource:HMS_Discovery . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:landform ) ( ontology:thoroughfare ) } } } } }
[]