Similar to your last question, the main countries were on 2 sides. United Kingdom, France, Germany, Austria-Hungary, the Ottoman Empire and Bulgaria on 1 side. Greece, Italy, Japan, Montenegro, Portugal, Romania, Russia and Serbia on the other.
The whole start of the war was when someone from Serbia killed the duke from Austria-Hungary. Serbia had a lot of friends to back them up, but so did Austria.