The simplest approach is to define a vector of a relational pattern in which an element in the vector presents the cooccurrence frequency between a pattern and an entity pair.
the use of raw frequency counts may be inappropriate when some entity pairs cooccur with a number of patterns.