For simplicity and generalization consideration, we use the string match in our model for knowledge extraction.
for each triplet t ∈ G where the head and tail of t are both lists of words, if its head is the same as the string of s, we consider it to be a related triplet.