Skip to main content

Run Queries

To see how a relationship is established between a user and an object, run a tuple query.

  1. Go to the Tuple Management page or choose the Query Tool panel in the right part of the screen.

    Image showings the query window

  2. There is a textbox below the header Query Tool where you can type the query.

    Image showing location of query tool text box

  3. The query is in the form "is x related to y as z?". This form of query will provide visualization on why the relationship exists between user and object. The query field supports queries in the form of:

    • "Is x related to y as z?"
    • "Who is related to y as z?"

The first type of query is of the form: "Is x related to y as z?". This form of query will provide visualization on why the relationship exists between user and object.

  1. In the query box, type "Is adam related to team:awesome as member?" and type Enter.

    Image showing query box question

  2. Successful queries will show visualization on how the relationship is established in the Query Tool panel. In addition, there is a green YES box in the panel.

    Image showing successful query

  3. Unsuccessful queries will be denoted with a red NO box in the Query Tool panel.

    Image showing unsuccessful query

The second type of query is of the form: "Who is related to y as z?". This form of query will provide visualization on who has a particular relationship with an object.

  1. In the query box, type "Who is related to team:awesome as member?" and type Enter.

    Image showing query box with question who

  2. A successful query will show visualization on all the users that have the relationship in the TUPLE QUERIES panel. As it can be seen, only adam and ben has member relationship with team:awesome.

    Image showing query box with question who with answer

Have Feedback?

You can use any of our support channels for any questions or suggestions you may have.