Template:Married second cousin test

If the person and spouse share a common great-grandparent, then autocat as Category:Married second cousin