---
title: "MilitaryConflict"
language: "en"
type: "Entity"
summary: "Wars, battles and other historical conflicts."
canonical_url: "https://reference.wolfram.com/language/ref/entity/MilitaryConflict.html"
source: "Wolfram Language Documentation"
related_guides: 
  - 
    title: "Entity Types"
    link: "https://reference.wolfram.com/language/guide/EntityTypes.en.md"
related_functions: 
  - 
    title: "MilitaryConflict"
    link: "https://reference.wolfram.com/language/ref/textcontent/MilitaryConflict.en.md"
---
# MilitaryConflict

Wars, battles and other historical conflicts.

Entity["MilitaryConflict", name] or Entity[...] represents an entity of type "MilitaryConflict".

Entity[...][prop] gives the value of a specified property.

Entity[...][{propi, …}] gives the value of a list of properties.

Entity[...][prop, {quali -> vali, …}] gives the value of a specified property modified by qualifier rules quali -> vali.

Entity[...][Dated[prop, date]] gives the value of a property associated with a particular date specification.

EntityClass["MilitaryConflict", {propi -> speci, …}] represents a class of entities with values of propi defined by speci.

## Sample Entities

* Entity["MilitaryConflict", "1851ChileanRevolution"]Entity["MilitaryConflict", "AustralianOccupationOfGermanNewGuinea"]Entity["MilitaryConflict", "BattleAtTheLizard"]Entity["MilitaryConflict", "BattleOfArnhem"]Entity["MilitaryConflict", "BattleOfNewOrleans"]Entity["MilitaryConflict", "BattleOfQichun"]Entity["MilitaryConflict", "BattleOfSmithfieldCrossing"]Entity["MilitaryConflict", "BattleOfTysami"]Entity["MilitaryConflict", "EinArikCheckpointAttack"]Entity["MilitaryConflict", "IsraeliteArameanWar"]**…**

## Properties

|                                 |                              |
| ------------------------------- | ---------------------------- |
| AllActors                       | all actors                   |
| AllSubconflicts                 | all subconflicts             |
| Battles                         | battle                       |
| CasualtiesCivilianPrisoners     | civilian prisoners           |
| CasualtiesCiviliansKilled       | civilians killed             |
| CasualtiesCiviliansWounded      | civilians wounded            |
| CasualtiesKilled                | military killed              |
| CasualtiesMissingInAction       | missing in action            |
| CasualtiesPrisonersOfWar        | prisoners of war             |
| CasualtiesWounded               | military wounded             |
| CivilianCasualties              | civilian casualties          |
| Commanders                      | commanders                   |
| Coordinates                     | coordinates                  |
| EndDate                         | end date                     |
| EntityClasses                   | entity classes               |
| EntityTypeList                  | entity type list             |
| ForcesAircraft                  | aircraft                     |
| ForcesArtillery                 | artillery                    |
| ForcesCavalry                   | cavalry                      |
| ForcesCivilianForces            | civilian forces              |
| ForcesFortifications            | fortifications               |
| ForcesInfantry                  | infantry                     |
| ForcesMilitaryForces            | military forces              |
| ForcesShips                     | ships                        |
| ForcesTanks                     | tanks                        |
| ForcesTroops                    | troops                       |
| ForcesVehicles                  | vehicles                     |
| ForcesWarElephants              | war elephants                |
| Location                        | location                     |
| LossesAircraftCaptured          | aircraft captured            |
| LossesAircraftDamaged           | aircraft damaged             |
| LossesAircraftDestroyed         | aircraft destroyed           |
| LossesArtilleryCaptured         | artillery captured           |
| LossesArtilleryDamaged          | artillery damaged            |
| LossesArtilleryDestroyed        | artillery destroyed          |
| LossesBuildingsCaptured         | buildings captured           |
| LossesBuildingsDamaged          | buildings damaged            |
| LossesBuildingsDestroyed        | buildings destroyed          |
| LossesShipsCaptured             | ships captured               |
| LossesShipsDamaged              | ships damaged                |
| LossesShipsDestroyed            | ships destroyed              |
| LossesTanksAndVehiclesCaptured  | tanks and vehicles captured  |
| LossesTanksAndVehiclesDamaged   | tanks and vehicles damaged   |
| LossesTanksAndVehiclesDestroyed | tanks and vehicles destroyed |
| MainActors                      | main actors                  |
| MilitaryCasualties              | military casualties          |
| Name                            | name                         |
| OutcomeNotes                    | outcome notes                |
| ParentConflict                  | parent conflict              |
| Position                        | position                     |
| StartDate                       | start date                   |
| Subconflicts                    | subconflicts                 |

## Details

* ``"MilitaryConflict"`` entities include major wars, battles, military operations, campaigns, theatres of war and other conflicts.

* Some properties in ``"MilitaryConflict"`` (such as ``"Casualties"`` or ``"Commanders"``) return a list of values that correspond to the list of combatants returned by the property ``"MainActors"``. In cases where no information is available, the result is a list of ``Missing`` values equal to the number of participants in the conflict.

The property ``"Subconflicts"`` returns conflicts considered to be direct subparts of the specified entity. 

The property ``"AllSubconflicts"`` lists the subconflicts at all levels below the specified entity.

