Simple Question (Direct)
Simple Question
Q5630872
P176
Q4830453
USER
Who is the producer of HMCS Okanagan ?
(Q5630872,P176,c(Q4830453))
action filter_type
action find
entity Q5630872
relation P176
type Q4830453
['Q5630872', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?d WHERE { resource:Q5630872 property:P176 ?d . ?d rdf:type ontology:Q4830453 }
HMCS Okanagan
action filter_type
action find
entity HMCS Okanagan
relation manufacturer
type business enterprise
['HMCS Okanagan', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?d WHERE { resource:HMCS_Okanagan property:manufacturer ?d . ?d rdf:type ontology:business_enterprise }
[]
business enterprise
Q1068204
SYSTEM
Chatham Dockyard
Q1068204
(Q5630872,P176,c(Q4830453))
action filter_type
action find
entity Q5630872
relation P176
type Q4830453
The producer of HMCS Okanagan is the [ANSWER]
['Q5630872', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?d WHERE { resource:Q5630872 property:P176 ?d . ?d rdf:type ontology:Q4830453 }
Chatham Dockyard
The producer of HMCS Okanagan is the Chatham Dockyard
Chatham Dockyard
action filter_type
action find
entity HMCS Okanagan
relation manufacturer
type business enterprise
['HMCS Okanagan', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?d WHERE { resource:HMCS_Okanagan property:manufacturer ?d . ?d rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5630872
P520
Q153556
USER
What is the weapon used by that ship prefix ?
(Q1068204,P520,c(Q153556))
action filter_type
action find
entity Q5630872
relation P520
type Q153556
['Q1068204', 'P520', {'concept': 'Q153556'}]
SELECT DISTINCT ?h WHERE { resource:Q5630872 property:P520 ?h . ?h rdf:type ontology:Q153556 }
HMCS Okanagan
action filter_type
action find
entity HMCS Okanagan
relation armament
type ranged weapon
['Chatham Dockyard', 'armament', {'concept': 'ranged weapon'}]
SELECT DISTINCT ?h WHERE { resource:HMCS_Okanagan property:armament ?h . ?h rdf:type ontology:ranged_weapon }
[]
ranged weapon
Q1194008
SYSTEM
Mark 48 torpedo
Q1194008
(Q1068204,P520,c(Q153556))
action filter_type
action find
entity Q5630872
relation P520
type Q153556
The weapon used by that ship prefix is the [ANSWER]
['Q1068204', 'P520', {'concept': 'Q153556'}]
SELECT DISTINCT ?h WHERE { resource:Q5630872 property:P520 ?h . ?h rdf:type ontology:Q153556 }
Mark 48 torpedo
The weapon used by that ship prefix is the Mark 48 torpedo
Mark 48 torpedo
action filter_type
action find
entity HMCS Okanagan
relation armament
type ranged weapon
['Chatham Dockyard', 'armament', {'concept': 'ranged weapon'}]
SELECT DISTINCT ?h WHERE { resource:HMCS_Okanagan property:armament ?h . ?h rdf:type ontology:ranged_weapon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P520
Q2235308
USER
How many ship types have that ranged weapon as their weapon ?
(c(Q2235308),P520,Q1194008)
action count
action filter_type
action find_reverse
entity Q1194008
relation P520
type Q2235308
[{'concept': 'Q2235308'}, 'P520', 'Q1194008']
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P520 resource:Q1194008 . ?k rdf:type ontology:Q2235308 }
action count
action filter_type
action find_reverse
entity Mark 48 torpedo
relation armament
type ship type
[{'concept': 'ship type'}, 'armament', 'Mark 48 torpedo']
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:armament resource:Mark_48_torpedo . ?k rdf:type ontology:ship_type }
[]
ship type
SYSTEM
162
Q2470102 Q5968178 Q1596193 Q2003808 Q4384713 Q747983 Q498760 Q1715770 Q2117295 Q2469792 Q2301794 Q1784063 Q368419 Q1472052 Q975988 Q472986 Q1249407 Q6141293 Q1437413 Q1973096 Q6138608 Q6144946 Q7868733 Q976846 Q1287639 Q7869683 Q7869682 Q5231481 Q7874949 Q5970896 Q5227796 Q2471518 Q567967 Q598581 Q1337120 Q600125 Q5971123 Q6138393 Q1578014 Q1459982 Q5232273 Q7874855 Q5971155 Q6138349 Q667833 Q510214 Q1786716 Q924151 Q6132017 Q499055 Q5971096 Q6138564 Q6138562 Q6138306 Q1628755 Q503453 Q632457 Q7869705 Q2471257 Q1725498 Q2093829 Q7867378 Q2006011 Q1761221 Q508531 Q165916 Q1379656 Q1971589 Q5964938 Q1683284 Q632460 Q11288203 Q844743 Q1788001 Q4346742 Q1029271 Q6144738 Q1789356 Q1674076 Q1260634 Q7873770 Q2003791 Q2302386 Q1566425 Q1935618 Q685632 Q6144695 Q632503 Q968667 Q2003799 Q820203 Q1778502 Q748373 Q749868 Q1755178 Q7874158 Q1971557 Q11323769 Q1601564 Q1380250 Q1474340 Q1787992 Q1971094 Q7870497 Q2091881 Q2091889 Q2302375 Q663075 Q174818 Q2302353 Q5226794 Q6144928 Q6138496 Q7875454 Q32771 Q1453075 Q7870122 Q1783713 Q5229866 Q3006912 Q7874906 Q1783702 Q631540 Q1862142 Q2000900 Q1422739 Q2166261 Q1806597 Q1422734 Q2005990 Q604857 Q1711338 Q1687136 Q1573507 Q7872657 Q1272420 Q371294 Q993944 Q616899 Q2712823 Q2001200 Q1999797 Q7867460 Q2003758 Q2001217 Q1781111 Q7869921 Q7874470 Q919768 Q1760185 Q2005518 Q821843 Q935791 Q570993 Q1356916 Q7874656 Q1718601 Q6141356 Q980570 Q7869984 Q1470212 Q1467248
(c(Q2235308),P520,Q1194008)
action count
action filter_type
action find_reverse
entity Q1194008
relation P520
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P520', 'Q1194008']
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P520 resource:Q1194008 . ?k rdf:type ontology:Q2235308 }
USS Mariano G. Vallejo USS Batfish USS Glenard P. Lipscomb USS Columbus USS Patrick Henry USS Columbia USS Guitarro USS Wyoming USS Hartford USS John C. Calhoun USS George Washington USS Cincinnati USS Seahorse USS Springfield USS Puffer USS Bremerton USS Miami USS Benjamin Franklin USS Jacksonville USS Henry M. Jackson USS Woodrow Wilson USS Casimir Pulaski USS Daniel Boone USS Grayling USS Groton USS George C. Marshall USS George Bancroft USS Sea Devil USS Ulysses S. Grant USS Ray USS Bergall USS Von Steuben USS Chicago USS Dallas USS Narwhal USS Silversides USS Sturgeon USS Cavalla USS California USS Kentucky USS Bluefish USS Trepang USS Pogy USS Lapon USS Daniel Webster USS Alexandria USS Alaska USS Maine USS Theodore Roosevelt USS Pintado USS William H. Bates USS John Adams USS Alexander Hamilton USS Nathan Hale USS Mississippi USS Kamehameha USS Thomas A. Edison USS George Washington Carver USS Stonewall Jackson USS Louisiana USS Tullibee USS Archerfish USS Annapolis USS Alabama USS Nevada USS Montpelier USS Indianapolis USS Charlotte USS Spadefish USS Georgia USS Sam Houston USS Will Rogers USS Robert E. Lee USS West Virginia USS Lafayette USS Greeneville USS Billfish USS Omaha USS Augusta USS Helena USS Sam Rayburn USS Albuquerque USS Pasadena USS Rhode Island USS Pennsylvania USS Olympia USS L. Mendel Rivers USS John Marshall USS Maryland USS Newport News USS Andrew Jackson USS Nebraska USS Topeka USS Scranton USS Florida USS Simon Bolivar USS La Jolla USS Nathanael Greene USS Atlanta USS Louisville USS Ethan Allen USS Tennessee USS Oklahoma City USS James Madison USS Finback USS Sand Lance USS Toledo USS Richard B. Russell USS Hyman G. Rickover USS Memphis USS Hawkbill USS Flying Fish USS Queenfish USS Whale HNLMS Walrus USS Hampton USS Henry L. Stimson USS Phoenix USS James K. Polk USS Drum USS Tunny USS Salt Lake City USS Thomas Jefferson USS Boston USS Key West USS Ohio USS Los Angeles USS Philadelphia USS Michigan USS Albany USS Boise USS Lewis and Clark USS Houston USS Minneapolis–Saint Paul USS Pargo USS Asheville USS Providence USS San Juan USS City of Corpus Christi USS Tautog USS Jefferson City USS Tucson USS Aspro USS Santa Fe USS Pittsburgh USS Birmingham USS Gurnard USS Sunfish USS New York City USS Portsmouth USS Baltimore USS Francis Scott Key USS San Francisco USS James Monroe USS Baton Rouge USS Tecumseh USS Buffalo USS Henry Clay USS Cheyenne USS Hammerhead USS Honolulu USS Parche
162
action count
action filter_type
action find_reverse
entity Mark 48 torpedo
relation armament
type ship type
[{'concept': 'ship type'}, 'armament', 'Mark 48 torpedo']
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:armament resource:Mark_48_torpedo . ?k rdf:type ontology:ship_type }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10513247 Q5630872
P793
Q2245405
USER
Which key events are the significant events associated with HMCS Okanagan or HSwMS Hvalen ?
OR((Q5630872,P793,c(Q2245405)), (Q10513247,P793,c(Q2245405)))
action filter_type
action union
action find
entity Q5630872
relation P793
action find
entity Q10513247
relation P793
type Q2245405
{'OR': [['Q5630872', 'P793', {'concept': 'Q2245405'}], ['Q10513247', 'P793', {'concept': 'Q2245405'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q5630872 property:P793 ?a } UNION { resource:Q10513247 property:P793 ?a } } . ?a rdf:type ontology:Q2245405 }
HSwMS Hvalen HMCS Okanagan
action filter_type
action union
action find
entity HMCS Okanagan
relation significant event
action find
entity HSwMS Hvalen
relation significant event
type key event
{'OR': [['HMCS Okanagan', 'significant event', {'concept': 'key event'}], ['HSwMS Hvalen', 'significant event', {'concept': 'key event'}]]}
SELECT DISTINCT ?a WHERE { { { resource:HMCS_Okanagan property:significant_event ?a } UNION { resource:HSwMS_Hvalen property:significant_event ?a } } . ?a rdf:type ontology:key_event }
[]
key event
Q7497952 Q7497950 Q336332 Q596643 Q14713606 Q14475832 Q14592615
SYSTEM
ship decommissioning, ship disposal, ship breaking, ship naming and launching, ship launch, ship commissioning, keel laying
Q7497952 Q7497950 Q336332 Q596643 Q14713606 Q14475832 Q14592615
OR((Q5630872,P793,c(Q2245405)), (Q10513247,P793,c(Q2245405)))
action filter_type
action union
action find
entity Q5630872
relation P793
action find
entity Q10513247
relation P793
type Q2245405
[ANSWERS] are the significant events associated with HMCS Okanagan or HSwMS Hvalen
{'OR': [['Q5630872', 'P793', {'concept': 'Q2245405'}], ['Q10513247', 'P793', {'concept': 'Q2245405'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q5630872 property:P793 ?a } UNION { resource:Q10513247 property:P793 ?a } } . ?a rdf:type ontology:Q2245405 }
ship decommissioning ship disposal ship breaking ship naming and launching ship launch ship commissioning keel laying
Ship decommissioning, ship disposal, ship breaking, ship naming and launching, ship launch, ship commissioning and keel laying are the significant events associated with HMCS Okanagan or HSwMS Hvalen
ship decommissioning ship disposal ship breaking ship naming and launching ship launch ship commissioning keel laying
action filter_type
action union
action find
entity HMCS Okanagan
relation significant event
action find
entity HSwMS Hvalen
relation significant event
type key event
{'OR': [['HMCS Okanagan', 'significant event', {'concept': 'key event'}], ['HSwMS Hvalen', 'significant event', {'concept': 'key event'}]]}
SELECT DISTINCT ?a WHERE { { { resource:HMCS_Okanagan property:significant_event ?a } UNION { resource:HSwMS_Hvalen property:significant_event ?a } } . ?a rdf:type ontology:key_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10513247 Q1349330
P793
Q2245405
USER
How many key events are HSwMS Hvalen and HMS Manligheten associated with ?
(Q10513247,P793,c(Q2245405)) (Q1349330,P793,c(Q2245405))
action count
action intersection
action filter_type
action find
entity Q10513247
relation P793
type Q2245405
action filter_type
action find
entity Q1349330
relation P793
type Q2245405
['Q10513247', 'P793', {'concept': 'Q2245405'}] ['Q1349330', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q10513247 property:P793 ?m . ?m rdf:type ontology:Q2245405 . resource:Q1349330 property:P793 ?m . ?m rdf:type ontology:Q2245405 }
HSwMS Hvalen HMS Manligheten
action count
action intersection
action filter_type
action find
entity HSwMS Hvalen
relation significant event
type key event
action filter_type
action find
entity HMS Manligheten
relation significant event
type key event
['HSwMS Hvalen', 'significant event', {'concept': 'key event'}] ['HMS Manligheten', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:HSwMS_Hvalen property:significant_event ?m . ?m rdf:type ontology:key_event . resource:HMS_Manligheten property:significant_event ?m . ?m rdf:type ontology:key_event }
[]
key event
SYSTEM
2
Q596643 Q7497952
(Q10513247,P793,c(Q2245405)) (Q1349330,P793,c(Q2245405))
action count
action intersection
action filter_type
action find
entity Q10513247
relation P793
type Q2245405
action filter_type
action find
entity Q1349330
relation P793
type Q2245405
[ANSWER]
['Q10513247', 'P793', {'concept': 'Q2245405'}] ['Q1349330', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q10513247 property:P793 ?m . ?m rdf:type ontology:Q2245405 . resource:Q1349330 property:P793 ?m . ?m rdf:type ontology:Q2245405 }
ship naming and launching ship decommissioning
2
action count
action intersection
action filter_type
action find
entity HSwMS Hvalen
relation significant event
type key event
action filter_type
action find
entity HMS Manligheten
relation significant event
type key event
['HSwMS Hvalen', 'significant event', {'concept': 'key event'}] ['HMS Manligheten', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:HSwMS_Hvalen property:significant_event ?m . ?m rdf:type ontology:key_event . resource:HMS_Manligheten property:significant_event ?m . ?m rdf:type ontology:key_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q14713606 Q1144461
P793
Q2235308
USER
How many ship types are ship launch or Japanese Brazilian a significant event of ?
(c(Q2235308),P793,Q14713606) (c(Q2235308),P793,Q1144461)
action count
action union
action filter_type
action find_reverse
entity Q14713606
relation P793
type Q2235308
action filter_type
action find_reverse
entity Q1144461
relation P793
type Q2235308
[{'concept': 'Q2235308'}, 'P793', 'Q14713606'] [{'concept': 'Q2235308'}, 'P793', 'Q1144461']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { VALUES ( ?k ) { ( resource:Q14713606 ) ( resource:Q1144461 ) } . ?u property:P793 ?k }
ship launch Japanese Brazilian
action count
action union
action filter_type
action find_reverse
entity ship launch
relation significant event
type ship type
action filter_type
action find_reverse
entity Japanese Brazilian
relation significant event
type ship type
[{'concept': 'ship type'}, 'significant event', 'ship launch'] [{'concept': 'ship type'}, 'significant event', 'Japanese Brazilian']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { VALUES ( ?k ) { ( resource:ship_launch ) ( resource:Japanese_Brazilian ) } . ?u property:significant_event ?k }
[]
ship type
SYSTEM
310
Q1548116 Q10573209 Q10573204 Q10573200 Q10573202 Q10573203 Q5632224 Q56839 Q21469618 Q49644 Q685612 Q35926 Q5148441 Q16746959 Q2992316 Q4816258 Q10689326 Q5634375 Q5634374 Q5631972 Q5633650 Q3496868 Q14514926 Q46152 Q653860 Q46159 Q21469561 Q31357 Q983141 Q210426 Q506022 Q10659232 Q5631884 Q5630976 Q5630974 Q4795594 Q5634552 Q5384780 Q3273178 Q20010360 Q10404288 Q369987 Q74858 Q3124940 Q18356903 Q10433049 Q16224192 Q671748 Q4708660 Q1141355 Q3782071 Q217132 Q911858 Q2164060 Q10659340 Q7867069 Q18396307 Q1333909 Q115499 Q7867198 Q2713927 Q4357032 Q4352515 Q945284 Q11707025 Q10573179 Q6019761 Q5634154 Q1314702 Q63746 Q21009826 Q20489530 Q968667 Q56702 Q21540251 Q10659318 Q21540255 Q900379 Q461375 Q5634430 Q544894 Q604211 Q3053251 Q1094141 Q3052778 Q7870114 Q10490069 Q11682373 Q19876531 Q268042 Q10573127 Q32770 Q32771 Q3500597 Q11712993 Q2016430 Q7439897 Q7867085 Q659528 Q7086642 Q653477 Q567416 Q5631831 Q556044 Q280710 Q2710477 Q951609 Q5634135 Q7408497 Q4346472 Q17986020 Q946641 Q2491891 Q35462 Q4492725 Q10508448 Q14957244 Q7499755 Q4353793 Q7393161 Q1483548 Q1201408 Q7871815 Q1763878 Q2702575 Q7671686 Q924151 Q13125349 Q2038001 Q478298 Q1538037 Q10474880 Q5632854 Q5632855 Q7120838 Q7873762 Q11765165 Q689766 Q17373505 Q7394162 Q453570 Q10573108 Q117530 Q895164 Q14713882 Q15637940 Q7276486 Q64846 Q205588 Q1431226 Q19654656 Q2000932 Q805686 Q21012190 Q520637 Q16222963 Q220239 Q21012198 Q4653572 Q2296540 Q18086780 Q7868120 Q7393367 Q1017179 Q19799542 Q5631250 Q5632099 Q10659292 Q3275455 Q11795300 Q338340 Q1565214 Q46145 Q710732 Q5631467 Q570007 Q5632310 Q5634380 Q899710 Q644078 Q7867071 Q4283250 Q1645144 Q14493958 Q136137 Q2469350 Q15661350 Q387941 Q918035 Q5634648 Q16958046 Q7276564 Q1376616 Q16829278 Q5631709 Q18213370 Q7867074 Q16224112 Q7391710 Q7393264 Q5632542 Q5632391 Q43495 Q7870032 Q4040081 Q10573163 Q4424465 Q1429444 Q112317 Q658502 Q18128240 Q828458 Q452508 Q935187 Q15708310 Q26972824 Q7874788 Q5635007 Q502630 Q17374114 Q43493 Q828584 Q4040237 Q11706462 Q847672 Q1575297 Q5631303 Q1356922 Q587557 Q21125654 Q5633565 Q1789811 Q671602 Q247904 Q616488 Q5632761 Q10573144 Q10573060 Q682119 Q10573149 Q10542891 Q7866737 Q4052028 Q204342 Q1324771 Q1564260 Q4057871 Q597443 Q1514126 Q274924 Q11860947 Q3935946 Q1327349 Q477173 Q467886 Q1444474 Q2470102 Q190542 Q4357423 Q7393725 Q7871077 Q748913 Q21071073 Q937047 Q5397127 Q15662618 Q18921160 Q2357717 Q1821108 Q5309239 Q2124157 Q1201247 Q7873781 Q171255 Q33209 Q1026780 Q427345 Q2002648 Q1140782 Q6290718 Q129200 Q2280217 Q1595458 Q2596850 Q11706024 Q192381 Q3273204 Q16854668 Q5633432 Q4087991 Q1141754 Q5632896 Q700945 Q320967 Q4352397 Q3125102 Q10573052 Q5633932 Q3601134 Q46138 Q21012607 Q479726 Q312224 Q29717 Q20870260 Q4355076 Q201639 Q2124442 Q3278681 Q2469327
(c(Q2235308),P793,Q14713606) (c(Q2235308),P793,Q1144461)
action count
action union
action filter_type
action find_reverse
entity Q14713606
relation P793
type Q2235308
action filter_type
action find_reverse
entity Q1144461
relation P793
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P793', 'Q14713606'] [{'concept': 'Q2235308'}, 'P793', 'Q1144461']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { VALUES ( ?k ) { ( resource:Q14713606 ) ( resource:Q1144461 ) } . ?u property:P793 ?k }
HMS Dido M/S Östanå I M/S Vånö M/S Vindöga M/S Värmdö M/S Västan HMS Duncan USNS Puerto Rico Mornington France HMS Princess Royal HMS Beagle Colonist S/S Östanå II HSC Condor Rapide Atlantic T56 HMS Somerset HMS Somerset HMS Cornwall HMS Owl SS Sankt Erik HMS Viscount (D92) Abraham Crijnssen USS Dwight D. Eisenhower USCGC Southwind Phoenix Mars MY Sam Simon Japanese cruiser Yūbari USS Arizona S/S Blidösund HMS Circe HMC Valiant HMC Searcher SS Borinquen HMS Sylvia Era No. 5 MSC Preziosa Seven Seas Explorer Albanus USS Enterprise HMS Attacker HMS Aeolus Olga Mærsk Bore FV Empire Fisher Ark Royal Alaskan USS Hornet HMS Bulwark USS George H.W. Bush Endurance HMS Vanguard S/S Storskär USS Advance Russian frigate Admiral Grigorovich HMS Ark Royal SuperStar Aquarius USS Algol SS City of New York HMS Nairana HMS Ambush HMS Rattler HMS Forester (1911) M/S Söderarm Indian HMS S1 USS Truxtun Star Pisces Simon Stevin MS Harmony of the Seas USS Maryland EML Admiral Pitka SS West Riding S/S Norrskär PS Zealous HMS Bounty Charles de Gaulle HMS St Albans Mary Rose USS Philippine Sea Empire Sandy SS City of Milwaukee Petr Velikiy USS Henrico Eugenia USS Grebe SS Claymont Victory Ukrainian submarine Zaporizhzhia M/S Nämdö HNLMS O 19 HNLMS Walrus HMS Daring HMS Cayman SS Ohio Sea Fighter USS Agamenticus SMS Kurfürst Friedrich Wilhelm Olga Mærsk Kasato Maru SMS Brandenburg HMS Chanticleer MS al-Salam Boccaccio 98 HMS Invincible HMS Resolution HMS Emerald HMS Royal William USS America Riachuelo SS Bosnia SS Great Western Japanese battleship Aki RMS Aquitania Friedland Gratitude HDMY Dannebrog Shoalway HMS Albion SS Andrios USS Wasp HMS Iron Duke (1912) USS Milwaukee RMS Empress of Australia Götheborg TSS Hibernia USS Maine Afon Alaw Russian submarine B-585 Saint Petersburg USS Samuel B. Roberts HMS Defence Djurgården 3 HMS Illustrious HMS Illustrious PS Empress Queen USS Salute MS Ondina HMS Bulwark Räddningskryssaren N.A. Båth SS Oriana HMS Bulwark M/S Malmö HMAS Brisbane Bounty HMCS Morden (K170) HMS Lothian RFA Lyme Bay MS Skåne RMS Britannia USS Kitty Hawk HMS Acheron USS Ramage RMS Baltic Henry Nisshin Maru HMS Worcester (D96) HMS Hood Union Island ARA Spiro MS Oranje HDMS Laaland USS Carter Hall SS Chusan SS Burutu HMS Cherokee HMS Alaric HMS Defender SS Mariefred Japanese cruiser Tatsuta Obusier MV Boudicca HMS Queen USS Sennet HMS Glowworm HMS Avon Japanese aircraft carrier Hiryū HMS Enterprise HMS Somerset Victoria Preußen USS Advance Marshal Shaposhnikov HMS Enterprise Mærsk Mc-Kinney Møller Vasilefs Georgios Demologos MS Gällnö Severodvinsk SS Britannia HMS Tireless HMCS Chebogue RFA Wave Ruler SS Norge SAS Charlotte Maxeke HMS Bulwark Anthem of the Seas USS Advance SS Stettin SM UC-4 SS Borussia HMS Gannet HMS Fame HNLMS Jan van Brakel USS Harry L. Glucksman HMS Elizabeth M/S Solöga Smetlivyy HMS Albion HMS Cambrian Ariel MS Quantum of the Seas MS Estonia Japanese aircraft carrier Amagi SS Yarmouth Castle HMS Reunion Champlain (A623) USS Titania HMS Woodcock E-Ship 1 M/S Elfkungen HNLMS Van Amstel Glückauf HMS Somerset Kronprinzessin Cecilie HMS Ark Royal USS Washington (BB-56) HMS Ambush Japanese destroyer Murasame USS Abraham Lincoln TrSS St George HMS Ocelot Kronan USS Maine German submarine U-530 USS Leahy HMS Hercules M/S Roslagen M/S Enköping SMS Fürst Bismarck M/S Sandhamn Kalmarsund VIII USNS Spica (T-AFS-9) German submarine U-361 USS Enterprise SS L'Atlantique HMS Ajax Admiral Panteleyev CSS Alabama MS Marco Polo Russian aircraft carrier Admiral Kuznetsov HMS Cleveland HMAS Choules HMS Tireless Emma Mærsk Amerigo Vespucci HMS Queen Elizabeth USS Mariano G. Vallejo Costa Concordia MS Birger Jarl SS Frontier USS LST-993 USS Harry S. Truman SS Fairview HNLMS Abraham Crijnssen HMS Klas Uggla Djurgården 8 HDMS Lougen HMS York SS Elisabethville HMS Illustrious RFA Fort Victoria HMS Ocean (L12) USS Samuel B. Roberts Cutty Sark Mary Celeste SS California Dingyuan HMS Bridport HMS Illustrious Japanese cruiser Tenryū Liaoning SS Drottningholm RFA Sir Galahad MS Azura SS Empire Adur MS Oasis of the Seas MV Barfleur Mein Schiff 4 HMS Montrose Blanco Encalada HMS Illustrious HMS Iron Duke German submarine U-81 Akagi HMS Artful HMS Seahorse M/S Dalarö HMS Quail ARA Santa Fe USCGC Burton Island Sir Alexander Ball SMS Gefion HMS Endeavour Gerzog Edinburgski D'Entrecasteaux (ship, 2015) HMS Caledon USS Kidd RMS Scythia USS Zumwalt USS Fort Worth
310
action count
action union
action filter_type
action find_reverse
entity ship launch
relation significant event
type ship type
action filter_type
action find_reverse
entity Japanese Brazilian
relation significant event
type ship type
[{'concept': 'ship type'}, 'significant event', 'ship launch'] [{'concept': 'ship type'}, 'significant event', 'Japanese Brazilian']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { VALUES ( ?k ) { ( resource:ship_launch ) ( resource:Japanese_Brazilian ) } . ?u property:significant_event ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1194008
P137
Q781132
USER
Which military branch is the facility operator of Mark 48 torpedo ?
(Q1194008,P137,c(Q781132))
action filter_type
action find
entity Q1194008
relation P137
type Q781132
['Q1194008', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q781132 . resource:Q1194008 property:P137 ?g }
Mark 48 torpedo
action filter_type
action find
entity Mark 48 torpedo
relation operator
type military branch
['Mark 48 torpedo', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:military_branch . resource:Mark_48_torpedo property:operator ?g }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q1194008,P137,c(Q781132))
action filter_type
action find
entity Q1194008
relation P137
type Q781132
And [ANSWER] is the facility operator of Mark 48 torpedo
['Q1194008', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q781132 . resource:Q1194008 property:P137 ?g }
United States Navy
And United States Navy is the facility operator of Mark 48 torpedo
United States Navy
action filter_type
action find
entity Mark 48 torpedo
relation operator
type military branch
['Mark 48 torpedo', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:military_branch . resource:Mark_48_torpedo property:operator ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11706144
Q781132
USER
And also tell me about Dryad-class torpedo gunboat?
(Q11706144,P137,c(Q781132))
action filter_type
action find
entity Q11706144
relation P137
type Q781132
['Q11706144', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?a WHERE { resource:Q11706144 property:P137 ?a . ?a rdf:type ontology:Q781132 }
Dryad-class torpedo gunboat
action filter_type
action find
entity Dryad-class torpedo gunboat
relation operator
type military branch
['Dryad-class torpedo gunboat', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?a WHERE { resource:Dryad-class_torpedo_gunboat property:operator ?a . ?a rdf:type ontology:military_branch }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q11706144,P137,c(Q781132))
action filter_type
action find
entity Q11706144
relation P137
type Q781132
[ANSWER]
['Q11706144', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?a WHERE { resource:Q11706144 property:P137 ?a . ?a rdf:type ontology:Q781132 }
Royal Navy
Royal Navy
action filter_type
action find
entity Dryad-class torpedo gunboat
relation operator
type military branch
['Dryad-class torpedo gunboat', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?a WHERE { resource:Dryad-class_torpedo_gunboat property:operator ?a . ?a rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q172771 Q19319 Q145
P17
Q15617994
USER
Is that military branch located in Acireale and United Kingdom ?
(Q172771,P17,Q19319) (Q172771,P17,Q145)
action is_in
entity Q172771
action intersection
action find_reverse
entity Q19319
relation P17
action find_reverse
entity Q145
relation P17
['Q172771', 'P17', 'Q19319'] ['Q172771', 'P17', 'Q145']
ASK WHERE { resource:Q172771 property:P17 resource:Q145 . resource:Q172771 property:P17 resource:Q19319 }
Royal Navy Acireale United Kingdom
action is_in
entity Royal Navy
action intersection
action find_reverse
entity Acireale
relation country
action find_reverse
entity United Kingdom
relation country
['Royal Navy', 'country', 'Acireale'] ['Royal Navy', 'country', 'United Kingdom']
ASK WHERE { resource:Royal_Navy property:country resource:United_Kingdom . resource:Royal_Navy property:country resource:Acireale }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q172771,P17,Q19319) (Q172771,P17,Q145)
action is_in
entity Q172771
action intersection
action find_reverse
entity Q19319
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q172771', 'P17', 'Q19319'] ['Q172771', 'P17', 'Q145']
ASK WHERE { resource:Q172771 property:P17 resource:Q145 . resource:Q172771 property:P17 resource:Q19319 }
NO and YES respectively
action is_in
entity Royal Navy
action intersection
action find_reverse
entity Acireale
relation country
action find_reverse
entity United Kingdom
relation country
['Royal Navy', 'country', 'Acireale'] ['Royal Navy', 'country', 'United Kingdom']
ASK WHERE { resource:Royal_Navy property:country resource:United_Kingdom . resource:Royal_Navy property:country resource:Acireale }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11713714 Q1349330
P137
Q781132
USER
Which military branches can manage HMS Manligheten or HMS Inman (K571) ?
OR((Q1349330,P137,c(Q781132)), (Q11713714,P137,c(Q781132)))
action filter_type
action union
action find
entity Q1349330
relation P137
action find
entity Q11713714
relation P137
type Q781132
{'OR': [['Q1349330', 'P137', {'concept': 'Q781132'}], ['Q11713714', 'P137', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1349330 property:P137 ?q } UNION { resource:Q11713714 property:P137 ?q } } . ?q rdf:type ontology:Q781132 }
HMS Inman (K571) HMS Manligheten
action filter_type
action union
action find
entity HMS Manligheten
relation operator
action find
entity HMS Inman (K571)
relation operator
type military branch
{'OR': [['HMS Manligheten', 'operator', {'concept': 'military branch'}], ['HMS Inman (K571)', 'operator', {'concept': 'military branch'}]]}
SELECT DISTINCT ?q WHERE { { { resource:HMS_Manligheten property:operator ?q } UNION { resource:HMS_Inman_(K571) property:operator ?q } } . ?q rdf:type ontology:military_branch }
[]
military branch
Q11220 Q1141396 Q172771
SYSTEM
United States Navy, Swedish Navy, Royal Navy
Q11220 Q1141396 Q172771
OR((Q1349330,P137,c(Q781132)), (Q11713714,P137,c(Q781132)))
action filter_type
action union
action find
entity Q1349330
relation P137
action find
entity Q11713714
relation P137
type Q781132
[ANSWERS] can manage HMS Manligheten or HMS Inman (K571)
{'OR': [['Q1349330', 'P137', {'concept': 'Q781132'}], ['Q11713714', 'P137', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1349330 property:P137 ?q } UNION { resource:Q11713714 property:P137 ?q } } . ?q rdf:type ontology:Q781132 }
United States Navy Swedish Navy Royal Navy
United States Navy, Swedish Navy and Royal Navy can manage HMS Manligheten or HMS Inman (K571)
United States Navy Swedish Navy Royal Navy
action filter_type
action union
action find
entity HMS Manligheten
relation operator
action find
entity HMS Inman (K571)
relation operator
type military branch
{'OR': [['HMS Manligheten', 'operator', {'concept': 'military branch'}], ['HMS Inman (K571)', 'operator', {'concept': 'military branch'}]]}
SELECT DISTINCT ?q WHERE { { { resource:HMS_Manligheten property:operator ?q } UNION { resource:HMS_Inman_(K571) property:operator ?q } } . ?q rdf:type ontology:military_branch }
[]