1. A method of inferring a relationship between a first query and a second query, the method comprising: accessing a first attribute of a first item retrieved from the first query; accessing a second attribute of a second item retrieved from the second query; identifying, a hardware processor, a further relationship between the first attribute and the second attribute; relating the first query to the second query based on the identifying of the further relationship between the first attribute and the second attribute; and assigning a weight to the relationship between the first query and the second query that is derived from a weight assigned to the first attribute and a weight assigned to the second attribute.