Noun + と/に + 関係がある + Noun (attributive)
[sentence (plain)] + こと + と/に + 関係がある
関係がある (かんけいがある) expresses that something is related to, has a connection with, or is involved with something else. It combines the noun かんけい関係 (relationship/connection) with the verb ある (to exist), literally meaning "a relationship exists."
The most common patterns use the particles と or に to mark what something is related to:
Both と and に are used, though と emphasizes a mutual connection between two things, while に tends to mark the thing one is connected to.
To say something is not related or has nothing to do with something, use the negative form かんけい関係がない:
This negative form is very common in everyday conversation, often to deny involvement or relevance.
You can modify 関係がある with adverbs or adjectives to indicate the degree of connection:
Common modifiers include ぶかい深い (deep), おおきな大きな (significant), and なんか何か (some kind of).