Finding pages on the Web that are similar to a query page is an important component of modern search engines. Especially recognition method of content about Web pages is important role in search engine. However, if Web page include query words, it does not necessarily mean that Web page describe query. The main challenge here is identification factors that affect the relationship between query and text. In this paper we tried generation and assigning relationship names between query and text. We call descriptive element as relationship name. Experimental results shows low precision. But we found that if we want to see high precision value, assigning method should not constructed only keywords matching. It need to identify themes of text and extract part of text for that the theme corresponds to query.