1: \begin{abstract}
2: Let $\Gamma$ be a finite graph and let $A(\Gamma)$ be the corresponding right-angled Artin group. From an arbitrary basis $\mathcal B$ of $H^1(A(\Gamma),\mathbb F)$ over an arbitrary field, we construct a natural graph $\Gamma_{\mathcal B}$ from the cup product,
3: called the \emph{cohomology basis graph}. We show that $\Gamma_{\mathcal B}$ always contains $\Gamma$ as a subgraph. This provides
4: an effective way to reconstruct the defining graph $\Gamma$ from the cohomology of $A(\Gamma)$,
5: to characterize the planarity of the defining graph from the algebra of $A(\Gamma)$,
6: and to recover many other natural graph-theoretic invariants.
7: We also investigate the behavior
8: of the cohomology basis graph under passage to elementary subminors, and show that it is not well-behaved under edge contraction.
9:
10: %There was a repetition of "effective" here that has been corrected. Moreover, I added "under contraction" at the end.
11: \end{abstract}
12: