1. A method of generating a query, the method comprising: receiving a representation of a first query item, the first query item being a data structure belonging to a data set and having at least one attribute; receiving a representation of a second query item, the second query item being an anchor query item type of data structure defined as relating to at least one particular attribute of another query item; receiving an indication of a user selectively positioning one of a user interface (UI) element representation of the first query item and a user interface (UI) element representation of the second query item in proximate location to the representation of the other UI element representation of the first query item and the second query item in a visio-spatial user interface, the visio-spatial user interface including a display of both the UI element representation of the first query item and the UI element representation of the second query item; associating, by a processor, the second query item with the first query item; automatically retrieving, in response to the second query item being associated with the first query item, a value for the at least one particular attribute of the second query item defined as relating to another query item from the first query item; generating, by the processor, query search terms including a combination of the retrieved value and the second query item; and saving a record of the query search terms.