Simple Question (Direct)
Simple Question
Q2124442
P793
Q2245405
USER
Which significant events are RMS Scythia associated with ?
(Q2124442,P793,c(Q2245405))
action filter_type
action find
entity Q2124442
relation P793
type Q2245405
['Q2124442', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ?g WHERE { resource:Q2124442 property:P793 ?g . ?g rdf:type ontology:Q2245405 }
RMS Scythia
action filter_type
action find
entity RMS Scythia
relation significant event
type key event
['RMS Scythia', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ?g WHERE { resource:RMS_Scythia property:significant_event ?g . ?g rdf:type ontology:key_event }
[]
key event
Q1501837 Q14713606 Q336332
SYSTEM
maiden voyage, ship launch, ship breaking
Q1501837 Q14713606 Q336332
(Q2124442,P793,c(Q2245405))
action filter_type
action find
entity Q2124442
relation P793
type Q2245405
RMS Scythia are associated with [ANSWERS]
['Q2124442', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ?g WHERE { resource:Q2124442 property:P793 ?g . ?g rdf:type ontology:Q2245405 }
maiden voyage ship launch ship breaking
RMS Scythia are associated with maiden voyage, ship launch and ship breaking
maiden voyage ship launch ship breaking
action filter_type
action find
entity RMS Scythia
relation significant event
type key event
['RMS Scythia', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ?g WHERE { resource:RMS_Scythia property:significant_event ?g . ?g rdf:type ontology:key_event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1501837 Q14713606 Q336332
P793
Q2235308
USER
Which ship types are maiden voyage, ship launch and ship breaking a significant event of ?
(c(Q2235308),P793,Q1501837) (c(Q2235308),P793,Q14713606) (c(Q2235308),P793,Q336332)
action union
action filter_type
action find_reverse
entity Q1501837
relation P793
type Q2235308
action filter_type
action find_reverse
entity Q14713606
relation P793
type Q2235308
action filter_type
action find_reverse
entity Q336332
relation P793
type Q2235308
[{'concept': 'Q2235308'}, 'P793', 'Q1501837'] [{'concept': 'Q2235308'}, 'P793', 'Q14713606'] [{'concept': 'Q2235308'}, 'P793', 'Q336332']
SELECT DISTINCT ?f WHERE { { ?f property:P793 resource:Q1501837 . ?f rdf:type ontology:Q2235308 } UNION { ?f property:P793 resource:Q14713606 . ?f rdf:type ontology:Q2235308 } }
maiden voyage ship launch ship breaking
action union
action filter_type
action find_reverse
entity maiden voyage
relation significant event
type ship type
action filter_type
action find_reverse
entity ship launch
relation significant event
type ship type
action filter_type
action find_reverse
entity ship breaking
relation significant event
type ship type
[{'concept': 'ship type'}, 'significant event', 'maiden voyage'] [{'concept': 'ship type'}, 'significant event', 'ship launch'] [{'concept': 'ship type'}, 'significant event', 'ship breaking']
SELECT DISTINCT ?f WHERE { { ?f property:significant_event resource:maiden_voyage . ?f rdf:type ontology:ship_type } UNION { ?f property:significant_event resource:ship_launch . ?f rdf:type ontology:ship_type } }
[]
ship type
Q2402934 Q3275455 Q616488
SYSTEM
HMS Bermuda, Japanese cruiser Tatsuta, USS Leahy
Q7394162 Q3053251 Q2124442 Q24027483 Q25173 Q46138 Q35926 Q7393759 Q946641 Q192381 Q805686 Q56839 Q473159 Q2280217 Q18128240 Q741803 Q2713927 Q828584 Q18213370 Q35462 Q2596850 Q1763878 Q644078 Q7393367 Q2470102 Q1026780 Q5631884 Q1575297 Q556044 Q658502 Q4424465 Q4816258 Q1565214 Q14957244 Q5634552 Q5634375 Q5634374 Q2016430 Q20010360 Q5631972 Q74858 Q117530 Q597443 Q10689326 Q17374114 Q7394162 Q3273178 Q10573052 Q7870032 Q10404288 Q26972824 Q5632099 Q3496868 Q1483548 Q2296540 Q14493958 Q3500597 Q3052778 Q2002648 Q5631303 Q10573060 Q21125654 Q274924 Q1821108 Q18356903 Q5632391 Q4040081 Q3275455 Q3053251 Q11706024 Q2124442 Q5632855 Q2702575 Q19876531 Q33209 Q1333909 Q205588 Q1094141 Q49644 Q5148441 Q1514126 Q4492725 Q7391710 Q56702 Q15662618 Q4087991 Q5634430 Q3935946 Q15661350 Q20870260 Q2710477 Q7873762 Q895164 Q171255 Q7393264 Q570007 Q320967 Q14713882 Q4283250 Q5632310 Q11712993 Q4357032 Q11795300 Q2164060 Q14514926 Q911858 Q5632542 Q115499 Q1327349 Q46138 Q18396307 Q3273204 Q1444474 Q10474880 Q10659232 Q616488 Q7276564 Q924151 Q21071073 Q1201247 Q35926 Q4795594 Q11682373 Q15637940 Q10490069 Q16222963 Q217132 Q16854668 Q7439897 Q21469561 Q5634154 Q5630976 Q5630974 Q937047 Q7276486 Q21012190 Q21012198 Q6290718 Q918035 Q5634135 Q946641 Q7393725 Q900379 Q192381 Q10659292 Q3782071 Q129200 Q7393161 Q20489530 Q7499755 Q3125102 Q10573108 Q4708660 Q7871077 Q19799542 Q2992316 Q2038001 Q2469350 Q46159 Q805686 Q5633932 Q1538037 Q16224112 Q5633565 Q11765165 Q4352515 Q7874788 Q5632224 Q479726 Q4057871 Q387941 Q16958046 Q520637 Q4355076 Q56839 Q18921160 Q204342 Q21012607 Q477173 Q748913 Q18086780 Q452508 Q2280217 Q7086642 Q220239 Q1645144 Q653860 Q968667 Q7866737 Q7867071 Q7867074 Q951609 Q4653572 Q5631709 Q3601134 Q685612 Q7867069 Q502630 Q6019761 Q18128240 Q18128240 Q21540255 Q1376616 Q43495 Q43493 Q671602 Q5632761 Q190542 Q7867085 Q7873781 Q5633432 Q31357 Q1314702 Q847672 Q983141 Q5634648 Q3124940 Q10573209 Q10573200 Q10573202 Q10573203 Q21540251 Q112317 Q21009826 Q4352397 Q16746959 Q4353793 Q46145 Q700945 Q11706462 Q21469618 Q46152 Q2491891 Q247904 Q1595458 Q15708310 Q659528 Q7867198 Q10433049 Q7868120 Q1564260 Q210426 Q5633650 Q3278681 Q2469327 Q1141355 Q7671686 Q5397127 Q1789811 Q32770 Q32771 Q312224 Q268042 Q11860947 Q5384780 Q10573179 Q453570 Q5632896 Q682119 Q4357423 Q2357717 Q604211 Q5634380 Q427345 Q201639 Q587557 Q506022 Q10542891 Q544894 Q4346472 Q7870114 Q4040237 Q1431226 Q2713927 Q567416 Q13125349 Q10573127 Q2000932 Q828584 Q18213370 Q671748 Q11707025 Q1429444 Q7120838 Q5632854 Q280710 Q10659340 Q461375 Q5309239 Q1141754 Q899710 Q338340 Q945284 Q689766 Q10573204 Q136137 Q19654656 Q7871815 Q1201408 Q63746 Q828458 Q35462 Q10659318 Q1356922 Q29717 Q369987 Q5631467 Q2596850 Q10573163 Q1763878 Q1548116 Q5631831 Q7408497 Q467886 Q5631250 Q1017179 Q16829278 Q17986020 Q10573144 Q10573149 Q644078 Q16224192 Q1140782 Q935187 Q10508448 Q1324771 Q710732 Q5635007 Q2124157 Q64846 Q17373505 Q4052028 Q478298 Q7393367 Q5631303 Q2258930 Q21125654 Q5632391 Q5633867 Q4040081 Q2124442 Q5632855 Q616488 Q3782071 Q11765165 Q7874788 Q16958046 Q452508 Q951609 Q5631709 Q930632 Q847672 Q16746959 Q7868120 Q2402934 Q2713927 Q945284 Q1763878 Q1548116 Q2092314 Q7393367
(c(Q2235308),P793,Q1501837) (c(Q2235308),P793,Q14713606) (c(Q2235308),P793,Q336332)
action union
action filter_type
action find_reverse
entity Q1501837
relation P793
type Q2235308
action filter_type
action find_reverse
entity Q14713606
relation P793
type Q2235308
action filter_type
action find_reverse
entity Q336332
relation P793
type Q2235308
[ANSWERS] are maiden voyage, ship launch and ship breaking a significant event of
[{'concept': 'Q2235308'}, 'P793', 'Q1501837'] [{'concept': 'Q2235308'}, 'P793', 'Q14713606'] [{'concept': 'Q2235308'}, 'P793', 'Q336332']
SELECT DISTINCT ?f WHERE { { ?f property:P793 resource:Q1501837 . ?f rdf:type ontology:Q2235308 } UNION { ?f property:P793 resource:Q14713606 . ?f rdf:type ontology:Q2235308 } }
SS Oriana Empire Sandy RMS Scythia Edith Eleanor RMS Titanic USCGC Burton Island HMS Beagle SS Gothic SS Great Western MS Oasis of the Seas RMS Baltic USNS Puerto Rico SS President SS Drottningholm MS Quantum of the Seas RMS Mauretania SS City of New York Glückauf Anthem of the Seas RMS Aquitania MS Azura RMS Empress of Australia Preußen SS Chusan USS Mariano G. Vallejo SS California HMS Circe USS Washington (BB-56) MS al-Salam Boccaccio 98 Ariel Smetlivyy Atlantic HMS Queen HDMY Dannebrog HMS Sylvia HMS Somerset HMS Somerset SS Ohio Seven Seas Explorer HMS Cornwall HMS Attacker HMAS Brisbane CSS Alabama T56 M/S Elfkungen SS Oriana MSC Preziosa M/S Dalarö USS Harry L. Glucksman Albanus Champlain (A623) HMS Defender SS Sankt Erik USS Wasp MS Oranje Mærsk Mc-Kinney Møller HMS Daring Petr Velikiy HMS Bridport HMS Ambush M/S Enköping TrSS St George Russian aircraft carrier Admiral Kuznetsov SS Elisabethville Olga Mærsk HMS Fame HMS Elizabeth Japanese cruiser Tatsuta Empire Sandy SS Empire Adur RMS Scythia HMS Illustrious Götheborg SS Claymont Victory Mary Celeste HMS Ark Royal RMS Britannia SS City of Milwaukee France Colonist MS Marco Polo Friedland SM UC-4 EML Admiral Pitka Djurgården 8 Blanco Encalada HMS St Albans HMAS Choules MS Gällnö D'Entrecasteaux (ship, 2015) HMS Resolution USS Salute Bounty Cutty Sark SS Borussia Japanese aircraft carrier Hiryū Akagi HMCS Morden (K170) Marshal Shaposhnikov HMS Enterprise HMS Cayman HMS Nairana Obusier HMS Vanguard HMS Viscount (D92) Endurance HMS Gannet SuperStar Aquarius HMS Tireless USCGC Burton Island Russian frigate Admiral Grigorovich MV Barfleur HMS Queen Elizabeth Djurgården 3 S/S Blidösund USS Leahy RFA Wave Ruler USS Maine SS Fairview HMS Ocean (L12) HMS Beagle SS Borinquen USS Grebe HMS Lothian Eugenia HMS Worcester (D96) USS George H.W. Bush Mein Schiff 4 Sea Fighter Phoenix HMS S1 HMC Valiant HMC Searcher HNLMS Abraham Crijnssen RFA Lyme Bay Henry Union Island Japanese cruiser Tenryū SS Britannia HMS Royal William SS Great Western SS Frontier HMS Bounty MS Oasis of the Seas SS Mariefred HMS Bulwark Liaoning SS Andrios MS Harmony of the Seas Shoalway HMS Seahorse M/S Malmö Alaskan USS LST-993 HMS Cherokee HSC Condor Rapide Russian submarine B-585 Saint Petersburg Demologos USCGC Southwind RMS Baltic HMS Quail HMS Defence SS Stettin HMS Ocelot MS Ondina HMS Ambush USS Titania HMS Duncan SMS Gefion Admiral Panteleyev Severodvinsk HMCS Chebogue Nisshin Maru HMS Caledon USNS Puerto Rico HDMS Lougen USS Enterprise Sir Alexander Ball Emma Mærsk USS Harry S. Truman HDMS Laaland Japanese aircraft carrier Amagi SS Drottningholm Olga Mærsk HMS Hood HMS Enterprise USS Dwight D. Eisenhower USS Maryland USNS Spica (T-AFS-9) USS Advance USS Advance HMS Emerald ARA Spiro HMS Bulwark ARA Santa Fe HMS Princess Royal USS Advance E-Ship 1 Indian MS Quantum of the Seas MS Quantum of the Seas PS Zealous SS Norge HNLMS Jan van Brakel HNLMS Van Amstel USS Maine HMS Hercules Costa Concordia USS Agamenticus USS Samuel B. Roberts HMS Montrose Mars USS Truxtun HMS Ark Royal MY Sam Simon HMS Tireless HMS Aeolus M/S Östanå I M/S Vindöga M/S Värmdö M/S Västan SS West Riding HMS Cambrian Simon Stevin HMS Artful S/S Östanå II HMS Albion USS Sennet German submarine U-81 Kronprinzessin Cecilie Mornington Abraham Crijnssen Japanese battleship Aki German submarine U-530 RFA Sir Galahad HMS Reunion SMS Kurfürst Friedrich Wilhelm USS Algol Bore USS Carter Hall HMS Ajax Japanese cruiser Yūbari HMS Owl USS Zumwalt USS Fort Worth USS Hornet TSS Hibernia HMS Klas Uggla Kronan HNLMS O 19 HNLMS Walrus HMS Endeavour Ukrainian submarine Zaporizhzhia HMS Cleveland Era No. 5 M/S Söderarm HMS Bulwark HMS Iron Duke SMS Fürst Bismarck MS Birger Jarl HMS York USS Philippine Sea HMS Somerset Dingyuan USS Kidd USS Abraham Lincoln USS Arizona Kalmarsund VIII Mary Rose Riachuelo USS Henrico HMS Somerset USS Kitty Hawk SS City of New York SMS Brandenburg Afon Alaw M/S Nämdö USS Ramage Glückauf Anthem of the Seas Ark Royal HMS Forester (1911) HMS Albion PS Empress Queen HMS Illustrious HMS Invincible S/S Storskär Charles de Gaulle HMS Illustrious HMS Illustrious Victoria MV Boudicca HMS Rattler HMS Bulwark M/S Vånö Vasilefs Georgios HMS Acheron USS Milwaukee HMS Iron Duke (1912) Star Pisces MS Estonia RMS Aquitania S/S Norrskär Japanese destroyer Murasame Gerzog Edinburgski USS Enterprise HMS Avon MS Azura M/S Solöga RMS Empress of Australia HMS Dido HMS Chanticleer USS America Amerigo Vespucci HMS Alaric SS Burutu SAS Charlotte Maxeke SS Bosnia M/S Roslagen M/S Sandhamn Preußen FV Empire Fisher HMS Illustrious SS Yarmouth Castle Gratitude SS L'Atlantique HMS Glowworm HMS Woodcock RFA Fort Victoria MS Skåne Räddningskryssaren N.A. Båth German submarine U-361 USS Samuel B. Roberts SS Chusan HMS Ambush HMS Speedy TrSS St George HMS Fame HMS Prince Albert HMS Elizabeth RMS Scythia HMS Illustrious USS Leahy HMS Bulwark MS Ondina USS Titania HMCS Chebogue Japanese aircraft carrier Amagi HMS Emerald HMS Bulwark HMS Shropshire HMS Ark Royal S/S Östanå II USS Carter Hall HMS Bermuda SS City of New York HMS Rattler RMS Empress of Australia HMS Dido HMS Royal Sovereign SS Chusan
HMS Bermuda, Japanese cruiser Tatsuta and USS Leahy are maiden voyage, ship launch and ship breaking a significant event of
HMS Bermuda Japanese cruiser Tatsuta USS Leahy
action union
action filter_type
action find_reverse
entity maiden voyage
relation significant event
type ship type
action filter_type
action find_reverse
entity ship launch
relation significant event
type ship type
action filter_type
action find_reverse
entity ship breaking
relation significant event
type ship type
[{'concept': 'ship type'}, 'significant event', 'maiden voyage'] [{'concept': 'ship type'}, 'significant event', 'ship launch'] [{'concept': 'ship type'}, 'significant event', 'ship breaking']
SELECT DISTINCT ?f WHERE { { ?f property:significant_event resource:maiden_voyage . ?f rdf:type ontology:ship_type } UNION { ?f property:significant_event resource:ship_launch . ?f rdf:type ontology:ship_type } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2402934 Q3275455 Q616488
P137
Q781132
USER
Who operates those ship types ?
(Q2402934,P137,c(Q781132)) (Q3275455,P137,c(Q781132)) (Q616488,P137,c(Q781132))
action filter_type
action find
entity prev_answer
relation P137
type Q781132
['Q2402934', 'P137', {'concept': 'Q781132'}] ['Q3275455', 'P137', {'concept': 'Q781132'}] ['Q616488', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q781132 . VALUES ( ?c ) { ( resource:Q7394162 ) ( resource:Q3053251 ) ( resource:Q2124442 ) } . ?c property:P137 ?b }
HMS Bermuda Japanese cruiser Tatsuta USS Leahy
action filter_type
action find
entity prev_answer
relation operator
type military branch
['HMS Bermuda', 'operator', {'concept': 'military branch'}] ['Japanese cruiser Tatsuta', 'operator', {'concept': 'military branch'}] ['USS Leahy', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:military_branch . VALUES ( ?c ) { ( resource:SS_Oriana ) ( resource:Empire_Sandy ) ( resource:RMS_Scythia ) } . ?c property:operator ?b }
[]
military branch
Q11220 Q11220 Q172771
SYSTEM
United States Navy for 1st, 2nd, Royal Navy for 3rd
Q172771 Q219712 Q11220 Q11220
(Q2402934,P137,c(Q781132)) (Q3275455,P137,c(Q781132)) (Q616488,P137,c(Q781132))
action filter_type
action find
entity prev_answer
relation P137
type Q781132
[ANSWERS]
['Q2402934', 'P137', {'concept': 'Q781132'}] ['Q3275455', 'P137', {'concept': 'Q781132'}] ['Q616488', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q781132 . VALUES ( ?c ) { ( resource:Q7394162 ) ( resource:Q3053251 ) ( resource:Q2124442 ) } . ?c property:P137 ?b }
Royal Navy Imperial Japanese Navy United States Navy United States Navy
United States Navy, United States Navy and Royal Navy operate those ship types
United States Navy United States Navy Royal Navy
action filter_type
action find
entity prev_answer
relation operator
type military branch
['HMS Bermuda', 'operator', {'concept': 'military branch'}] ['Japanese cruiser Tatsuta', 'operator', {'concept': 'military branch'}] ['USS Leahy', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:military_branch . VALUES ( ?c ) { ( resource:SS_Oriana ) ( resource:Empire_Sandy ) ( resource:RMS_Scythia ) } . ?c property:operator ?b }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11220
P355
Q176799
USER
Which military unit is a subordinate of that military branch ?
(Q11220,P355,c(Q176799))
action filter_type
action find
entity Q11220
relation P355
type Q176799
['Q11220', 'P355', {'concept': 'Q176799'}]
SELECT DISTINCT ?m WHERE { resource:Q11220 property:P355 ?m . ?m rdf:type ontology:Q176799 }
United States Navy
action filter_type
action find
entity United States Navy
relation subsidiary
type military unit
['United States Navy', 'subsidiary', {'concept': 'military unit'}]
SELECT DISTINCT ?m WHERE { resource:United_States_Navy property:subsidiary ?m . ?m rdf:type ontology:military_unit }
[]
military unit
Clarification for simple ques.
Q172771
SYSTEM
Did you mean Royal Navy ?
Q11220 Q11220 Q172771
(Q11220,P355,c(Q176799)) (Q11220,P355,c(Q176799)) (Q172771,P355,c(Q176799))
[ANSWER]
['Q11220', 'P355', {'concept': 'Q176799'}] ['Q11220', 'P355', {'concept': 'Q176799'}] ['Q172771', 'P355', {'concept': 'Q176799'}]
SELECT DISTINCT ?m WHERE { resource:Q11220 property:P355 ?m . ?m rdf:type ontology:Q176799 }
United States Navy United States Navy Royal Navy
Did you mean Royal Navy ?
Royal Navy
['United States Navy', 'subsidiary', {'concept': 'military unit'}] ['United States Navy', 'subsidiary', {'concept': 'military unit'}] ['Royal Navy', 'subsidiary', {'concept': 'military unit'}]
SELECT DISTINCT ?m WHERE { resource:United_States_Navy property:subsidiary ?m . ?m rdf:type ontology:military_unit }
[]
Simple Question (Coreferenced)
USER
No, I meant United States Navy. Could you tell me the answer for that?
(Q11220,P355,c(Q176799))
Q11220
['Q11220', 'P355', {'concept': 'Q176799'}]
['United States Navy', 'subsidiary', {'concept': 'military unit'}]
[]
Q2178162
SYSTEM
United States Navy Nurse Corps
Q2178162
(Q11220,P355,c(Q176799))
action filter_type
action find
entity Q11220
relation P355
type Q176799
[ANSWER] is a subordinate of that military branch
['Q11220', 'P355', {'concept': 'Q176799'}]
SELECT DISTINCT ?m WHERE { resource:Q11220 property:P355 ?m . ?m rdf:type ontology:Q176799 }
United States Navy Nurse Corps
United States Navy Nurse Corps is a subordinate of that military branch
United States Navy Nurse Corps
action filter_type
action find
entity United States Navy
relation subsidiary
type military unit
['United States Navy', 'subsidiary', {'concept': 'military unit'}]
SELECT DISTINCT ?m WHERE { resource:United_States_Navy property:subsidiary ?m . ?m rdf:type ontology:military_unit }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2402934 Q937707
P137
Q15617994
USER
How many administrative territories manages HMS Bermuda or Citation I ?
(Q2402934,P137,c(Q15617994)) (Q937707,P137,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2402934
relation P137
type Q15617994
action filter_type
action find
entity Q937707
relation P137
type Q15617994
['Q2402934', 'P137', {'concept': 'Q15617994'}] ['Q937707', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { resource:Q2402934 property:P137 ?i . ?i rdf:type ontology:Q15617994 } UNION { resource:Q937707 property:P137 ?i . ?i rdf:type ontology:Q15617994 } }
HMS Bermuda Citation I
action count
action union
action filter_type
action find
entity HMS Bermuda
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Citation I
relation operator
type designation for an administrative territorial entity
['HMS Bermuda', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Citation I', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { resource:HMS_Bermuda property:operator ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Citation_I property:operator ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q225 Q414
(Q2402934,P137,c(Q15617994)) (Q937707,P137,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2402934
relation P137
type Q15617994
action filter_type
action find
entity Q937707
relation P137
type Q15617994
[ANSWER]
['Q2402934', 'P137', {'concept': 'Q15617994'}] ['Q937707', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { resource:Q2402934 property:P137 ?i . ?i rdf:type ontology:Q15617994 } UNION { resource:Q937707 property:P137 ?i . ?i rdf:type ontology:Q15617994 } }
Bosnia and Herzegovina Argentina
2
action count
action union
action filter_type
action find
entity HMS Bermuda
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Citation I
relation operator
type designation for an administrative territorial entity
['HMS Bermuda', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Citation I', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { resource:HMS_Bermuda property:operator ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Citation_I property:operator ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6779220 Q616488
P19 P504
Q56061
USER
Which administrative territories serve the home port of USS Leahy or were Mary Clancy born ?
OR((Q616488,P504,c(Q56061)), (Q6779220,P19,c(Q56061)))
action filter_type
action union
action find
entity Q616488
relation P504
action find
entity Q6779220
relation P19
type Q56061
{'OR': [['Q616488', 'P504', {'concept': 'Q56061'}], ['Q6779220', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q6779220 property:P19 ?u } UNION { resource:Q616488 property:P504 ?u } } . ?u rdf:type ontology:Q56061 }
Mary Clancy USS Leahy
action filter_type
action union
action find
entity USS Leahy
relation home port
action find
entity Mary Clancy
relation place of birth
type administrative territorial entity
{'OR': [['USS Leahy', 'home port', {'concept': 'administrative territorial entity'}], ['Mary Clancy', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Mary_Clancy property:place_of_birth ?u } UNION { resource:USS_Leahy property:home_port ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q47716 Q100 Q3246744
SYSTEM
Charleston, Boston, Halifax
Q47716 Q100 Q3246744
OR((Q616488,P504,c(Q56061)), (Q6779220,P19,c(Q56061)))
action filter_type
action union
action find
entity Q616488
relation P504
action find
entity Q6779220
relation P19
type Q56061
[ANSWERS] serve the home port of USS Leahy or were Mary Clancy born
{'OR': [['Q616488', 'P504', {'concept': 'Q56061'}], ['Q6779220', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q6779220 property:P19 ?u } UNION { resource:Q616488 property:P504 ?u } } . ?u rdf:type ontology:Q56061 }
Charleston Boston Halifax
Charleston, Boston and Halifax serve the home port of USS Leahy or were Mary Clancy born
Charleston Boston Halifax
action filter_type
action union
action find
entity USS Leahy
relation home port
action find
entity Mary Clancy
relation place of birth
type administrative territorial entity
{'OR': [['USS Leahy', 'home port', {'concept': 'administrative territorial entity'}], ['Mary Clancy', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Mary_Clancy property:place_of_birth ?u } UNION { resource:USS_Leahy property:home_port ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]