Using the Query Console

This topic applies to AWS CloudFormation (CFN), Docker, and Kubernetes deployments and provides instructions for logging in to and using the AnzoGraph Query console. The Query Console is available with AWS CloudFormation (CFN), Docker, and Kubernetes deployments. The Query Console is not currently available for RHEL/CentOS tarball deployments. For information about the Administration Console, see Using the Admin Console.

Logging in to the Query Console

Note The AnzoGraph console supports the latest Safari, Google Chrome, and Mozilla Firefox browsers. Microsoft Edge and Internet Explorer are not supported at this time.
  1. Depending on whether you deployed AnzoGraph using the Docker, Kubernetes with Helm, or AWS CloudFormation options, follow the appropriate instructions below to access the user interface:
    • Docker Desktop for Mac or Windows: You can use the Docker Dashboard to open the AnzoGraph container in a browser, or open a browser and go to the following URL:
      http://127.0.0.1

      If you specified a port other than 80 for the host HTTP port when you deployed AnzoGraph, include that port in the URL. For example, http://127.0.0.1:8888.

    • Docker on Linux: If you are accessing Docker on a remote Linux host, note the IP address of the host, and then open a browser and go to the following URL:
      https://host_IP_address

      If you mapped the container's HTTPS (8443) port to port 443 on the host when you deployed AnzoGraph, you do not need to specify a port. If you specified a port other than 443, include the port in the URL. For example, https://10.100.0.1:8888.

      NoteIf you are using Docker locally on a Linux machine and need to know the IP address of the AnzoGraph container, you can run the following command:
      sudo docker inspect container_name | grep '"IPAddress"' | head -n 1

      For example:

      sudo docker inspect anzograph | grep '"IPAddress"' | head -n 1
      "IPAddress": "172.17.0.2"
    • Kubernetes with Helm deployments: Using the AnzoGraph Cluster IP or External IP from the kubectl get service command, open a browser and go to the following URL:
      https://IP_address
    • AWS CloudFormation deployments: In the Outputs section of the Stack Detail screen, click an AnzoGraph endpoint URL (AnzoGraphURL) to open the AnzoGraph Console.

    Note: If you use the HTTPS endpoint, your browser may warn you that the connection is not private. The warning is normal behavior. AnzoGraph servers use self-signed certificates, and browsers automatically trust only the certificates from well-known certificate authorities. For more information about certificate warnings, see Security Certificate Errors on the DigiCert website. Depending on your browser, follow the appropriate instructions below to either bypass the warning and continue to the console or configure the browser to trust the certificate:

    • On Chrome, click the Advanced link at the bottom of the page and then click the Proceed to ip (unsafe) link.
    • On Safari, click the Show Details button and then click Visit Website to import the certificate.
    • On Firefox, click Advanced and then click Add Exception. On the next screen, click Add Security Exception to confirm the exception for the AnzoGraph endpoint.

    The browser displays the AnzoGraph log in screen.

  2. On the log in screen, type admin as the user name and Passw0rd1 as the password, and then click Sign In. The Query Console opens.

Running Queries in the Console

In the left-side navigation pane of the Query Console display, AnzoGraph shows two default queries, Count Statements and Total Statements. Count Statements returns a list of each named graph and the number of statements or triples in the graph. Total Statements returns the total number of statements in all named graphs. Click a query in the left navigation to open it in the main window. You can edit or overwrite the default queries, or you can click Add Query to create a new query from scratch. To run a query, click the Run button () at the top of the screen. The results display at the bottom of the screen.

Related Topics