The property ``"Battles"`` includes only members of ``"AllSubconflicts"`` that have no subconflicts themselves.

* Some properties are available for the ``"MilitaryConflict"`` entity type as a whole and can be given using the form ``EntityValue["MilitaryConflict", property]``. Such properties include:

|                               |                                                                    |
| ----------------------------- | ------------------------------------------------------------------ |
| "Properties"                  | the list of available properties                                   |
| "PropertyCanonicalNames"      | the standard names of available properties                         |
| "SampleEntities"              | a sample list of available entities (typically of length 10)       |
| "SampleEntityClasses"         | a sample list of available entity classes (typically of length 10) |
| "EntityCount"                 | number of entities available                                       |
| "Entities"                    | the list of available entities                                     |
| "EntityCanonicalNames"        | the standard names of available entities                           |
| "EntityClasses"               | the list of available entity classes                               |
| "EntityClassCanonicalNames"   | the standard names of available entity classes                     |
| "PropertyClasses"             | the list of available property classes                             |
| "PropertyClassCanonicalNames" | the standard names of available property classes                   |
| "PropertyCount"               | number of properties available                                     |

* The following annotations can be used in the third argument of ``EntityValue["MilitaryConflict", property, annotation]`` :

|     |     |
| --- | --- |
| "Source" | source information for the property |
| "Date" | the date associated with the entity-property value (if any) |
| "EntityAssociation" | an association of entities and entity-property values |
| "PropertyAssociation" | an association of properties and entity-property values |
| "EntityPropertyAssociation" | an association in which the specified entities are keys, and values are a nested association of properties and entity-property values |
| "PropertyEntityAssociation" | an association in which the specified properties are keys, and values are a nested association of entities and entity-property values |
| "Dataset" | a dataset in which the specified entities are keys, and values are an association of property names and entity-property values |

* The following annotations can be used in the second argument of ``EntityValue[property, annotation]`` :

|                          |                                                                 |
| ------------------------ | --------------------------------------------------------------- |
| "Qualifiers"             | the list of possible qualifiers for the property                |
| "QualifierValues"        | the list of possible values that can be given to each qualifier |
| "DefaultQualifierValues" | the list of default values for the property's qualifiers        |
| "Description"            | a brief textual description of the property                     |
| "Definition"             | a detailed textual definition of the property                   |
| "PhysicalQuantity"       | the physical quantity associated with the entity-property value |
| "Unit"                   | the unit associated with the entity-property value              |

* A qualifier value of ``Automatic`` indicates that an applicable format of values can be used; e.g. for the ``"Date"`` qualifier, this includes a proper date or date span.

---

## Examples (4)

### Basic Examples (4)

Use ctrl+= for entity discovery:

```wl
In[1]:= \[FreeformPrompt]["palatine succession war"]

Out[1]= Entity["MilitaryConflict", "NineYearsWar"]
```

---

Find a property value for an entity:

```wl
In[1]:= Entity["MilitaryConflict", "BattleOfArnhem"]["MainActors"]

Out[1]= {{Entity["HistoricalCountry", "UnitedKingdom"], Entity["HistoricalCountry", "RepublicPoland"]}, {Entity["HistoricalCountry", "NaziGermany"]}}
```

---

Retrieve a dataset of all available properties for an entity:

```wl
In[1]:= \[FreeformPrompt]["Battle of Hue"]["Dataset"]

Out[1]=
Dataset[Association[EntityProperty["MilitaryConflict", "AllActors"] -> 
   {{Entity["HistoricalCountry", "UnitedStates"], Entity["HistoricalCountry", "SouthVietnam"]}, 
    {Entity["HistoricalCountry", "NorthVietnam"], "Viet Cong"}}, 
  EntityPrope ... y["MilitaryConflict", "Position"] -> 
   GeoPosition[{16.47525, 107.576}], EntityProperty["MilitaryConflict", "StartDate"] -> 
   DateObject[{1968, 1, 30}, "Day"], EntityProperty["MilitaryConflict", "Subconflicts"] -> 
   Missing["NotAvailable"]]]
```

---

Find all conflicts that were a part of the New Guinea Campaign in World War II:

```wl
In[1]:= EntityClass["MilitaryConflict", "ParentConflict" -> MemberQ@Entity["MilitaryConflict", "NewGuineaCampaign"]]//EntityList

Out[1]= {Entity["MilitaryConflict", "AdmiraltyIslandsCampaign"], Entity["MilitaryConflict", "BattleOfBuna-Gona"], Entity["MilitaryConflict", "BattleOfGoodenoughIsland"], Entity["MilitaryConflict", "BattleOfMilneBay"], Entity["MilitaryConflict", "BattleOfRa ... Entity["MilitaryConflict", "LandingOnEmirau"], Entity["MilitaryConflict", "NewBritainCampaign"], Entity["MilitaryConflict", "OperationIGo"], Entity["MilitaryConflict", "SalamauaLaeCampaign"], Entity["MilitaryConflict", "WesternNewGuineaCampaign"]}
```

## See Also

* [`MilitaryConflict`](https://reference.wolfram.com/language/ref/textcontent/MilitaryConflict.en.md)

## Related Guides

* [Entity Types](https://reference.wolfram.com/language/guide/EntityTypes.en.md)

## History

* [Introduced in 2019 (12.0)](https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn120.en.md)