Oracle Big Data Spatial and Graph - technical tips, best practices, and news from the product team

How Many Ways to Run Property Graph Query Language (PGQL) in BDSG? (II)

Alan Wu

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 [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.



[1]  http://www.oracle.com/technetwork/database/database-technologies/bigdata-spatialandgraph/downloads/bdsp-downloads-2562575.html

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.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha