This is the second installment of "How Many Ways to Run Property Graph Query Language (PGQL) in BDSG?" In this blog, I am going to show how one can run PGQL and visualize results from Cytoscape, an open source network visualization tool. After running startCytoscape.sh (a script bundled in the latest Cytoscape visualization kit for BDSG v2.1 ), click File >> Load >> Property graph >> Connect to Oracle NoSQL Database (or Connect to Apache HBase Database), then click tab Start from PGQL. Alternatively, after establishing a connection to one of the supported backend graph databases, click the icon (located right under the menu bar) that looks like f(...). Either route leads to a pop-up window that looks like the one shown below.
In the above pop up window, one can type in a PGQL query, customize vertex/edge properties referenced by the PGQL query, and click on Execute button. Depending on the actual graph data, you may see something as follows.
NOTE: in the zip file (Oracle Big Data Spatial and Graph 2.1 Support for Cytoscape), there is a superfluous file named api-bundle-3.2.0.jar which should be removed for Cytoscape to function properly.