Ox and Pig compatibility
Ox (Chou, 丑) and Pig (Hai, 亥): no named relation.
These are fixed relations among the twelve branches of the Chinese calendar, set out in the classic San Ming Tong Hui (三命通会), written in 1578, quoted below. They describe the signs, not two people: no classic gives a method for matching two people by their signs, so there is no score here.
What the book says
Ox and Pig have none of the relations: no harmony, clash, punishment, harm or break. The book has nothing to say about this pair in particular.
Their elements
The Ox is Earth and the Pig is Water: Earth controls Water.
San Ming Tong Hui’s section on the zodiac animals happens to name these two. It gives the element reasoning, and then asks why the real animals do not behave that way:
The Pig is the pig, the Goat the goat, the Ox the ox. If Earth overcomes Water, why do the ox and the goat not kill the pig?
亥,豕也,未,羊也,丑,牛也,土胜水,牛羊何不杀豕?
Matched by how their elements overcome each other, the creatures of the twelve branches do not correspond at all. Wherever blooded creatures master one another, even to eating one another, it comes down to sharp or blunt teeth and strong or weak sinews.
十二辰之禽以气性相克则尤不相应。大凡含血之虫相服,至于相啖食者,以齿牙钝利、筋力优劣自相胜服也。
San Ming Tong Hui, volume 2: On the animals of the branches (论地支属相) · source text
How much it counts
A sign is one character of the eight in a BaZi chart, the year’s branch. The book reads these relations between the pillars of one chart, and tells the reader to look at the whole chart’s elements first:
Clash and break, three harmony and six harmony: where a chart has them, ask next how its five elements get on. Misfortune may give rise to blessing, and blessing to misfortune.
相冲相破,三合六合,命中有之,即求五行相得何如。或祸中生福,福中生祸
San Ming Tong Hui, volume 3: On the symbolic stars as a whole (总论诸神煞) · source text
Birth years, and 2027
- Ox: 1925, 1937, 1949, 1961, 1973, 1985, 1997, 2009, 2021. In 2027, the Year of the Fire Goat (Ding Wei, 丁未), the Ox clashes with the year (Chong Tai Sui, 冲太岁) and is punished by the year (Xing Tai Sui, 刑太岁).
- Pig: 1935, 1947, 1959, 1971, 1983, 1995, 2007, 2019. In 2027, the Year of the Fire Goat (Ding Wei, 丁未), the Pig is in harmony with the year (San He, 三合).
A sign’s year is usually counted from Chinese New Year, between late January and mid-February; BaZi counts it from the Start of Spring, about 4 February. Born in January or early February? You may be the sign before: the sign pages check your date.
Two real people?
Each person’s chart has eight characters, and the same relations run between all of them, not only the two signs. The two-chart page sets both charts side by side, branch by branch, and gives what each chart says about marriage on its own. No score there either.
Ox with the other signs: Rat · Ox · Tiger · Rabbit · Dragon · Snake · Horse · Goat · Monkey · Rooster · Dog.
Pig with the other signs: Rat · Tiger · Rabbit · Dragon · Snake · Horse · Goat · Monkey · Rooster · Dog · Pig.