Back to Diploma Thesis Page

QUOGGLES - Example Query Illustrated

The next image illustrates a QUOGGLES query. To get more information on the separate parts of the query, point with the mouse on the region of interest.

The input is the small graph displayed to the left. The result of the query will be the sum of all node labels of this graph. To calculate this, a GetGraphElements_Box(Nodes) is used to filter all nodes from the input graph elements. The output of this box is shown as a pile of nodes. Those nodes are the input of the next box, a GetAttributeValue_Box(label) that retrieves the label from those nodes. The result is a list of six numbers. Pushing this list into the Arithmetic_Box(sum) yields the desired result as output.

This is a very simple and straightforward way of calculating the node label sum since it exactly follows the intuitive way of getting this result.

QUOGGLES queries in general can be much more powerful since they allow duplicating the data, more powerful boxes with several inputs and outputs and the ability to explore information inherent in graphs (like connections of two nodes with an edge).