Simple Question (Direct)
Simple Question
Q7788227
P607
Q350604
USER
What was the armed conflict that Thomas Carey took part in
(Q7788227,P607,c(Q350604))
action filter_type
action find
entity Q7788227
relation P607
type Q350604
['Q7788227', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?j WHERE { resource:Q7788227 property:P607 ?j . ?j rdf:type ontology:Q350604 }
Thomas Carey
action filter_type
action find
entity Thomas Carey
relation conflict
type armed conflict
['Thomas Carey', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?j WHERE { resource:Thomas_Carey property:conflict ?j . ?j rdf:type ontology:armed_conflict }
[]
armed conflict
Q8663
SYSTEM
Korean War
Q8663
(Q7788227,P607,c(Q350604))
action filter_type
action find
entity Q7788227
relation P607
type Q350604
The armed conflict that Thomas Carey took part in was the [ANSWER]
['Q7788227', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?j WHERE { resource:Q7788227 property:P607 ?j . ?j rdf:type ontology:Q350604 }
Korean War
The armed conflict that Thomas Carey took part in was the Korean War
Korean War
action filter_type
action find
entity Thomas Carey
relation conflict
type armed conflict
['Thomas Carey', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?j WHERE { resource:Thomas_Carey property:conflict ?j . ?j rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7788227
P1196
Q1931388
USER
What manner did Thomas Carey die ?
(Q7788227,P1196,c(Q1931388))
action filter_type
action find
entity Q7788227
relation P1196
type Q1931388
['Q7788227', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1931388 . resource:Q7788227 property:P1196 ?z }
Thomas Carey
action filter_type
action find
entity Thomas Carey
relation manner of death
type cause of death
['Thomas Carey', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:cause_of_death . resource:Thomas_Carey property:manner_of_death ?z }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q7788227,P1196,c(Q1931388))
action filter_type
action find
entity Q7788227
relation P1196
type Q1931388
Thomas Carey died at [ANSWER]
['Q7788227', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1931388 . resource:Q7788227 property:P1196 ?z }
natural causes
Thomas Carey died at natural causes
natural causes
action filter_type
action find
entity Thomas Carey
relation manner of death
type cause of death
['Thomas Carey', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:cause_of_death . resource:Thomas_Carey property:manner_of_death ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2831527
Q1931388
USER
And also tell me about Albert Rémy?
(Q2831527,P1196,c(Q1931388))
action filter_type
action find
entity Q2831527
relation P1196
type Q1931388
['Q2831527', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1931388 . resource:Q2831527 property:P1196 ?k }
Albert Rémy
action filter_type
action find
entity Albert Rémy
relation manner of death
type cause of death
['Albert Rémy', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:cause_of_death . resource:Albert_Rémy property:manner_of_death ?k }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2831527,P1196,c(Q1931388))
action filter_type
action find
entity Q2831527
relation P1196
type Q1931388
[ANSWER]
['Q2831527', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1931388 . resource:Q2831527 property:P1196 ?k }
natural causes
natural causes
action filter_type
action find
entity Albert Rémy
relation manner of death
type cause of death
['Albert Rémy', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:cause_of_death . resource:Albert_Rémy property:manner_of_death ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q350604 Q180684
USER
Which conflicts are a part of atmost 2 armed conflicts ?
(c(Q180684),P361,c(Q350604))
action atmost
action find_tuple_counts
relation P361
type Q180684
type Q350604
value 2
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?b ) WHERE { ?q property:P361 ?j . ?q rdf:type ontology:Q180684 . ?j rdf:type ontology:Q350604 } GROUP BY ?q } . FILTER ( ?b <= 2 ) }
action atmost
action find_tuple_counts
relation part of
type conflict
type armed conflict
value 2
[{'concept': 'conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?b ) WHERE { ?q property:part_of ?j . ?q rdf:type ontology:conflict . ?j rdf:type ontology:armed_conflict } GROUP BY ?q } . FILTER ( ?b <= 2 ) }
[]
armed conflict conflict
Q150229 Q21032720 Q911972
SYSTEM
Boxer Rebellion, Russian military intervention in the Syrian Civil War, Dunkirk evacuation
Q25242046 Q4322520 Q6412775 Q780730 Q379433 Q7100572 Q7100571 Q19766211 Q3269922 Q698771 Q19893791 Q4748012 Q313442 Q5263984 Q25245555 Q6470616 Q7654052 Q1000306 Q266994 Q2602154 Q1337302 Q4384813 Q2613676 Q2033454 Q189930 Q19883325 Q690413 Q478881 Q3267800 Q14375574 Q3267629 Q4335310 Q3354670 Q319581 Q3354679 Q1150465 Q612739 Q150229 Q20646862 Q572676 Q7097310 Q25820506 Q8641370 Q150939 Q21032720 Q3269455 Q2835454 Q3354882 Q3744498 Q3883995 Q2059536 Q16960323 Q154720 Q4029854 Q162546 Q1195810 Q962676 Q18121535 Q1361205 Q7097223 Q7097026 Q1935145 Q3780506 Q4335265 Q7096882 Q15733401 Q992318 Q6337939 Q1238900 Q18068170 Q7096821 Q19682450 Q7097685 Q7097682 Q911972 Q19429062 Q2225555 Q3329036 Q5692335 Q311787 Q7689201 Q19085 Q422376 Q19996396 Q7097290 Q708235 Q6135253 Q15612126 Q15264166 Q1054657 Q208300 Q489959 Q19766176 Q7100588 Q7097619 Q7235995 Q6135267 Q12746404 Q4384294 Q700547 Q3354735 Q4028035 Q155723 Q2409105 Q18015594 Q17985293 Q7096745 Q609978 Q3267722 Q154164 Q476634 Q163780 Q7096742 Q2984013 Q7097190 Q15224558 Q26998563 Q3354686 Q561899 Q4335297 Q4335295 Q845203 Q7097117 Q18357664 Q4384303 Q16677640 Q7100593 Q2643015 Q700533 Q6484605 Q4467966 Q18882013 Q178561 Q5033913 Q25980 Q3817010 Q1038900 Q3428977 Q326668 Q7096756 Q3267731 Q7097584 Q704481 Q18701760 Q5061225 Q53692 Q19824143 Q5639369 Q4157829 Q21190371 Q3062425 Q3030036 Q3354894 Q3354756
(c(Q180684),P361,c(Q350604))
action atmost
action find_tuple_counts
relation P361
type Q180684
type Q350604
value 2
[ANSWERS] are a part of atmost 2 armed conflicts
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?b ) WHERE { ?q property:P361 ?j . ?q rdf:type ontology:Q180684 . ?j rdf:type ontology:Q350604 } GROUP BY ?q } . FILTER ( ?b <= 2 ) }
2016 Aleppo campaign Novgorod–Luga Offensive Kingisepp–Gdov Offensive Operation Frequent Wind Operation Ten-Go Order of battle Swatow Operation Order of battle Peiking – Suiyuan Railway Operation Operation Nordlicht (1942) Operation Paraquet Operation Atalanta Operation Dignity Battle Amoy Operation Operation Silver Fox Operation Scorched Earth Operation Tinombala Operation Jackal Swatow Operation Operation Sky Monitor XYZ Affair Operation Enduring Freedom – Trans Sahara Hannibal's Crossing of the Alps Operation Before the Dawn March 2012 Gaza–Israel clashes Krasnoye Selo–Ropsha Offensive Operation Market Garden Operation Decisive Storm Operation Banner Sinyavino Offensive (1942) Operation Karbala-4 Toropets–Kholm Offensive Operation Badr Operation Tiger (1994) Operation Camargue Operation Beowulf Operation Castor Operation Barras Operation Eagle Claw Boxer Rebellion Aleppo offensive (July 2015) St Nazaire Raid Operation Murat 2016 Kashmir unrest Operation Overlord Operation Weserübung Russian military intervention in the Syrian Civil War Operation Unified Protector Operation Samen-ol-A'emeh Operation Tungsten Tartu Offensive Operation Prairie Operation Mersad Leningrad Strategic Defensive Battle of Britain 2nd Sinyavino Offensive (1941) Vienna Offensive Operation Enduring Freedom – Horn of Africa Cabochien Revolt Opération Chammal Chinchow Operation Operation Leader Operation Egged Operation Corridor Operation Red Dawn Operation Vrbas '92 Operation Chahar order of battle 2014 Ukrainian revolution Autumn Harvest Uprising Operation Panther Bakar mockery Operation Dezful Operation Black Thunderstorm Saudi Arabian-led intervention in Yemen Operation Veritas Operation Valiant Guardian Dunkirk evacuation Operation Toral Operation Basalt Svir-Petrozavodsk operation Operation Nasr 4 Operation Mars Tawakalna ala Allah Operations death of Osama bin Laden Operation Tempest Taking of Diest Operation Mikado Operation Veritable Operation Dawn 6 Narva Offensive (July 1944) Operation Mascot Ten Days of Brescia Kronstadt rebellion Operation Linebacker Battle for Leningrad Order of battle for Amoy Operation Operation Telic Powder River Expedition Operation Dawn 8 Operation Una Operation Karbala-6 Operation Vengeance Operation Jacana 1st Sinyavino Offensive (1941) NATO bombing of Yugoslavia Operation Sana Russian intervention in the Crimea, 2014 2014 United States rescue operation in Syria Operation Amanda Operation Mountain Thrust Operation Undeniable Victory Operation Rheinübung Nanchang Uprising Slovak National Uprising Operation Alpha 29 Operation Summer '95 Operation Jehol order of battle Euromaidan Aleppo offensive (September–October 2016) Operation Condor Operation Polyarnaya Zvezda Operation Spider Operation Neretva '93 Operation Chastise Operation Hardboiled Operation Inherent Resolve Operation Kheibar Operation Monastery Order of battle for Guangdong Operation Operation Perch Vyborg–Petrozavodsk Offensive Landing Operation on Hainan Island Tianjin–Pukou Railway Operation Offensive on Mariupol (January 2015) battle Canton Operation Gleiwitz incident Operation Deadstick Guangzhou Uprising Operation Gothic Serpent Operation Enduring Freedom Operation Arabian Knight Operation Beit ol-Moqaddas Operation Stonewall 2010 Senkaku boat collision incident 2014 Fall of Mosul Central Hubei Operation Operation Pillar of Cloud Operation Restoring Hope Hainan Island Operation Battle of Demyansk Aleppo offensive (October–December 2015) Yellowstone Expedition of 1873 Siege of Sangin Operation Southern Move Operation Lorraine
Boxer Rebellion, Russian military intervention in the Syrian Civil War and Dunkirk evacuation are a part of atmost 2 armed conflicts
Boxer Rebellion Russian military intervention in the Syrian Civil War Dunkirk evacuation
action atmost
action find_tuple_counts
relation part of
type conflict
type armed conflict
value 2
[{'concept': 'conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?b ) WHERE { ?q property:part_of ?j . ?q rdf:type ontology:conflict . ?j rdf:type ontology:armed_conflict } GROUP BY ?q } . FILTER ( ?b <= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q1190554 Q180684
USER
Which events are min number of conflicts a part of ?
(c(Q180684),P361,Q3402214)
action argmin
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q180684
[{'concept': 'Q180684'}, 'P361', 'Q3402214']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P361 ?g . ?g rdf:type ontology:Q1190554 . ?o rdf:type ontology:Q180684 } GROUP BY ?g } } . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P361 ?l . ?a rdf:type ontology:Q180684 . ?l rdf:type ontology:Q1190554 } GROUP BY ?l } . FILTER ( ?x = ?w ) }
action argmin
action find_reverse_tuple_counts
relation part of
type event
type conflict
[{'concept': 'conflict'}, 'part of', 'Invasion of Portugal']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:part_of ?g . ?g rdf:type ontology:event . ?o rdf:type ontology:conflict } GROUP BY ?g } } . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:part_of ?l . ?a rdf:type ontology:conflict . ?l rdf:type ontology:event } GROUP BY ?l } . FILTER ( ?x = ?w ) }
[]
event conflict
Q218678 Q51654 Q254106
SYSTEM
North African Campaign, Second Crusade, Crimean War
Q87138 Q11347454 Q19364861 Q15726688 Q5887669 Q152218 Q716562 Q19870743 Q1458235 Q11663 Q576338 Q287942 Q1245157 Q4709161 Q1093550 Q869045 Q7573442 Q3445341 Q696844 Q49092 Q5685042 Q19362030 Q842774 Q654006 Q1934591 Q2091916 Q683912 Q638530 Q20821272 Q132568 Q737907 Q7569936 Q4126360 Q2334719 Q164348 Q184637 Q2495510 Q221941 Q576292 Q815216 Q250747 Q193603 Q827612 Q15946570 Q186284 Q233505 Q7109930 Q17021072 Q2067876 Q109251 Q5916 Q492126 Q195983 Q16471 Q697022 Q737542 Q2408799 Q638608 Q385378 Q4978527 Q78994 Q4513932 Q4141642 Q217145 Q1765465 Q51661 Q51660 Q392213 Q21030182 Q4743407 Q46857 Q151290 Q1514908 Q1154050 Q15013125 Q212658 Q18639147 Q517578 Q830059 Q374814 Q870196 Q523154 Q1136575 Q16146546 Q629965 Q20857240 Q8669 Q1151913 Q952881 Q21482801 Q814235 Q174205 Q189508 Q1417059 Q646322 Q572291 Q1647768 Q743776 Q51662 Q19429010 Q138107 Q254106 Q7860 Q8016240 Q477973 Q916495 Q582584 Q1756029 Q18817 Q1657839 Q3119190 Q1827267 Q1144824 Q6644923 Q201676 Q246863 Q327035 Q430726 Q1340107 Q1225409 Q2704441 Q4366849 Q48314 Q2026016 Q5547987 Q298864 Q223604 Q202161 Q168556 Q18536369 Q605977 Q18378977 Q789406 Q630259 Q253684 Q19864219 Q18145759 Q28545 Q15303938 Q640100 Q464512 Q7573405 Q8050376 Q7506756 Q2288144 Q151018 Q688308 Q7333201 Q856216 Q829875 Q324438 Q221967 Q239060 Q15553019 Q154031 Q218678 Q169072 Q1130507 Q202298 Q1134220 Q631795 Q340075 Q464980 Q51656 Q51657 Q150701 Q51655 Q687572 Q3310304 Q673175 Q27653685 Q1758572 Q468293 Q7567350 Q290178 Q7968673 Q164983 Q2889354 Q18606884 Q821283 Q1525846 Q2524228 Q6068230 Q162362 Q3509177 Q153650 Q6165880 Q3491709 Q208156 Q154182 Q23687335 Q750567 Q296754 Q51649 Q4825457 Q736268 Q17005775 Q1498028 Q315921 Q315342 Q194132 Q123210 Q1372308 Q4465891 Q476300 Q6449024 Q712461 Q377269 Q847301 Q1993443 Q2649081 Q18326286 Q482090 Q162357 Q2117576 Q6133239 Q17189951 Q426227 Q51654 Q953045 Q21083298 Q6762017 Q27145365 Q18208094 Q1440764 Q426099 Q3769089 Q685683 Q807843 Q130861 Q235344 Q617333 Q697625 Q165725 Q3778609 Q7127419 Q2761147 Q417744 Q684324 Q617409 Q11448 Q1070342 Q482979 Q158677 Q10862448 Q152004 Q3402214
(c(Q180684),P361,Q3402214)
action argmin
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q180684
[ANSWERS] are min number of conflicts a part of
[{'concept': 'Q180684'}, 'P361', 'Q3402214']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P361 ?g . ?g rdf:type ontology:Q1190554 . ?o rdf:type ontology:Q180684 } GROUP BY ?g } } . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P361 ?l . ?a rdf:type ontology:Q180684 . ?l rdf:type ontology:Q1190554 } GROUP BY ?l } . FILTER ( ?x = ?w ) }
Greco-Turkish War Neapolitan campaigns of Louis the Great Internal conflict in Bangladesh Esperanto meeting Nicaraguan civil war Nine Years' War Battle of Hakodate Anglo-French war of 1202–14 Battle of the Upper Baetis weather Japanese invasions of Korea Russo-Turkish War Battle of Loos Albanian Revolt of 1911 Western Sahara conflict Queen Anne's War Spanish reconquest of Mexico Saintonge War Battle of Anzio 1948 Arab–Israeli War Hawkesbury and Nepean Wars aftermath of the 2014–15 Yemeni coup d'état Polish–Ukrainian War Second Northern War Battle of North Borneo Reform War Operation Tractable Texas Revolution axiomatisation Battle of the Somme Latin War Southern Front of the Russian Civil War Glyndŵr Rising legal case Hungarian Revolution of 1956 Ten Years' War Battle of Reval War of the Quadruple Alliance Fourth Anglo-Dutch War Siege of Sevastopol Race to the Sea ontogeny Jugurthine War Yemeni Crisis Polish–Soviet War Second Barbary War Ottoman Invasion of Mani Pemmican War Polish–Swedish War (1600-29) Samnite Wars spaceflight Frisian–Frankish wars Franco-Flemish War Invasion of Normandy Battle of the Scheldt Genpei War Battle of the Misrata frontline software development construction Bruce campaign in Ireland Napoleonic Wars Montenegrin–Ottoman War Anglo-Russian invasion of Holland Guadalcanal Campaign Middle Eastern theatre of World War I Seventh Crusade Sixth Crusade Siege of Orléans Battle of Kunduz American Civil Liberties Union v. National Security Agency scientific method Battle of Moscow Cuban War of Independence Peninsula Campaign Latin War War of the Polish Succession Byzantine–Bulgarian war of 894–896 King George's War Battle of Red Cliffs certification Russo-Swedish War Caucasus Campaign Vandalic War Civil conflict in the Philippines Russo-Swedish War European migrant crisis Arab–Israeli conflict First Anglo-Dutch War French intervention in Mexico Islamic terrorism crisis in France German Campaign of 1813 Russo-Turkish War Glorious Revolution First Fitna Franco-Dutch War Guelders Wars First Mithridatic War First Peloponnesian War Northern Crusades 2014 Odessa clashes War of the Sixth Coalition Crimean War nature trial Gothic War Second Anglo-Dutch War First Anglo–Sikh War Operation Tonga War of the First Coalition Ten Days' Campaign Roman-Etruscan Wars Byzantine–Seljuq wars Battle of Messines Operation Hydra funeral Livonian War Battle of Gazala Anglo-Spanish War (1585–1604) Cantabrian Wars Moro conflict Chilean Civil War of 1891 Battle of the Border Battle of Waterloo Operation Cartwheel Georgian-Seljuk wars Neapolitan War Greco-Italian War Gallic War Schmalkaldic War Battle of Donetsk Airport War of the Fourth Coalition Naderian Wars Balkans Campaign Byzantine–Ottoman Wars French campaign in Egypt and Syria Anbar offensive 2014–15 Yemeni coup d'état teaching Islamic Front–Free Syrian Army conflict Battles of the Bruch Battle of Balaclava Spanish invasion of Portugal Yavapai War Siamese revolution of 1688 Byzantine–Bulgarian wars Battle of the Bulge Swedish War of Liberation Rif Dimashq offensive Beaver Wars Nigerian Civil War War of the Pyrenees Brusilov Offensive Arab Revolt (1916–1918) Anbar clashes (2013–2014) German Peasants' War North African Campaign Colombian armed conflict Hundred Days Offensive Japanese tea ceremony Mongol invasion of Rus' Kalmar War Moroccan–Portuguese conflicts exhibition Fourth Crusade Albigensian Crusade War of the Spanish Succession Third Crusade Battle of the Frontiers Second War of Scottish Independence French Wars of Religion War in the Black Sea Hook and Cod wars First Barbary War South German Offensive economic crisis War of the Bucket Gallipoli campaign Monastir Offensive Old Towns and New Needs; also the Town Extension Plan Battle of Warsaw 2012 Tuareg rebellion Italian War of 1551–1559 Iraqi–Kurdish conflict Balkans Campaign Battle of Narva Austro-Prussian War Soviet invasion of Manchuria Glencairn's rising Mongol invasions of Japan Battle of Berlin Warburton Lectures Spring Offensive Battle of Singapore First Crusade Austrian-Hungarian War Finnish War Idlib Governorate clashes Hildesheim Diocesan Feud Thirteen Years' War Burgundian Wars Operation Torch Russo-Turkish War Jōkyū War Ottoman–Persian War competition Kuwait–Nejd Border War Battle of Aizu Dutch–Portuguese War political campaign Battle of the St. Lawrence Battle of the Netherlands Kublai Khan's Campaigns steelmaking Battle of Smolensk Puget Sound War Operation Zafar 7 KYOTO Cross Media Experience Battle of Passchendaele Second Crusade metalwork Israeli–Palestinian conflict Marian civil war battles of Schooneveld Turkish involvement in the Syrian Civil War Battle of Timor Siege of Antwerp Second Fitna First Schleswig War Bishops' Wars Battle of Kursk Battle of the Alamola Franco-Spanish War (1635–1659) Battle of Belgium Balkan Wars Despenser War Palestinian insurgency in South Lebanon meeting Dano-Swedish War War of the Fifth Coalition Argentine War of Independence radioactivity King William's War Battle of Pusan Perimeter Northern Seven Years' War Liberation Day War of the Pacific Invasion of Portugal
North African Campaign, Second Crusade and Crimean War are min number of conflicts a part of
North African Campaign Second Crusade Crimean War
action argmin
action find_reverse_tuple_counts
relation part of
type event
type conflict
[{'concept': 'conflict'}, 'part of', 'Invasion of Portugal']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:part_of ?g . ?g rdf:type ontology:event . ?o rdf:type ontology:conflict } GROUP BY ?g } } . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:part_of ?l . ?a rdf:type ontology:conflict . ?l rdf:type ontology:event } GROUP BY ?l } . FILTER ( ?x = ?w ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q254106
P710
Q502895
USER
Who were the participants of that event ?
(Q254106,P710,c(Q502895))
action filter_type
action find
entity Q254106
relation P710
type Q502895
['Q254106', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q254106 property:P710 ?s . ?s rdf:type ontology:Q502895 }
Crimean War
action filter_type
action find
entity Crimean War
relation participant
type common name
['Crimean War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Crimean_War property:participant ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q218678
SYSTEM
Did you mean North African Campaign ?
Q218678 Q51654 Q254106
(Q218678,P710,c(Q502895)) (Q51654,P710,c(Q502895)) (Q254106,P710,c(Q502895))
[ANSWER]
['Q218678', 'P710', {'concept': 'Q502895'}] ['Q51654', 'P710', {'concept': 'Q502895'}] ['Q254106', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q254106 property:P710 ?s . ?s rdf:type ontology:Q502895 }
North African Campaign Second Crusade Crimean War
Did you mean North African Campaign ?
North African Campaign
['North African Campaign', 'participant', {'concept': 'common name'}] ['Second Crusade', 'participant', {'concept': 'common name'}] ['Crimean War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Crimean_War property:participant ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Crimean War. Could you tell me the answer for that?
(Q254106,P710,c(Q502895))
Q254106
['Q254106', 'P710', {'concept': 'Q502895'}]
['Crimean War', 'participant', {'concept': 'common name'}]
[]
Q83171 Q130734 Q7721
SYSTEM
Alexander II of Russia, Nicholas I of Russia, Napoleon III
Q130734 Q2468309 Q24631 Q168691 Q83171 Q9439 Q7721 Q374393
(Q254106,P710,c(Q502895))
action filter_type
action find
entity Q254106
relation P710
type Q502895
The participants of that event were [ANSWERS]
['Q254106', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q254106 property:P710 ?s . ?s rdf:type ontology:Q502895 }
Nicholas I of Russia Yegor Tolstoy George Hamilton-Gordon, 4th Earl of Aberdeen Victor Emmanuel II of Savoy Alexander II of Russia Queen Victoria Napoleon III Alexander Sergeyevich Menshikov
The participants of that event were Alexander II of Russia, Nicholas I of Russia and Napoleon III
Alexander II of Russia Nicholas I of Russia Napoleon III
action filter_type
action find
entity Crimean War
relation participant
type common name
['Crimean War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Crimean_War property:participant ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q254106
P710
Q1190554
USER
Did those people participate in Crimean War ?
(Q254106,P710,Q83171) (Q254106,P710,Q130734) (Q254106,P710,Q7721)
action is_in
entity prev_answer
action find
entity Q254106
relation P710
['Q254106', 'P710', 'Q83171'] ['Q254106', 'P710', 'Q130734'] ['Q254106', 'P710', 'Q7721']
ASK WHERE { resource:Q254106 property:P710 ?j . VALUES ( ?j ) { ( resource:Q130734 ) ( resource:Q2468309 ) ( resource:Q24631 ) } }
Crimean War
action is_in
entity prev_answer
action find
entity Crimean War
relation participant
['Crimean War', 'participant', 'Alexander II of Russia'] ['Crimean War', 'participant', 'Nicholas I of Russia'] ['Crimean War', 'participant', 'Napoleon III']
ASK WHERE { resource:Crimean_War property:participant ?j . VALUES ( ?j ) { ( resource:Nicholas_I_of_Russia ) ( resource:Yegor_Tolstoy ) ( resource:George_Hamilton-Gordon,_4th_Earl_of_Aberdeen ) } }
[]
event
SYSTEM
YES
(Q254106,P710,Q83171) (Q254106,P710,Q130734) (Q254106,P710,Q7721)
action is_in
entity prev_answer
action find
entity Q254106
relation P710
[ANSWER]
['Q254106', 'P710', 'Q83171'] ['Q254106', 'P710', 'Q130734'] ['Q254106', 'P710', 'Q7721']
ASK WHERE { resource:Q254106 property:P710 ?j . VALUES ( ?j ) { ( resource:Q130734 ) ( resource:Q2468309 ) ( resource:Q24631 ) } }
Yes
action is_in
entity prev_answer
action find
entity Crimean War
relation participant
['Crimean War', 'participant', 'Alexander II of Russia'] ['Crimean War', 'participant', 'Nicholas I of Russia'] ['Crimean War', 'participant', 'Napoleon III']
ASK WHERE { resource:Crimean_War property:participant ?j . VALUES ( ?j ) { ( resource:Nicholas_I_of_Russia ) ( resource:Yegor_Tolstoy ) ( resource:George_Hamilton-Gordon,_4th_Earl_of_Aberdeen ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q218678 Q186492 Q1176158
P710
Q502895
USER
Was George S. Patton and David Pollock, 3rd Viscount Hanworth a participant of North African Campaign ?
(Q218678,P710,Q186492) (Q218678,P710,Q1176158)
action is_in
entity Q218678
action intersection
action find_reverse
entity Q186492
relation P710
action find_reverse
entity Q1176158
relation P710
['Q218678', 'P710', 'Q186492'] ['Q218678', 'P710', 'Q1176158']
ASK WHERE { resource:Q218678 property:P710 resource:Q186492 . resource:Q218678 property:P710 resource:Q1176158 }
North African Campaign George S. Patton David Pollock, 3rd Viscount Hanworth
action is_in
entity North African Campaign
action intersection
action find_reverse
entity George S. Patton
relation participant
action find_reverse
entity David Pollock, 3rd Viscount Hanworth
relation participant
['North African Campaign', 'participant', 'George S. Patton'] ['North African Campaign', 'participant', 'David Pollock, 3rd Viscount Hanworth']
ASK WHERE { resource:North_African_Campaign property:participant resource:George_S._Patton . resource:North_African_Campaign property:participant resource:David_Pollock,_3rd_Viscount_Hanworth }
[]
common name
SYSTEM
YES and NO respectively
(Q218678,P710,Q186492) (Q218678,P710,Q1176158)
action is_in
entity Q218678
action intersection
action find_reverse
entity Q186492
relation P710
action find_reverse
entity Q1176158
relation P710
[ANSWER]
['Q218678', 'P710', 'Q186492'] ['Q218678', 'P710', 'Q1176158']
ASK WHERE { resource:Q218678 property:P710 resource:Q186492 . resource:Q218678 property:P710 resource:Q1176158 }
YES and NO respectively
action is_in
entity North African Campaign
action intersection
action find_reverse
entity George S. Patton
relation participant
action find_reverse
entity David Pollock, 3rd Viscount Hanworth
relation participant
['North African Campaign', 'participant', 'George S. Patton'] ['North African Campaign', 'participant', 'David Pollock, 3rd Viscount Hanworth']
ASK WHERE { resource:North_African_Campaign property:participant resource:George_S._Patton . resource:North_African_Campaign property:participant resource:David_Pollock,_3rd_Viscount_Hanworth }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q218678 Q370553
P793
Q2235308
USER
How many ship types are North African Campaign or ship naming ceremony a key event of ?
(c(Q2235308),P793,Q218678) (c(Q2235308),P793,Q370553)
action count
action union
action filter_type
action find_reverse
entity Q218678
relation P793
type Q2235308
action filter_type
action find_reverse
entity Q370553
relation P793
type Q2235308
[{'concept': 'Q2235308'}, 'P793', 'Q218678'] [{'concept': 'Q2235308'}, 'P793', 'Q370553']
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P793 ?l . VALUES ( ?l ) { ( resource:Q218678 ) ( resource:Q370553 ) } }
North African Campaign ship naming ceremony
action count
action union
action filter_type
action find_reverse
entity North African Campaign
relation significant event
type ship type
action filter_type
action find_reverse
entity ship naming ceremony
relation significant event
type ship type
[{'concept': 'ship type'}, 'significant event', 'North African Campaign'] [{'concept': 'ship type'}, 'significant event', 'ship naming ceremony']
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:significant_event ?l . VALUES ( ?l ) { ( resource:North_African_Campaign ) ( resource:ship_naming_ceremony ) } }
[]
ship type
SYSTEM
16
Q16854668 Q7408497 Q2713927 Q587557 Q2596850 Q204342 Q192381 Q1444474 Q558338 Q4352515 Q7499755 Q217132 Q2357717 Q3278681 Q4352397 Q1314702
(c(Q2235308),P793,Q218678) (c(Q2235308),P793,Q370553)
action count
action union
action filter_type
action find_reverse
entity Q218678
relation P793
type Q2235308
action filter_type
action find_reverse
entity Q370553
relation P793
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P793', 'Q218678'] [{'concept': 'Q2235308'}, 'P793', 'Q370553']
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P793 ?l . VALUES ( ?l ) { ( resource:Q218678 ) ( resource:Q370553 ) } }
Mein Schiff 4 USS America SS City of New York USS Abraham Lincoln MS Azura USS Enterprise MS Oasis of the Seas HMS Queen Elizabeth RV Polarstern HMS Ambush Shoalway USS George H.W. Bush HMS York USS Zumwalt HMS Artful USS Truxtun
16
action count
action union
action filter_type
action find_reverse
entity North African Campaign
relation significant event
type ship type
action filter_type
action find_reverse
entity ship naming ceremony
relation significant event
type ship type
[{'concept': 'ship type'}, 'significant event', 'North African Campaign'] [{'concept': 'ship type'}, 'significant event', 'ship naming ceremony']
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:significant_event ?l . VALUES ( ?l ) { ( resource:North_African_Campaign ) ( resource:ship_naming_ceremony ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218678
P180
Q2342494
USER
Which collectable depicts that event ?
action filter_type
action find_reverse
entity Q218678
relation P180
type Q2342494
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q218678 . ?x rdf:type ontology:Q2342494 }
North African Campaign
action filter_type
action find_reverse
entity North African Campaign
relation depicts
type collectable
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:North_African_Campaign . ?x rdf:type ontology:collectable }
[]
collectable
Q4749811
SYSTEM
An Army at Dawn: The War in North Africa 1942–1943
Q4749811
action filter_type
action find_reverse
entity Q218678
relation P180
type Q2342494
[ANSWER] depicts that event
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q218678 . ?x rdf:type ontology:Q2342494 }
An Army at Dawn: The War in North Africa 1942–1943
An Army at Dawn: The War in North Africa 1942–1943 depicts that event
An Army at Dawn: The War in North Africa 1942–1943
action filter_type
action find_reverse
entity North African Campaign
relation depicts
type collectable
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:North_African_Campaign . ?x rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q218678
P710
Q918240 Q7275
USER
How many Territorial evolution of the British Empires and states attended North African Campaign ?
(Q218678,P710,c(Q918240)) (Q218678,P710,c(Q7275))
action count
action union
action filter_type
action find
entity Q218678
relation P710
type Q918240
action filter_type
action find
entity Q218678
relation P710
type Q7275
['Q218678', 'P710', {'concept': 'Q918240'}] ['Q218678', 'P710', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { resource:Q218678 property:P710 ?y . ?y rdf:type ontology:Q918240 } UNION { ?y rdf:type ontology:Q7275 . resource:Q218678 property:P710 ?y } }
North African Campaign
action count
action union
action filter_type
action find
entity North African Campaign
relation participant
type Territorial evolution of the British Empire
action filter_type
action find
entity North African Campaign
relation participant
type state
['North African Campaign', 'participant', {'concept': 'Territorial evolution of the British Empire'}] ['North African Campaign', 'participant', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { resource:North_African_Campaign property:participant ?y . ?y rdf:type ontology:Territorial_evolution_of_the_British_Empire } UNION { ?y rdf:type ontology:state . resource:North_African_Campaign property:participant ?y } }
[]
Territorial evolution of the British Empire state
SYSTEM
1 Territorial evolution of the British Empires and 3 states
Q750583 Q209065 Q69808 Q7318
(Q218678,P710,c(Q918240)) (Q218678,P710,c(Q7275))
action count
action union
action filter_type
action find
entity Q218678
relation P710
type Q918240
action filter_type
action find
entity Q218678
relation P710
type Q7275
[ANSWER]
['Q218678', 'P710', {'concept': 'Q918240'}] ['Q218678', 'P710', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { resource:Q218678 property:P710 ?y . ?y rdf:type ontology:Q918240 } UNION { ?y rdf:type ontology:Q7275 . resource:Q218678 property:P710 ?y } }
Southern Rhodesia Kingdom of Greece Vichy France Nazi Germany
1 Territorial evolution of the British Empires and 3 states
action count
action union
action filter_type
action find
entity North African Campaign
relation participant
type Territorial evolution of the British Empire
action filter_type
action find
entity North African Campaign
relation participant
type state
['North African Campaign', 'participant', {'concept': 'Territorial evolution of the British Empire'}] ['North African Campaign', 'participant', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { resource:North_African_Campaign property:participant ?y . ?y rdf:type ontology:Territorial_evolution_of_the_British_Empire } UNION { ?y rdf:type ontology:state . resource:North_African_Campaign property:participant ?y } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q165862 Q218678
P241 P607
Q502895
USER
Which people were North African Campaign a part of and have Royal Air Force as the related army branch ?
AND((c(Q502895),P607,Q218678), (c(Q502895),P241,Q165862))
action filter_type
action intersection
action find_reverse
entity Q218678
relation P607
action find_reverse
entity Q165862
relation P241
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P607', 'Q218678'], [{'concept': 'Q502895'}, 'P241', 'Q165862']]}
SELECT DISTINCT ?k WHERE { ?k property:P607 resource:Q218678 . ?k property:P241 resource:Q165862 . ?k rdf:type ontology:Q502895 }
Royal Air Force North African Campaign
action filter_type
action intersection
action find_reverse
entity North African Campaign
relation conflict
action find_reverse
entity Royal Air Force
relation military branch
type common name
{'AND': [[{'concept': 'common name'}, 'conflict', 'North African Campaign'], [{'concept': 'common name'}, 'military branch', 'Royal Air Force']]}
SELECT DISTINCT ?k WHERE { ?k property:conflict resource:North_African_Campaign . ?k property:military_branch resource:Royal_Air_Force . ?k rdf:type ontology:common_name }
[]
common name
Q180338
SYSTEM
Christopher Lee
Q180338
AND((c(Q502895),P607,Q218678), (c(Q502895),P241,Q165862))
action filter_type
action intersection
action find_reverse
entity Q218678
relation P607
action find_reverse
entity Q165862
relation P241
type Q502895
[ANSWER] was North African Campaign a part of and have Royal Air Force as the related army branch
{'AND': [[{'concept': 'Q502895'}, 'P607', 'Q218678'], [{'concept': 'Q502895'}, 'P241', 'Q165862']]}
SELECT DISTINCT ?k WHERE { ?k property:P607 resource:Q218678 . ?k property:P241 resource:Q165862 . ?k rdf:type ontology:Q502895 }
Christopher Lee
Christopher Lee was North African Campaign a part of and have Royal Air Force as the related army branch
Christopher Lee
action filter_type
action intersection
action find_reverse
entity North African Campaign
relation conflict
action find_reverse
entity Royal Air Force
relation military branch
type common name
{'AND': [[{'concept': 'common name'}, 'conflict', 'North African Campaign'], [{'concept': 'common name'}, 'military branch', 'Royal Air Force']]}
SELECT DISTINCT ?k WHERE { ?k property:conflict resource:North_African_Campaign . ?k property:military_branch resource:Royal_Air_Force . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q165862
P159
Q34442
USER
Which road is the head office of Royal Air Force ?
(Q165862,P159,c(Q34442))
action filter_type
action find
entity Q165862
relation P159
type Q34442
['Q165862', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?d WHERE { resource:Q165862 property:P159 ?d . ?d rdf:type ontology:Q34442 }
Royal Air Force
action filter_type
action find
entity Royal Air Force
relation headquarters location
type road
['Royal Air Force', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?d WHERE { resource:Royal_Air_Force property:headquarters_location ?d . ?d rdf:type ontology:road }
[]
road
Q214820
SYSTEM
Whitehall
Q214820
(Q165862,P159,c(Q34442))
action filter_type
action find
entity Q165862
relation P159
type Q34442
[ANSWER] is the head office of Royal Air Force
['Q165862', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?d WHERE { resource:Q165862 property:P159 ?d . ?d rdf:type ontology:Q34442 }
Whitehall
Whitehall is the head office of Royal Air Force
Whitehall
action filter_type
action find
entity Royal Air Force
relation headquarters location
type road
['Royal Air Force', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?d WHERE { resource:Royal_Air_Force property:headquarters_location ?d . ?d rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7721
P509
Q18123741
USER
What was the cause of death of Napoleon III ?
(Q7721,P509,c(Q18123741))
action filter_type
action find
entity Q7721
relation P509
type Q18123741
['Q7721', 'P509', {'concept': 'Q18123741'}]
SELECT DISTINCT ?j WHERE { resource:Q7721 property:P509 ?j . ?j rdf:type ontology:Q18123741 }
Napoleon III
action filter_type
action find
entity Napoleon III
relation cause of death
type infectious disease
['Napoleon III', 'cause of death', {'concept': 'infectious disease'}]
SELECT DISTINCT ?j WHERE { resource:Napoleon_III property:cause_of_death ?j . ?j rdf:type ontology:infectious_disease }
[]
infectious disease
Q183134
SYSTEM
sepsis
Q183134
(Q7721,P509,c(Q18123741))
action filter_type
action find
entity Q7721
relation P509
type Q18123741
The cause of death of Napoleon III was called [ANSWER]
['Q7721', 'P509', {'concept': 'Q18123741'}]
SELECT DISTINCT ?j WHERE { resource:Q7721 property:P509 ?j . ?j rdf:type ontology:Q18123741 }
sepsis
The cause of death of Napoleon III was called sepsis
sepsis
action filter_type
action find
entity Napoleon III
relation cause of death
type infectious disease
['Napoleon III', 'cause of death', {'concept': 'infectious disease'}]
SELECT DISTINCT ?j WHERE { resource:Napoleon_III property:cause_of_death ?j . ?j rdf:type ontology:infectious_disease }
[]