Simple Question (Direct)
Simple Question
Q4911428
P69
Q1935049
USER
Which military school is the alma mater of Bill Wratten ?
(Q4911428,P69,c(Q1935049))
action filter_type
action find
entity Q4911428
relation P69
type Q1935049
['Q4911428', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?q WHERE { resource:Q4911428 property:P69 ?q . ?q rdf:type ontology:Q1935049 }
Bill Wratten
action filter_type
action find
entity Bill Wratten
relation educated at
type military school
['Bill Wratten', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?q WHERE { resource:Bill_Wratten property:educated_at ?q . ?q rdf:type ontology:military_school }
[]
military school
Q7373601
SYSTEM
Royal Air Force College Cranwell
Q7373601
(Q4911428,P69,c(Q1935049))
action filter_type
action find
entity Q4911428
relation P69
type Q1935049
[ANSWER] is the alma mater of Bill Wratten
['Q4911428', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?q WHERE { resource:Q4911428 property:P69 ?q . ?q rdf:type ontology:Q1935049 }
Royal Air Force College Cranwell
Royal Air Force College Cranwell is the alma mater of Bill Wratten
Royal Air Force College Cranwell
action filter_type
action find
entity Bill Wratten
relation educated at
type military school
['Bill Wratten', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?q WHERE { resource:Bill_Wratten property:educated_at ?q . ?q rdf:type ontology:military_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4911428
P607
Q350604
USER
What was the armed conflict that Bill Wratten took part in
(Q4911428,P607,c(Q350604))
action filter_type
action find
entity Q4911428
relation P607
type Q350604
['Q4911428', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q350604 . resource:Q4911428 property:P607 ?e }
Bill Wratten
action filter_type
action find
entity Bill Wratten
relation conflict
type armed conflict
['Bill Wratten', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:armed_conflict . resource:Bill_Wratten property:conflict ?e }
[]
armed conflict
Q37643
SYSTEM
Gulf War
Q37643
(Q4911428,P607,c(Q350604))
action filter_type
action find
entity Q4911428
relation P607
type Q350604
The armed conflict that Bill Wratten took part in was the [ANSWER]
['Q4911428', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q350604 . resource:Q4911428 property:P607 ?e }
Gulf War
The armed conflict that Bill Wratten took part in was the Gulf War
Gulf War
action filter_type
action find
entity Bill Wratten
relation conflict
type armed conflict
['Bill Wratten', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:armed_conflict . resource:Bill_Wratten property:conflict ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q542058
Q350604
USER
And also tell me about Grant Williams?
(Q542058,P607,c(Q350604))
action filter_type
action find
entity Q542058
relation P607
type Q350604
['Q542058', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?s WHERE { resource:Q542058 property:P607 ?s . ?s rdf:type ontology:Q350604 }
Grant Williams
action filter_type
action find
entity Grant Williams
relation conflict
type armed conflict
['Grant Williams', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?s WHERE { resource:Grant_Williams property:conflict ?s . ?s rdf:type ontology:armed_conflict }
[]
armed conflict
Q8663
SYSTEM
Korean War
Q8663
(Q542058,P607,c(Q350604))
action filter_type
action find
entity Q542058
relation P607
type Q350604
[ANSWER]
['Q542058', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?s WHERE { resource:Q542058 property:P607 ?s . ?s rdf:type ontology:Q350604 }
Korean War
Korean War
action filter_type
action find
entity Grant Williams
relation conflict
type armed conflict
['Grant Williams', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?s WHERE { resource:Grant_Williams property:conflict ?s . ?s rdf:type ontology:armed_conflict }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q617070
P361
Q1914636 Q49447 Q350604
USER
Which armed conflicts are a part of around the same number of activities and world views as First Anglo-Mysore War ?
(c(Q350604),P361,c(Q1914636)|c(Q49447))
action approx
action union
action find_tuple_counts
relation P361
type Q350604
type Q1914636
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q617070
relation P361
type Q1914636
type Q49447
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { { ?v rdf:type ontology:Q1914636 } UNION { ?v rdf:type ontology:Q49447 } } . resource:Q617070 property:P361 ?v } } . FILTER ( ?b = ?h ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?b ) WHERE { { ?c property:P361 ?k . ?c rdf:type ontology:Q350604 . ?k rdf:type ontology:Q1914636 } UNION { ?c property:P361 ?k . ?c rdf:type ontology:Q350604 . ?k rdf:type ontology:Q49447 } } GROUP BY ?c } }
First Anglo-Mysore War
action approx
action union
action find_tuple_counts
relation part of
type armed conflict
type activity
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity First Anglo-Mysore War
relation part of
type activity
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'activity'}, {'concept': 'world view'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { { ?v rdf:type ontology:activity } UNION { ?v rdf:type ontology:world_view } } . resource:First_Anglo-Mysore_War property:part_of ?v } } . FILTER ( ?b = ?h ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?b ) WHERE { { ?c property:part_of ?k . ?c rdf:type ontology:armed_conflict . ?k rdf:type ontology:activity } UNION { ?c property:part_of ?k . ?c rdf:type ontology:armed_conflict . ?k rdf:type ontology:world_view } } GROUP BY ?c } }
[]
activity world view armed conflict
Q154697 Q19686631 Q168442
SYSTEM
French and Indian War, Yemeni Civil War, Anglo-Spanish War (1625–1630)
Q5168559 Q1044829 Q184425 Q1305130 Q196409 Q3778613 Q68969 Q154940 Q3778618 Q699511 Q5557072 Q190029 Q6334 Q2373506 Q1968528 Q2259304 Q381375 Q49077 Q430053 Q122100 Q18920712 Q976827 Q63863 Q4200795 Q620735 Q7572892 Q75665 Q2652686 Q58947 Q49097 Q260684 Q134949 Q989092 Q617350 Q4065191 Q249232 Q1186260 Q552373 Q817206 Q252298 Q2060306 Q317519 Q550172 Q8740 Q21693680 Q181533 Q18586347 Q4072719 Q1418062 Q233642 Q2576016 Q233663 Q2667645 Q553184 Q23403028 Q617070 Q2602070 Q6192082 Q199955 Q3540197 Q170314 Q616846 Q631163 Q1672808 Q8064768 Q690361 Q6286 Q1362162 Q1851858 Q178687 Q1072042 Q1355145 Q2471586 Q12583 Q17324420 Q16933898 Q322607 Q3042463 Q3984895 Q11942758 Q1249270 Q17126147 Q1891008 Q748780 Q559181 Q404517 Q19686631 Q617782 Q6271 Q2915510 Q418151 Q4122579 Q179250 Q1429256 Q233702 Q631799 Q2487361 Q3242848 Q598774 Q1967193 Q76118 Q75626 Q16335075 Q34103 Q5555632 Q189266 Q2523742 Q7210108 Q80330 Q372330 Q1249250 Q372338 Q83085 Q154697 Q5452958 Q400465 Q2985977 Q233553 Q8628 Q1074467 Q431001 Q34145 Q877450 Q182865 Q207318 Q120843 Q6254 Q12846172 Q644589 Q4207617 Q6744162 Q3042457 Q168442 Q2075775 Q74109 Q329203 Q177918 Q29269 Q170682 Q26749 Q288251 Q1669192 Q524272 Q553157 Q936803 Q1262084 Q21900262 Q1757301 Q49100 Q15542964 Q151622
(c(Q350604),P361,c(Q1914636)|c(Q49447))
action approx
action union
action find_tuple_counts
relation P361
type Q350604
type Q1914636
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q617070
relation P361
type Q1914636
type Q49447
[ANSWERS] are a part of around the same number of activities and world views as First Anglo-Mysore War
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { { ?v rdf:type ontology:Q1914636 } UNION { ?v rdf:type ontology:Q49447 } } . resource:Q617070 property:P361 ?v } } . FILTER ( ?b = ?h ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?b ) WHERE { { ?c property:P361 ?k . ?c rdf:type ontology:Q350604 . ?k rdf:type ontology:Q1914636 } UNION { ?c property:P361 ?k . ?c rdf:type ontology:Q350604 . ?k rdf:type ontology:Q49447 } } GROUP BY ?c } }
Cophen Campaign Polish–Muscovite War Pacific War War of Saint Sabas Livonian Crusade Caroline War Croatian War of Independence Lapland War Lancastrian War Campaigns of 1796 in the French Revolutionary Wars Ghost Dance War Kosovo War Third Punic War Polish–Swedish War (1617-18) Operation Black Buck Hundred Years' War Nagorno-Karabakh War Six-Day War Great Sioux War of 1876 Continuation War War in Afghanistan Carnatic Wars Operation Focus Indian campaign of Alexander the Great Russo-Georgian War Spain in the American Revolutionary War Second Macedonian War Kachin conflict War of the Triple Alliance 1948 Palestine war Alexander's Balkan campaign Winter War First Anglo-Afghan War Third Anglo-Mysore War Anglo-Spanish War (1796–1808) War of the Third Coalition Creek War Fourth Macedonian War Cambodian Civil War Hungarian–Romanian war of 1919 Red Cloud's War Muslim conquest of Egypt War of the Breton Succession Vietnam War conflict between Unitarians and Federalists in the Argentine Civil Wars Bosnian War First Soviet-Finnish War Afghanistan–Pakistan skirmishes Fourth Syrian War (219–217 BCE) Second Anglo-Maratha War Anastasian War Second Anglo-Mysore War Mongol invasion of Poland Gaza–Israel conflict Hīt offensive First Anglo-Mysore War Colorado War Jicarilla War Hundred Days Third English Civil War Second Sino-Japanese War Anglo-Spanish War (1762–1763) Deluge Irish Confederate Wars Zaian War Long War First Punic War First Carnatic War Dakota War of 1862 First Sino-Japanese War War in Somalia (2006-2009) Italian War of 1494–1498 Pomeranian War Spanish–American War 2014 Israel–Gaza conflict Normandy campaigns of 1200–1204 War of Attrition Uruguayan War Third Messenian War Ethiopian-Somali border conflict Third Sacred War Arab–Israeli wars Sand War First Indochina War First Silesian War Kargil War Yemeni Civil War Fourth Anglo-Mysore War Second Punic War 2009 Sudan airstrikes Second Opium War Arikara War French invasion of Russia War of the League of Cognac Second Silesian War Russo-Turkish War Frans van Brederode's rebellion of 1488–1490 First War of Scottish Independence Polish–Swedish War (1600–11) Second conflict in the Goryeo–Khitan War Third Macedonian War First Macedonian War War in Donbass Second Syrian War (260–253 BCE) First Messenian War Eastern Front Fourth French War of Religion Polish–Swedish War (1621–25) English Civil War Fifth Syrian War (202–195 BCE) First Sacred War Sixth Syrian War (170–168 BCE) Soviet–Afghan War French and Indian War First English Civil War, 1642 Little War Polish–Swedish War (1626–29) Second Sacred War War in the Vendée War of Chioggia Spanish–Portuguese War Third Syrian War (246–241 BCE) Laotian Civil War War in Afghanistan French Revolutionary Wars Second Chechen War Kitos War Safavid-Ottoman War (1616-1618) Toyota War Balkan campaign of 1529 Mallian Campaign Platine War Anglo-Spanish War (1625–1630) Second Messenian War Albanian resistance during World War II First Boer War First Balkan War First Chechen War Gaza War War of the Second Coalition Cisplatine War Fourth Sacred War South-East Asian theatre of World War II Romania during World War I First Syrian War (274–271 BCE) Djiboutian Civil War Bombing of Miskolc submarine warfare Yom Kippur War Italian War of 1542–46 Israeli–Palestinian conflict
French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630) are a part of around the same number of activities and world views as First Anglo-Mysore War
French and Indian War Yemeni Civil War Anglo-Spanish War (1625–1630)
action approx
action union
action find_tuple_counts
relation part of
type armed conflict
type activity
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity First Anglo-Mysore War
relation part of
type activity
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'activity'}, {'concept': 'world view'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { { ?v rdf:type ontology:activity } UNION { ?v rdf:type ontology:world_view } } . resource:First_Anglo-Mysore_War property:part_of ?v } } . FILTER ( ?b = ?h ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?b ) WHERE { { ?c property:part_of ?k . ?c rdf:type ontology:armed_conflict . ?k rdf:type ontology:activity } UNION { ?c property:part_of ?k . ?c rdf:type ontology:armed_conflict . ?k rdf:type ontology:world_view } } GROUP BY ?c } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P710
Q502895
USER
How many people attended that armed conflict ?
(Q19686631,P710,c(Q502895))
['Q19686631', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19686631 property:P710 ?z . ?z rdf:type ontology:Q502895 }
['Yemeni Civil War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Yemeni_Civil_War property:participant ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q154697
SYSTEM
Did you mean French and Indian War ?
(Q154697,P710,c(Q502895)) (Q19686631,P710,c(Q502895)) (Q168442,P710,c(Q502895))
[ANSWER]
['Q154697', 'P710', {'concept': 'Q502895'}] ['Q19686631', 'P710', {'concept': 'Q502895'}] ['Q168442', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19686631 property:P710 ?z . ?z rdf:type ontology:Q502895 }
Did you mean French and Indian War ?
French and Indian War
['French and Indian War', 'participant', {'concept': 'common name'}] ['Yemeni Civil War', 'participant', {'concept': 'common name'}] ['Anglo-Spanish War (1625–1630)', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Yemeni_Civil_War property:participant ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Yemeni Civil War. Could you tell me the answer for that?
(Q19686631,P710,c(Q502895))
Q19686631
['Q19686631', 'P710', {'concept': 'Q502895'}]
['Yemeni Civil War', 'participant', {'concept': 'common name'}]
[]
SYSTEM
13
Q20047030 Q20047019 Q6399485 Q57480 Q483672 Q19673630 Q19894678 Q2558262 Q19726748 Q21680111 Q20385277 Q19006319 Q979788
(Q19686631,P710,c(Q502895))
[ANSWER]
['Q19686631', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19686631 property:P710 ?z . ?z rdf:type ontology:Q502895 }
Ali Nasser Hadi Ahmed Ali Salem Bahaj Khalid Bahah Abdrabbuh Mansour Hadi Ali Abdullah Saleh Mahmoud al-Subaihi Abdul-Hafez al-Saqqaf Abdul-Malik al-Houthi Hussein Khairan Nayef al-Bakri Ahmad Asiri Mohammed Ali al-Houthi Ali Mohsen Al-Ahmar
13
['Yemeni Civil War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Yemeni_Civil_War property:participant ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q350604 Q178561
USER
Which battles are a component of atmost 1 armed conflict ?
(c(Q178561),P361,c(Q350604))
action atmost
action find_tuple_counts
relation P361
type Q178561
type Q350604
value 1
[{'concept': 'Q178561'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?r ) WHERE { ?p property:P361 ?n . ?p rdf:type ontology:Q178561 . ?n rdf:type ontology:Q350604 } GROUP BY ?p } . FILTER ( ?r <= 1 ) }
action atmost
action find_tuple_counts
relation part of
type battle
type armed conflict
value 1
[{'concept': 'battle'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?r ) WHERE { ?p property:part_of ?n . ?p rdf:type ontology:battle . ?n rdf:type ontology:armed_conflict } GROUP BY ?p } . FILTER ( ?r <= 1 ) }
[]
armed conflict battle
Q157627 Q957491 Q160387
SYSTEM
Battle of the Atlantic, Singeing the King of Spain's Beard, Battle of Actium
Q1984410 Q4677365 Q871617 Q2888502 Q2984988 Q734934 Q18148113 Q4870826 Q2890888 Q4872996 Q4870470 Q2890877 Q165425 Q2888498 Q2890640 Q6881 Q156554 Q2013772 Q207165 Q13414922 Q1541340 Q2092338 Q1389655 Q241110 Q667179 Q3062432 Q3379096 Q1278576 Q1795012 Q696438 Q19870576 Q679831 Q4870677 Q4927230 Q2562509 Q577081 Q3606777 Q3284956 Q4873063 Q700864 Q1778176 Q277345 Q3822486 Q4871836 Q518005 Q4872056 Q4871774 Q2351714 Q2657479 Q944506 Q1054975 Q1343040 Q902181 Q145934 Q2114424 Q696607 Q331740 Q2473448 Q2063617 Q2064362 Q4677353 Q18326240 Q3432591 Q4872106 Q338370 Q233430 Q2589203 Q2127400 Q2236812 Q4872378 Q178850 Q160387 Q713529 Q3636368 Q3439306 Q4677371 Q178912 Q4677411 Q6065903 Q2889681 Q21070658 Q1001479 Q2336452 Q1814863 Q1953346 Q15076387 Q2984958 Q3090819 Q157627 Q2578358 Q73194 Q24204942 Q243709 Q7283750 Q2293284 Q432515 Q766015 Q7510095 Q3378627 Q968676 Q2887830 Q1196554 Q2286942 Q19895511 Q5504481 Q5470224 Q19871523 Q2364944 Q835077 Q1636800 Q544090 Q699411 Q1781080 Q19871866 Q4872926 Q1083872 Q160011 Q4872923 Q263142 Q2890865 Q4677312 Q19873489 Q7311095 Q4090280 Q957491 Q2578430 Q20036668 Q4340192 Q677660 Q3403845 Q19865266 Q7509956 Q1325495 Q2003416 Q15048733 Q5037004 Q610242 Q2657874 Q1668495 Q1034037 Q645723 Q263245 Q1814482 Q1432659 Q515168 Q2266114 Q1475679 Q696815 Q238440 Q15262148 Q7443113 Q702255 Q2386251 Q4871029 Q2601178 Q3796996 Q1814494 Q7283740 Q2624708 Q2553656 Q11688129 Q4870215 Q1134649 Q18207868 Q2724014 Q16058055 Q1844815 Q208127 Q4677338 Q58459 Q2984990 Q2431866 Q4677298 Q701908 Q4697761 Q548819 Q5977822 Q784397 Q2053006 Q2237192 Q751452 Q2890861 Q4438427 Q5452541 Q2597051 Q1362057 Q1291963 Q4872247 Q10130 Q3270927 Q702096 Q4872078 Q715886 Q4677225 Q590014 Q4677281 Q742187
(c(Q178561),P361,c(Q350604))
action atmost
action find_tuple_counts
relation P361
type Q178561
type Q350604
value 1
Battle of the Atlantic, singeing the King of Spain's Beard and Battle of Actium are a component of atmost 1 armed conflict
[{'concept': 'Q178561'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?r ) WHERE { ?p property:P361 ?n . ?p rdf:type ontology:Q178561 . ?n rdf:type ontology:Q350604 } GROUP BY ?p } . FILTER ( ?r <= 1 ) }
Banja Luka incident Action of 4 August 1800 Operation Albion Battle of Flamborough Head Battle of Cap de la Roque Four Days' Battle Action of 13 August 1780 Battle of Cádiz Battle of the Malta Convoy Battle of the Port of Carthage Battle of Berlengas Islands Battle of Cape Espartel Battle of Lepanto Battle of Møn Battle of Albrolhos Battle of Cape Ecnomus Battle of Jutland Battle of Dogger Bank Battle of the Coral Sea Raid on Boulogne Battle of Cape Spartivento Battle of Swally Capture of the Rosily Squadron Battle of Cape Passaro Battle of Gibraltar (1607) Hudson Bay expedition Battle of Grönvikssund Battle of the Masts Battle of Getaria Naval Battle of Guadalcanal Action of 24 June 1795 Battle of Flushing Battle of Castlehaven Blockade of Saint-Domingue Battle of Fuzhou Battle of Camperdown Action of 22 July 1713 Hundimiento del Belgrano Battle off Cape Palos Zeebrugge Raid Battle of Antivari Battle of Mylae Battle of Carteia Battle of Más a Tierra battle of La Rochelle Battle of Pirano Battle of Monte Santiago Battle of Zonchio raid on Scarborough, Hartlepool and Whitby St. James's Day Battle Battle of Preveza First Battle of Ushant Battle of Cape Ortegal English Armada Battle of Sluis Battle of the Denmark Strait Raid on the Medway Battle of Lissa Battle of the Gabbard Battle of Texel Action of 31 May 1809 Battle of the Bay of Biscay Battle of Zealand Point Battle of Preveza Battle of Grengam Second Battle of Cape Finisterre Battle off Lizard Point Siege of Massilia Battle of Riachuelo Battle of Silda Battle of Salamis Battle of Actium Battle of the River Plate Capo d'Orlando battle 1992 Yugoslav People's Army column incident in Sarajevo Action of 4 May 1917 Battle of Cape St. Vincent Action off Lerwick Siege of Curupaiti Battle of Sapienza Battle of Anguilla Battle of Cape Finisterre Battle of Odessa Battle of Stromboli Battle of Cape Rachado Skirmish at Joncherey Action of 23 April 1794 Battle of Dover Strait Battle of the Atlantic Battle of Ushant (1781) Battle of Dogger Bank Battle of Wilton Second Battle of Sirte Raid on Le Havre Battle of Alborán Algeciras Campaign Battle of Dover Strait Siege of Humaitá Battle of Sandöström Battle of Dan-no-ura Battle of Alvøen Battle of Minorca Battle of Ebro River Battle of Jobourg Frigate action of 29 May 1794 Formosa Air Battle Action of 24 March 1811 Battle of Cherbourg Battle of Vistula Lagoon Battle of Cape Spada Battle of Cape Matapan Battle of the Barents Sea Battle of Cape Spartel Battle of Cape Finisterre Battle of the Gulf of Naples Glorious First of June Battle of the Falkland Islands Battle of the Gulf of Oman Battle of the Java Sea Battle of Gibraltar (1621) Action of 24 October 1793 Raid on Genoa Relief of Genoa Battle of Ushant (1782) Singeing the King of Spain's Beard Battle of Svensksund Action of 30 June 1798 Cornwallis's Retreat Battle of Heligoland Bight (1914) Capture of San Pietro and Sant'Antioco Battle of Edgar's Lane Invasion of Curaçao Battle of Santa Cruz de Tenerife Battle of Portland Assault on the battleships Cabral and Lima Barros Capture of Demerara and Essequibo Battle of Rennell Island Battle of Hogland Battle of Kolombangara Battle of the Strait of Otranto Battle of Ösel Island Bombardment of Yarmouth and Lowestoft Battle of Elba Battle of the Lipari Islands Battle off Horaniu Battle of Lyngør Battle of Tassafaronga Battle of Heligoland (1864) Battle of Navarino Newfoundland expedition Second Battle of San Juan Battle of the Gulf of Riga Battle on the Zuiderzee Battle of Flores Battle of Negapatam SMS Viribus Unitis#Italian sabotage and sinking Battle of the Kentish Knock Raid on Dunkirk Battle of Lilybaeum Battle of the Tarigo Convoy Battle of Pula Battle of Ad-Dawrah Battle of the Aegates Islands Ambush of the steamboat J. R. Williams Battle of Texel Action of 28 June 1803 Battle of Dynekilen Battle of Tsushima Action of 2 March 1808 Battle between HMAS Sydney and German auxiliary cruiser Kormoran Action of 14 February 1795 Battle of Zierikzee Action of 22 August 1795 Naval Battle of Vella Lavella Air Battle of South Korea Battle of the Komandorski Islands Newfoundland expedition Battle of the Paracel Islands pursuit of Goeben and Breslau Battle of Moon Sound 1992 Yugoslav People's Army column incident in Tuzla Battle of Cape St. Vincent Battle of Tendra First Battle of Tripoli Harbor Battle of Blackett Strait First battle of Schooneveld Battle of Lake Poyang Battle of Saltholm Operation Harpoon Battle of Ushant (1944) Battle of Kula Gulf Battle of Ponza Battle of the North Cape Action of 10 February 1809 Battle of Drepana Action of 18 November 1809 Battle of Hyères Islands
Battle of the Atlantic, singeing the King of Spain's Beard and Battle of Actium are a component of atmost 1 armed conflict
Battle of the Atlantic Singeing the King of Spain's Beard Battle of Actium
action atmost
action find_tuple_counts
relation part of
type battle
type armed conflict
value 1
[{'concept': 'battle'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?r ) WHERE { ?p property:part_of ?n . ?p rdf:type ontology:battle . ?n rdf:type ontology:armed_conflict } GROUP BY ?p } . FILTER ( ?r <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q315921
P361
Q1190554 Q178561
USER
Which events are around the same number of battles a portion of as Thirteen Years' War ?
(c(Q178561),P361,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q178561
action count
action filter_type
action find
entity Q315921
relation P361
type Q1190554
[{'concept': 'Q178561'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P361 ?h . ?h rdf:type ontology:Q1190554 . ?c rdf:type ontology:Q178561 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q315921 property:P361 ?e . ?e rdf:type ontology:Q1190554 } } . FILTER ( ?j = ?l ) }
Thirteen Years' War
action approx
action find_reverse_tuple_counts
relation part of
type event
type battle
action count
action filter_type
action find
entity Thirteen Years' War
relation part of
type event
[{'concept': 'battle'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:part_of ?h . ?h rdf:type ontology:event . ?c rdf:type ontology:battle } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Thirteen_Years'_War property:part_of ?e . ?e rdf:type ontology:event } } . FILTER ( ?j = ?l ) }
[]
event battle
Q150701 Q152218 Q233505
SYSTEM
War of the Spanish Succession, Nine Years' War, Second Barbary War
Q152218 Q869045 Q221941 Q233505 Q195983 Q16471 Q737542 Q18817 Q324438 Q150701 Q468293 Q315921 Q27145365 Q1070342
(c(Q178561),P361,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q178561
action count
action filter_type
action find
entity Q315921
relation P361
type Q1190554
[ANSWERS] are around the same number of battles a portion of as Thirteen Years' War
[{'concept': 'Q178561'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P361 ?h . ?h rdf:type ontology:Q1190554 . ?c rdf:type ontology:Q178561 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q315921 property:P361 ?e . ?e rdf:type ontology:Q1190554 } } . FILTER ( ?j = ?l ) }
Nine Years' War Queen Anne's War War of the Quadruple Alliance Second Barbary War Franco-Flemish War Invasion of Normandy Genpei War War of the First Coalition War of the Pyrenees War of the Spanish Succession First Barbary War Thirteen Years' War battles of Schooneveld King William's War
War of the Spanish Succession, Nine Years' War and Second Barbary War are around the same number of battles a portion of as Thirteen Years' War
War of the Spanish Succession Nine Years' War Second Barbary War
action approx
action find_reverse_tuple_counts
relation part of
type event
type battle
action count
action filter_type
action find
entity Thirteen Years' War
relation part of
type event
[{'concept': 'battle'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:part_of ?h . ?h rdf:type ontology:event . ?c rdf:type ontology:battle } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Thirteen_Years'_War property:part_of ?e . ?e rdf:type ontology:event } } . FILTER ( ?j = ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1190554 Q350604 Q2221906
USER
How many events are around 1 armed conflicts or geographic locations a component of ?
(c(Q350604)|c(Q2221906),P361,c(Q1190554))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q2221906
value 1
[[{'concept': 'Q350604'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P361 ?j . ?j rdf:type ontology:Q1190554 . ?z rdf:type ontology:Q350604 } UNION { ?z property:P361 ?j . ?j rdf:type ontology:Q1190554 . ?z rdf:type ontology:Q2221906 } } GROUP BY ?j } . FILTER ( ?k = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action find_reverse_tuple_counts
relation part of
type event
type geographic location
value 1
[[{'concept': 'armed conflict'}, {'concept': 'geographic location'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:part_of ?j . ?j rdf:type ontology:event . ?z rdf:type ontology:armed_conflict } UNION { ?z property:part_of ?j . ?j rdf:type ontology:event . ?z rdf:type ontology:geographic_location } } GROUP BY ?j } . FILTER ( ?k = 1 ) }
[]
event armed conflict geographic location
SYSTEM
13
Q19870743 Q19362030 Q654006 Q385378 Q1514908 Q51662 Q18817 Q789406 Q673175 Q1758572 Q1413732 Q165725 Q16918333
(c(Q350604)|c(Q2221906),P361,c(Q1190554))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q2221906
value 1
[ANSWER]
[[{'concept': 'Q350604'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P361 ?j . ?j rdf:type ontology:Q1190554 . ?z rdf:type ontology:Q350604 } UNION { ?z property:P361 ?j . ?j rdf:type ontology:Q1190554 . ?z rdf:type ontology:Q2221906 } } GROUP BY ?j } . FILTER ( ?k = 1 ) }
Anglo-French war of 1202–14 aftermath of the 2014–15 Yemeni coup d'état Second Northern War construction Cuban War of Independence Northern Crusades War of the First Coalition Balkans Campaign French Wars of Religion Hook and Cod wars Kashmir conflict Balkan Wars Ukrainian crisis
13
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action find_reverse_tuple_counts
relation part of
type event
type geographic location
value 1
[[{'concept': 'armed conflict'}, {'concept': 'geographic location'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:part_of ?j . ?j rdf:type ontology:event . ?z rdf:type ontology:armed_conflict } UNION { ?z property:part_of ?j . ?j rdf:type ontology:event . ?z rdf:type ontology:geographic_location } } GROUP BY ?j } . FILTER ( ?k = 1 ) }
[]